RQM have error after deleting Adapter and Lab resources
Hi,
i deleted Adapter,lab resource and adapter configuration file. Then I registered the adapter again.
After these steps i have error in qm.log:
2012-02-15 10:24:07,556 WARN com.ibm.rqm.integration - Unhandled Exception
java.lang.NullPointerException
at com.ibm.rqm.execution.service.internal.rest.ToolAdapterRegistrationRestService.deleteAdapterFromLM(ToolAdapterRegistrationRestService.java:326)
at com.ibm.rqm.execution.service.internal.rest.ToolAdapterRegistrationRestService.postReregister(ToolAdapterRegistrationRestService.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy657.postReregister(Unknown Source)
at com.ibm.rqm.execution.service.integration.jaxb.ToolAdapterPutHandler.unmarshal(ToolAdapterPutHandler.java:122)
at com.ibm.rqm.execution.service.integration.jaxb.ToolAdapterPutHandler.unmarshal(ToolAdapterPutHandler.java:1)
at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPutHandler.java:116)
at com.ibm.rqm.integration.handler.AbstractPostHandler.handle(AbstractPostHandler.java:48)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy805.handle(Unknown Source)
at com.ibm.rqm.integration.service.internal.IntegrationService.handleRequest(IntegrationService.java:489)
at com.ibm.rqm.integration.service.internal.IntegrationService.perform_PUT(IntegrationService.java:187)
at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:94)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy673.service(Unknown Source)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:823)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1866)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1725)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:434)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:250)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Thanks for your advice!
i deleted Adapter,lab resource and adapter configuration file. Then I registered the adapter again.
After these steps i have error in qm.log:
2012-02-15 10:24:07,556 WARN com.ibm.rqm.integration - Unhandled Exception
java.lang.NullPointerException
at com.ibm.rqm.execution.service.internal.rest.ToolAdapterRegistrationRestService.deleteAdapterFromLM(ToolAdapterRegistrationRestService.java:326)
at com.ibm.rqm.execution.service.internal.rest.ToolAdapterRegistrationRestService.postReregister(ToolAdapterRegistrationRestService.java:229)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy657.postReregister(Unknown Source)
at com.ibm.rqm.execution.service.integration.jaxb.ToolAdapterPutHandler.unmarshal(ToolAdapterPutHandler.java:122)
at com.ibm.rqm.execution.service.integration.jaxb.ToolAdapterPutHandler.unmarshal(ToolAdapterPutHandler.java:1)
at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPutHandler.java:116)
at com.ibm.rqm.integration.handler.AbstractPostHandler.handle(AbstractPostHandler.java:48)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy805.handle(Unknown Source)
at com.ibm.rqm.integration.service.internal.IntegrationService.handleRequest(IntegrationService.java:489)
at com.ibm.rqm.integration.service.internal.IntegrationService.perform_PUT(IntegrationService.java:187)
at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:94)
at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy673.service(Unknown Source)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:823)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1866)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1725)
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:307)
at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:434)
at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:250)
at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:259)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:939)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3935)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1784)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Thanks for your advice!
9 answers
Here is the errors from file SystemOut:
00000015 SystemOut O 2012-02-15 10:20:24,270 RQM ERROR com.ibm.rqm.execution - Error creating feed entry. This entry has not been included in the feed: instructions UUID: _nAz64W_yEeCTCKDDcHbSCA
com.ibm.team.repository.common.StaleDataException: CRJAZ0322I 1 0 "com.ibm.rqm.execution.common.model.impl.ToolAdapterHealthImpl@6ed46ed4 (stateId: , itemId: , origin: <unset>, immutable: true) (contextId: , modified: 2012-02-15 10:20:24.239, workingCopy: <unset>) (predecessor: ) (lastHeartBeat: 1329286824239)".
at com.ibm.team.repository.service.internal.dataaccess.AbstractRow.oneOrStaleData(AbstractRow.java:320)
00000015 SystemOut O 2012-02-15 10:20:24,270 RQM ERROR com.ibm.rqm.integration.service - class com.ibm.rqm.integration.handler.AbstractGetHandler:handleResourceRequest AQXLM5002E RTLM: {0}
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:352)
at com.ibm.rqm.integration.handler.AbstractGetHandler.handleResourceRequest(AbstractGetHandler.java:484)
at com.ibm.rqm.integration.handler.AbstractGetHandler.handle(AbstractGetHandler.java:273)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
00000015 SystemOut O 2012-02-15 10:20:24,270 RQM ERROR com.ibm.rqm.execution - Error creating feed entry. This entry has not been included in the feed: instructions UUID: _nAz64W_yEeCTCKDDcHbSCA
com.ibm.team.repository.common.StaleDataException: CRJAZ0322I 1 0 "com.ibm.rqm.execution.common.model.impl.ToolAdapterHealthImpl@6ed46ed4 (stateId: , itemId: , origin: <unset>, immutable: true) (contextId: , modified: 2012-02-15 10:20:24.239, workingCopy: <unset>) (predecessor: ) (lastHeartBeat: 1329286824239)".
at com.ibm.team.repository.service.internal.dataaccess.AbstractRow.oneOrStaleData(AbstractRow.java:320)
00000015 SystemOut O 2012-02-15 10:20:24,270 RQM ERROR com.ibm.rqm.integration.service - class com.ibm.rqm.integration.handler.AbstractGetHandler:handleResourceRequest AQXLM5002E RTLM: {0}
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:352)
at com.ibm.rqm.integration.handler.AbstractGetHandler.handleResourceRequest(AbstractGetHandler.java:484)
at com.ibm.rqm.integration.handler.AbstractGetHandler.handle(AbstractGetHandler.java:273)
at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
Appears to be a defect. Can you reproduce the symptom.
1) Delete RFT agent from RQM
2) Delete lab resource from RQM (it was linked to that adapter)
3) Delete C:\document and settings\all users\Application Data\IBM\RQMConnectivity and remove the file rqmadapter.
C:\document and settings\<username>\Application Data\IBM\RFT and remove the file RQMadapterOptions.pref and rational_ft.pref files.
4) configure adapter and try to connect to RQM
After all that steps I received "Reconnecting server" message in adapter log.(every few seconds)
I also had some disconnected adapters from another computers.
After connecting "problem" adapter they was set to "green" status in adapter console. The problem adapter status sets to "yellow".
Hello,
I've encountered the same problem. RQM couldn't see the RFT adapter. It didn't show anything. Not even a red light showing a bad health.
I think this is due to RQM Machine creation in the Lab Manager but am not sure.
However, the tip worked for me. I deleted the files
RQMAdapterOptions.pref, rational_ft.pref and rqmadapter.ini
and it worked perfectly again.
So thank you for your help
Sany
I've encountered the same problem. RQM couldn't see the RFT adapter. It didn't show anything. Not even a red light showing a bad health.
I think this is due to RQM Machine creation in the Lab Manager but am not sure.
However, the tip worked for me. I deleted the files
RQMAdapterOptions.pref, rational_ft.pref and rqmadapter.ini
and it worked perfectly again.
So thank you for your help
Sany
Hello,
I've encountered the same problem. RQM couldn't see the RFT adapter. It didn't show anything. Not even a red light showing a bad health.
I think this is due to RQM Machine creation in the Lab Manager but am not sure.
However, the tip worked for me. I deleted the files
RQMAdapterOptions.pref, rational_ft.pref and rqmadapter.ini
and it worked perfectly again.
So thank you for your help
Sany
Hello i tried it and it doesn't work.
It isworks earlier in rqm 2.X and rqm 3.0.1.