RQM -> RTC Cross Communication Failing
Hi,
I am trying to work out why RQM -> RTC cross communication has started to fail as up until a few weeks ago it was working and there hasn't been any configuration changes.
Both RQM and RTC are running on the same server and both are version 4.0.0.1.
Looking at the qm.log file I see the following:
2013-04-04 00:01:28,447 [ qm: AsynchronousTaskRunner-1] INFO com.ibm.rqm.buildintegration.service - com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector:syncTeamConcertConnection AQXIN0005I Begin to sync build information with Team Concert instance at https://x.xxx.x.xxx:9443/jazz.
2013-04-04 00:01:29,627 [ qm: AsynchronousTaskRunner-1] ERROR com.ibm.rqm.buildintegration - CRJAZ1451I An exception occurred while executing the task "rtcBuildInformationCollector", contributed by component "com.ibm.rqm.buildintegration". The task will be rescheduled.
java.lang.NullPointerException
at com.ibm.rqm.buildintegration.service.rest.internal.BuildProviderTypeRestService.toRecordStateDTO(BuildProviderTypeRestService.java:58)
at sun.reflect.GeneratedMethodAccessor500.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1483.toRecordStateDTO(Unknown Source)
at com.ibm.rqm.buildintegration.service.rest.internal.BuildIntegrationRestService.toBuildDefinitionDTO(BuildIntegrationRestService.java:209)
at com.ibm.rqm.buildintegration.service.rest.internal.BuildIntegrationRestService$1.run(BuildIntegrationRestService.java:788)
at com.ibm.rqm.common.service.internal.BucketLockService$1.run(BucketLockService.java:65)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService$3.run(PrimitiveTransactionService.java:176)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:500)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:324)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:381)
at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy110.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:320)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:275)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:110)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:105)
at sun.reflect.GeneratedMethodAccessor394.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy181.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:37)
at sun.reflect.GeneratedMethodAccessor454.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy347.runInTransaction(Unknown Source)
at com.ibm.rqm.common.service.internal.BucketLockService.runInTransaction(BucketLockService.java:59)
at com.ibm.rqm.common.service.internal.BucketLockService.runInTransactionS(BucketLockService.java:167)
at com.ibm.rqm.common.service.internal.BucketLockService.runInTransactionSWithRetry(BucketLockService.java:174)
at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1274.runInTransactionSWithRetry(Unknown Source)
at com.ibm.rqm.buildintegration.service.rest.internal.BuildIntegrationRestService.postSyncBuildInformationFromRTCConnection(BuildIntegrationRestService.java:767)
at sun.reflect.GeneratedMethodAccessor554.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1485.postSyncBuildInformationFromRTCConnection(Unknown Source)
at com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector.syncTeamConcertConnection(RTCBuildInformationCollector.java:103)
at com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector.runTask(RTCBuildInformationCollector.java:86)
at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:89)
at sun.reflect.GeneratedMethodAccessor386.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1486.executeTask(Unknown Source)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:136)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:99)
at java.lang.Thread.run(Thread.java:736)
2013-04-04 00:03:29,632 [ qm: AsynchronousTaskRunner-2] INFO com.ibm.rqm.buildintegration.service - com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector:runTask AQXIN0003I RTC build auto task started, taskId rtcBuildInformationCollector.
2013-04-04 00:03:29,637 [ qm: AsynchronousTaskRunner-2] INFO com.ibm.rqm.buildintegration.service - com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector:syncTeamConcertConnection AQXIN0005I Begin to sync build information with Team Concert instance at https://x.xxx.x.xxx:9443/jazz.
Any ideas why these error is being throw?
Thank you.
I am trying to work out why RQM -> RTC cross communication has started to fail as up until a few weeks ago it was working and there hasn't been any configuration changes.
Both RQM and RTC are running on the same server and both are version 4.0.0.1.
Looking at the qm.log file I see the following:
2013-04-04 00:01:28,447 [ qm: AsynchronousTaskRunner-1] INFO com.ibm.rqm.buildintegration.service - com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector:syncTeamConcertConnection AQXIN0005I Begin to sync build information with Team Concert instance at https://x.xxx.x.xxx:9443/jazz.
2013-04-04 00:01:29,627 [ qm: AsynchronousTaskRunner-1] ERROR com.ibm.rqm.buildintegration - CRJAZ1451I An exception occurred while executing the task "rtcBuildInformationCollector", contributed by component "com.ibm.rqm.buildintegration". The task will be rescheduled.
java.lang.NullPointerException
at com.ibm.rqm.buildintegration.service.rest.internal.BuildProviderTypeRestService.toRecordStateDTO(BuildProviderTypeRestService.java:58)
at sun.reflect.GeneratedMethodAccessor500.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1483.toRecordStateDTO(Unknown Source)
at com.ibm.rqm.buildintegration.service.rest.internal.BuildIntegrationRestService.toBuildDefinitionDTO(BuildIntegrationRestService.java:209)
at com.ibm.rqm.buildintegration.service.rest.internal.BuildIntegrationRestService$1.run(BuildIntegrationRestService.java:788)
at com.ibm.rqm.common.service.internal.BucketLockService$1.run(BucketLockService.java:65)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService$3.run(PrimitiveTransactionService.java:176)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:500)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$1.run(RepositoryDatabase.java:324)
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:381)
at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy110.withCurrentConnection(Unknown Source)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:320)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:275)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:110)
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:105)
at sun.reflect.GeneratedMethodAccessor394.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy181.runInTransaction(Unknown Source)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:37)
at sun.reflect.GeneratedMethodAccessor454.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy347.runInTransaction(Unknown Source)
at com.ibm.rqm.common.service.internal.BucketLockService.runInTransaction(BucketLockService.java:59)
at com.ibm.rqm.common.service.internal.BucketLockService.runInTransactionS(BucketLockService.java:167)
at com.ibm.rqm.common.service.internal.BucketLockService.runInTransactionSWithRetry(BucketLockService.java:174)
at sun.reflect.GeneratedMethodAccessor555.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1274.runInTransactionSWithRetry(Unknown Source)
at com.ibm.rqm.buildintegration.service.rest.internal.BuildIntegrationRestService.postSyncBuildInformationFromRTCConnection(BuildIntegrationRestService.java:767)
at sun.reflect.GeneratedMethodAccessor554.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1485.postSyncBuildInformationFromRTCConnection(Unknown Source)
at com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector.syncTeamConcertConnection(RTCBuildInformationCollector.java:103)
at com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector.runTask(RTCBuildInformationCollector.java:86)
at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:89)
at sun.reflect.GeneratedMethodAccessor386.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy1486.executeTask(Unknown Source)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:136)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:99)
at java.lang.Thread.run(Thread.java:736)
2013-04-04 00:03:29,632 [ qm: AsynchronousTaskRunner-2] INFO com.ibm.rqm.buildintegration.service - com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector:runTask AQXIN0003I RTC build auto task started, taskId rtcBuildInformationCollector.
2013-04-04 00:03:29,637 [ qm: AsynchronousTaskRunner-2] INFO com.ibm.rqm.buildintegration.service - com.ibm.rqm.buildintegration.service.asynctask.RTCBuildInformationCollector:syncTeamConcertConnection AQXIN0005I Begin to sync build information with Team Concert instance at https://x.xxx.x.xxx:9443/jazz.
Any ideas why these error is being throw?
Thank you.
Accepted answer
Hi Peter,
From the log, it looks like it's a duplicate of the following APAR
https://jazz.net/jazz/web/projects/Jazz%20Support%20%28Private%29#action=com.ibm.team.workitem.viewWorkItem&id=228892&tab=com.ibm.team.support.escalation.discussion_duplicate
and the workitem that fixed it is https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=73790
It is fixed in release 3015, 401 and 4002.
You may want to request a fixtest for 4001
From the log, it looks like it's a duplicate of the following APAR
https://jazz.net/jazz/web/projects/Jazz%20Support%20%28Private%29#action=com.ibm.team.workitem.viewWorkItem&id=228892&tab=com.ibm.team.support.escalation.discussion_duplicate
and the workitem that fixed it is https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=73790
It is fixed in release 3015, 401 and 4002.
You may want to request a fixtest for 4001
Comments
One other answer
Hi Peter,
did you used RTC as a build engine?
would check
your configuration in
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m1/topic/com.ibm.rational.test.qm.doc/topics/t_config_rtc_build_integration.html?resultof=%22%42%75%69%6c%64%22%20%22%62%75%69%6c%64%22%20%22%49%6e%74%65%67%72%61%74%69%6f%6e%22%20%22%69%6e%74%65%67%72%22%20%22%46%72%61%6d%65%77%6f%72%6b%22%20%22%66%72%61%6d%65%77%6f%72%6b%22%20