-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
Using the kitchensink jsp example:
[standalone@localhost:9990 /] /deployment=*/subsystem=jpa:read-resource(recursive=true,include-runtime=true) { "outcome" => "failed", "result" => [{ "address" => [ ("deployment" => "jboss-as-kitchensink-jsp.war"), ("subsystem" => "jpa") ], "outcome" => "failed", "rolled-back" => true }], "rolled-back" => true }
reveals (server.log):
13:31:14,221 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 7) JBAS014612: Operation ("read-attribute") failed - address: ([ ("deployment" => "jboss-as-kitchensink-jsp.war"), ("subsystem" => "jpa"), ("hibernate-persistence-unit" => "jboss-as-kitchensink-jsp.war#primary"), ("entity-cache" => "org.jboss.as.quickstarts.kitchensinkjsp.model.Member") ]): java.lang.NullPointerException at org.jboss.as.jpa.hibernate4.management.HibernateEntityCacheStatistics$6.invoke(HibernateEntityCacheStatistics.java:136) at org.jboss.as.jpa.hibernate4.management.HibernateAbstractStatistics.getValue(HibernateAbstractStatistics.java:99) at org.jboss.as.jpa.management.ManagementResourceDefinition$1.handle(ManagementResourceDefinition.java:118) at org.jboss.as.jpa.management.ManagementResourceDefinition$AbstractMetricsHandler.executeRuntimeStep(ManagementResourceDefinition.java:256)