http://jira.hyperic.com/browse/HHQ-4034
Steps to Reproduce
Agent is running on vCenter Client
Install a New agent on VM that is under vCenter
Start the agent
Login to HQ
Agent appears in AI queue
Click Add to Inventory
Actual Results:
Error in UI
Unable to import platform : java.rmi.ServerException: RuntimeException; nested exception is: org.hyperic.hq.common.SystemException: javax.ejb.TransactionRolledbackLocalException: No row with the given identifier exists: [org.hyperic.hq.autoinventory.AIIp#13349]
Server log error:
2010-06-03 17:19:57,079 ERROR [http-0.0.0.0-7080-20] [org.jboss.ejb.plugins.LogInterceptor@308] TransactionRolledbackLocalException in method:
public abstract java.util.List org.hyperic.hq.appdef.shared.AIQueueManagerLocal.processQueue(org.hyperic.hq.authz.server.session.AuthzSubject
,java.util.List,java.util.List,java.util.List,int) throws javax.ejb.FinderException,org.hyperic.hq.authz.shared.PermissionException,org.hyperi
c.hq.appdef.shared.ValidationException,javax.ejb.RemoveException,org.hyperic.hq.appdef.shared.AIQApprovalException, causedBy:
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.hyperic.hq.autoinventory.AIIp#13349]
at org.hyperic.hq.appdef.server.session.AIQueueManagerEJBImpl._processQueue(AIQueueManagerEJBImpl.java:597)
at org.hyperic.hq.appdef.server.session.AIQueueManagerEJBImpl.processQueue(AIQueueManagerEJBImpl.java:479)
at sun.reflect.GeneratedMethodAccessor2916.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:576)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:657)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNextBoth(HQApp.java:576)
at org.hyperic.hq.application.HQApp$Snatcher.invokeNext(HQApp.java:657)
at org.hyperic.txsnatch.TxSnatch.invoke(TxSnatch.java:71)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy285.processQueue(Unknown Source)
Anonymous