JBoss ON plugin tries to find resources by "probing" for them - that is it basically sends a :read-resource to /a=b/b=c/.. in the domain management model. When doing this, the following NPE shows up: 17:27:19,733 ERROR [org.jboss.as.controller.management-operation] (HttpManagementService-threads - 25) JBAS014612: Operation ("read-attribute") fehlgeschlagen - Adresse: ([ {"subsystem" => "infinispan"}, {"cache-container" => "local"}, {"local-cache" => "default"} ]): java.lang.NullPointerException at org.jboss.as.clustering.infinispan.subsystem.CacheMetricsHandler.executeRuntimeStep(CacheMetricsHandler.java:156) at org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:90) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1] at org.jboss.as.controller.AbstractOperationContext.completeStep(AbstractOperationContext.java:211) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1] at org.jboss.as.controller.ModelControllerImpl$DefaultPrepareStepHandler.execute(ModelControllerImpl.java:473) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:397) [jboss-as-controller-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:284) [jboss-as-controller-7.1.
Created attachment 603252 [details] as7 management client performing the erroneous operation
I couldn't reproduce for neither JDG 6.0.0.GA nor JDG 6.0.1.ER1 using the attached code, can you please specify exact operation parameters that cause the NPE ?
IS this a valid bug? Moving from target milestone ER2 to unspecified. Retriage with input from mlinhard and ttarrant on/before 22-Aug.
Ping Heiko for more information on the testing.
Sorry, I can't recall what I was doing at that time. I think looking at the source at the specific address should show if a NPE is possible or not. If not, then this has been fixed and you can just close the issue.
*** Bug 851251 has been marked as a duplicate of this bug. ***