Bug 727201 - NPE in RHQ Agent log trying to interact with down AS5 resource
NPE in RHQ Agent log trying to interact with down AS5 resource
Status: NEW
Product: RHQ Project
Classification: Other
Component: Agent (Show other bugs)
All All
medium Severity low (vote)
: ---
: ---
Assigned To: RHQ Project Maintainer
Mike Foley
Depends On:
  Show dependency treegraph
Reported: 2011-08-01 10:28 EDT by Mike Foley
Modified: 2011-10-07 14:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
RHQ Agent Log (219.64 KB, application/octet-stream)
2011-08-01 10:28 EDT, Mike Foley
no flags Details

  None (edit)
Description Mike Foley 2011-08-01 10:28:01 EDT
Created attachment 516152 [details]
RHQ Agent Log

Description of problem:  NPE in RHQ Agent log trying to interact with down AS5 resource.  Negative test.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.  AS5 installed and inventoried.  but AS5 is not started.
2.  start agent.
3.  review agent log.
Actual results:

Expected results:
should never throw NPEs.  

Additional info:
2011-08-01 09:45:15,213 ERROR [ResourceContainer.invoker.daemon-2] (org.rhq.plugins.jbossas5.ApplicationServerComponent)- Failed to obtain metric 'MCBean|ServerConfig|*|partitionName'.
	at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSimplePropertyValue(ManagedComponentUtils.java:67)
	at org.rhq.plugins.jbossas5.ApplicationServerComponent.getMetric(ApplicationServerComponent.java:562)
	at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:249)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:537)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)

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