RTC and Clearquest bridge
Hi
I have setup a RTC 3.0 server and tried to setup a bridge to a Clearquest web server (with CQ 7.1.2).
I followed the instruction detailed in http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp?topic=/com.ibm.team.rcm.doc/topics/t_configuring_cq_bridge.html
All the connections are OK. However, when I try to create a new work order which is linked to a Clearquest change request, I can select a link. However, an error occurs when I try to save it.
Here is the error message :
There were problems modifying links that require the referenced resource to maintain a back link.
Error accessing http://<Clearquest>/record/16777238-33992297?oslc.properties=oslc_cm%3ArelatedChangeRequest&oslc.prefix=oslc_cm%3D%3Chttp%3A%2F%2Fopen-services.net%2Fns%2Fcm%23%3E: Internal Server Error <xml> <rdf> <Error> <message>java.lang.NullPointerException</message> <statusCode>500</statusCode>
Does anyone have any idea ?
I have setup a RTC 3.0 server and tried to setup a bridge to a Clearquest web server (with CQ 7.1.2).
I followed the instruction detailed in http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/index.jsp?topic=/com.ibm.team.rcm.doc/topics/t_configuring_cq_bridge.html
All the connections are OK. However, when I try to create a new work order which is linked to a Clearquest change request, I can select a link. However, an error occurs when I try to save it.
Here is the error message :
There were problems modifying links that require the referenced resource to maintain a back link.
Error accessing http://<Clearquest>/record/16777238-33992297?oslc.properties=oslc_cm%3ArelatedChangeRequest&oslc.prefix=oslc_cm%3D%3Chttp%3A%2F%2Fopen-services.net%2Fns%2Fcm%23%3E: Internal Server Error <xml> <rdf> <Error> <message>java.lang.NullPointerException</message> <statusCode>500</statusCode>
Does anyone have any idea ?
4 answers
Here is the error message :
There were problems modifying links that require the referenced resource to maintain a back link.
Error accessing http://<Clearquest>/record/16777238-33992297?oslc.properties=oslc_cm%3ArelatedChangeRequest&oslc.prefix=oslc_cm%3D%3Chttp%3A%2F%2Fopen-services.net%2Fns%2Fcm%23%3E: Internal Server Error <xml> <rdf> <Error> <message>java.lang.NullPointerException</message> <statusCode>500</statusCode>
Does anyone have any idea ?
Hi, we've seen this error when the OSLCLinks package is not applied to the record type you are linking to (and we're improving the error message in an upcoming CQ patch). If the OSLCLinks package is applied to the record type, please take a look at the SystemOut.log on the CQ Web server for the full error. If you can append that here, it will help us determine what is wrong.
Best Regards,
Sam Padgett
CQ Web and CQ Bridge Technical Lead
Hi.
Thanks Sam and Yuhong.
The error message i could find on SytemOut.log of the CQ web server is as follows :
0000007e RestServletCo E com.ibm.rational.cm.rest.controller.RestServletController doRestCall null
java.lang.NullPointerException
at com.ibm.rational.cm.rest.links.OslcLinksUtil.reconcileUpdatedLinkValues(OslcLinksUtil.java:284)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.getReconciledLinksValueForModify(AbstractRecordActionHandler.java:382)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.getReconciledLinksValue(AbstractRecordActionHandler.java:377)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.setLinkValues(AbstractRecordActionHandler.java:364)
at com.ibm.rational.cm.rest.request.OslcV2ChangeRequestXmlActionHandler.parseOslcChangeRequest(OslcV2ChangeRequestXmlActionHandler.java:90)
at com.ibm.rational.cm.rest.request.XmlRecordActionHandler.parseRequest(XmlRecordActionHandler.java:93)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.updateRecord(AbstractRecordActionHandler.java:225)
at com.ibm.rational.cm.rest.handlers.RecordHandler.doPutResource(RecordHandler.java:374)
at com.ibm.rational.cm.rest.controller.RestServletController.doRestCall(RestServletController.java:241)
at com.ibm.rational.cm.rest.controller.RestServletController.doPut(RestServletController.java:333)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:766)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3507)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
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:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
rgds
Thanks Sam and Yuhong.
The error message i could find on SytemOut.log of the CQ web server is as follows :
0000007e RestServletCo E com.ibm.rational.cm.rest.controller.RestServletController doRestCall null
java.lang.NullPointerException
at com.ibm.rational.cm.rest.links.OslcLinksUtil.reconcileUpdatedLinkValues(OslcLinksUtil.java:284)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.getReconciledLinksValueForModify(AbstractRecordActionHandler.java:382)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.getReconciledLinksValue(AbstractRecordActionHandler.java:377)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.setLinkValues(AbstractRecordActionHandler.java:364)
at com.ibm.rational.cm.rest.request.OslcV2ChangeRequestXmlActionHandler.parseOslcChangeRequest(OslcV2ChangeRequestXmlActionHandler.java:90)
at com.ibm.rational.cm.rest.request.XmlRecordActionHandler.parseRequest(XmlRecordActionHandler.java:93)
at com.ibm.rational.cm.rest.request.AbstractRecordActionHandler.updateRecord(AbstractRecordActionHandler.java:225)
at com.ibm.rational.cm.rest.handlers.RecordHandler.doPutResource(RecordHandler.java:374)
at com.ibm.rational.cm.rest.controller.RestServletController.doRestCall(RestServletController.java:241)
at com.ibm.rational.cm.rest.controller.RestServletController.doPut(RestServletController.java:333)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:766)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1152)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3507)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
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:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)
rgds
Sam is right.
You should read through the ClearQuest technote on how to set up and configure CQ-RTC bridge.
https://www-304.ibm.com/support/docview.wss?uid=swg21433074
Yuhong Yin