Bug 837362 - NPE on console
Summary: NPE on console
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: unspecified
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: CR1
: 6.0.1
Assignee: Tristan Tarrant
QA Contact: Michal Linhard
URL:
Whiteboard:
: 851251 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-03 15:44 UTC by Heiko W. Rupp
Modified: 2014-03-17 04:02 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-22 13:18:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
as7 management client performing the erroneous operation (4.22 KB, application/zip)
2012-08-09 12:50 UTC, Michal Linhard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 825818 0 urgent CLOSED [jdg] Duplicate infinspan resource 2021-02-22 00:41:40 UTC

Internal Links: 825818

Description Heiko W. Rupp 2012-07-03 15:44:34 UTC
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.

Comment 1 Michal Linhard 2012-08-09 12:50:15 UTC
Created attachment 603252 [details]
as7 management client performing the erroneous operation

Comment 2 Michal Linhard 2012-08-09 12:52:09 UTC
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 ?

Comment 3 mark yarborough 2012-08-15 13:31:40 UTC
IS this a valid bug? Moving from target milestone ER2 to unspecified. Retriage with input from mlinhard and ttarrant on/before 22-Aug.

Comment 4 mark yarborough 2012-08-16 13:02:43 UTC
Ping Heiko for more information on the testing.

Comment 5 Heiko W. Rupp 2012-08-16 14:55:47 UTC
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.

Comment 6 Tristan Tarrant 2012-08-29 13:15:58 UTC
*** Bug 851251 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.