It's all about the answers!

Ask a question

RQM -> RTC Cross Communication Failing


Peter Weller (1523) | asked Apr 04 '13, 8:10 a.m.
retagged Apr 04 '13, 9:27 a.m. by Laura W. Hinson (16126)
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.

Accepted answer


permanent link
Jing Qian (12632) | answered Apr 17 '13, 11:19 a.m.
JAZZ DEVELOPER
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
Peter Weller selected this answer as the correct answer

Comments
Peter Weller commented Apr 24 '13, 5:35 a.m.

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


Peter Weller commented Apr 25 '13, 5:33 a.m.

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



permanent link
Hao Wan (1.5k35) | answered Apr 09 '13, 10:44 p.m.
JAZZ DEVELOPER
 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

Comments
Peter Weller commented Apr 10 '13, 2:35 a.m.

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

Your answer


Register or to post your answer.