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
Note, that I can't reproduce it on purpose.
*** This bug has been marked as a duplicate of bug 850572 ***