Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Problems with CopyUtility

Hello. I'm using the CopyUtility util to copy a project A in project B in my RQM 3.0.1.1 deployment.

I'm getting the following error:

........
Copying....https://rationalsrv02:9443/qm/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/ProjectA_CLM1+%28Quality+Management%29/template.....

Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Done reading feed for artifact type: requirement
Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Ending processing of artifact type: requirement
Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting processing of artifact type: template
Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Reading feed for artifact type: template
Dec 1, 2011 5:46:20 PM org.apache.commons.httpclient.HttpMethodBase getResponseBody
WARNING: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Done reading feed for artifact type: template
Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: template testsuite/com.ibm.rqm.planning.templates.testsuite.default
Dec 1, 2011 5:46:20 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 0
Dec 1, 2011 5:46:23 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 400, retry #: 1
Exception in thread "main" java.lang.NullPointerException
at com.ibm.rqm.ct.client.internal.RQMRestClient.unmarshal(RQMRestClient.java:425)
at com.ibm.rqm.ct.client.internal.RQMRestClient.getArtifact(RQMRestClient.java:169)
at com.ibm.rqm.ct.artifacts.internal.TemplateArtifactHandler.persist(TemplateArtifactHandler.java:50)
at com.ibm.rqm.ct.CopyUtil.main(CopyUtil.java:280)

The util gets an exception while unmarshalling template artifact ....


Second question I have: to be able to "debug" what was happening, I have compiled the CopyUtility on my eclipse. I had to add the following libraries in my libpath to be able to build the util: javax.xml.bind.jar and stax-api.jar - Why they are not provided with the CopyUtility bundle?

0 votes



2 answers

Permanent link
1) It appears from the stack trace that you are not using the RQM Copy Utility V3.0.1.1. I would suggest downloading/running the RQM Copy Utility V3.0.1.1.

2) You should only need the following JARs, which are packaged in the /lib directory of the RQMCopyUtility.jar:

commons-httpclient-3.0.jar
org.apache.commons.logging_1.0.4.v20080605-1930.jar
commons-codec-1.3.jar
jdom-1.0.jar

Note, you also need Java 6.

0 votes


Permanent link
Thank you Paul
the problem was I'm not using the jdk6

thank you very much

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 01 '11, 11:54 a.m.

Question was seen: 6,544 times

Last updated: Dec 01 '11, 11:54 a.m.

Confirmation Cancel Confirm