History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-1065
Type: Bug Bug
Status: Integrated Integrated
Resolution: Fixed
Priority: Major Major
Assignee: John Mazzitelli
Reporter: John Mazzitelli
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

NPE in EmbeddedJMXServerDiscoveryComponent

Created: 05/Nov/08 11:58 PM   Updated: 16/Dec/08 03:33 PM
Component/s: Plugins
Affects Version/s: 1.1
Fix Version/s: 1.2

Time Tracking:
Not Specified

Resolution Date: 13/Dec/08 12:06 AM
Date of First Response: 06/Nov/08 04:15 AM
VCS Revision: 2,357


 Description  « Hide
2008-11-05 23:54:06,641 WARN [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Failed to execute runtime discovery for Resources of type ResourceType[id=0, category=Server, name=JBoss AS JVM, plugin=JBossAS]
java.lang.NullPointerException
        at org.rhq.plugins.jmx.EmbeddedJMXServerDiscoveryComponent.discoverResources(EmbeddedJMXServerDiscoveryComponent.java:60)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.executeComponentDiscovery(RuntimeDiscoveryExecutor.java:246)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.discoverForResource(RuntimeDiscoveryExecutor.java:218)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.runtimeDiscover(RuntimeDiscoveryExecutor.java:136)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:97)
        at org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor.call(RuntimeDiscoveryExecutor.java:54)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Heiko W. Rupp - 06/Nov/08 04:15 AM
Are you running with native turned off?

John Mazzitelli - 13/Dec/08 12:06 AM
yes, I probably did not have native enabled. fixed this NPE by checking to see if the native process was null or not. if null, skip the processing.