RQM -> RTC Cross Communication Failing
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
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
Hi Jing,
Thank you for reply and info, currently we are unable to upgrade as there is a problem with it.
We have posted another question about the upgrade issue and once this is solved we will try again.
The upgrade post is Upgrade CLM from 4.0.0.1 to 4.0.2 cannot upgrade with Installation Manager
Hi Jing,
The upgrade to 4.0.2 is now complete and I'm happy to say I can now see the build records and definitions in RQM. Thank you for your help.
One other answer
Comments
Hi Hao,
Thank you for the reply, yes RTC is being used as the build engine.
I have checked the configuration and everything looks to be correct.
I can see up until 3/4 weeks ago RQM was getting the build details as I can see old build records and definitions under RQM -> Build -> Build Records & Build Definitions
Cheers
Peter