Bug 850527 - NPE in Drift after import of plugins
Summary: NPE in Drift after import of plugins
Keywords:
Status: CLOSED DUPLICATE of bug 850572
Alias: None
Product: RHQ Project
Classification: Other
Component: drift
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-21 18:40 UTC by Heiko W. Rupp
Modified: 2012-08-27 15:24 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-08-27 15:24:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Heiko W. Rupp 2012-08-21 18:40:12 UTC
Imported a cron server type (and others) got this on console:

14:30:20,979 WARN  [DiscoveryBossBean] Could not perform commit synchronization with agent for server [Cron]
java.lang.RuntimeException: java.lang.NullPointerException
	at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1145)
	at org.rhq.core.pc.inventory.InventoryManager.synchronizeInventory(InventoryManager.java:2188)
	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:601)
	at org.rhq.enterprise.communications.command.impl.remotepojo.server.RemotePojoInvocationCommandService.execute(RemotePojoInvocationCommandService.java:184)

	at $Proxy0.execute(Unknown Source)
	at org.rhq.enterprise.communications.command.server.CommandProcessor.handleIncomingInvocationRequest(CommandProcessor.java:290)
	at org.rhq.enterprise.communications.command.server.CommandProcessor.invoke(CommandProcessor.java:184)
	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:809)
Caused by: java.lang.NullPointerException
	at org.rhq.enterprise.server.drift.DriftServerServiceImpl.getDriftDefinitions(DriftServerServiceImpl.java:93)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
14:30:21,026 WARN  [DiscoveryBossBean] Could not perform commit synchronization with agent for server [pattern]
java.lang.RuntimeException: java.lang.NullPointerException
	at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1145)
	at org.rhq.core.pc.inventory.InventoryManager.synchronizeInventory(InventoryManager.java:2188)

Caused by: java.lang.NullPointerException
	at org.rhq.enterprise.server.drift.DriftServerServiceImpl.getDriftDefinitions(DriftServerServiceImpl.java:93)


and so on

Comment 1 Heiko W. Rupp 2012-08-21 18:44:06 UTC
Note, that I can't reproduce it on purpose.

Comment 2 Heiko W. Rupp 2012-08-27 15:24:11 UTC

*** This bug has been marked as a duplicate of bug 850572 ***


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