RQMCopyUtil error during artifacts RC:500
Hi, first time trying this utility and running in to an error. Trying a basic run from the wiki example and added -pl. It appears to start work on exporting artifacts and then errors with "SEVERE: General REST Exception: RestException executing: GET Artifact Feed, RC: 500, message: {"errorClass":"java.lang.NullPointerException","errorCode":500,"errorTraceMarshall..."
Not sure how to tell if my JVM is Refresh 8 or later. I am guessing that SR 14 is refresh 14? java version "1.6.0" Java(TM) SE Runtime Environment (build pxa6460sr14-20130705_01(SR14)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr14-20130704_155156 (JIT enabled, AOT enabled) J9VM - 20130704_155156 JIT - r9_20130517_38390 GC - GA24_Java6_SR14_20130704_1138_B155156) JCL - 20130618_01 I have confirmed that both servers are v4.0.2 and my util version is for 4.0.2. Tried on a second system with an openJDK, same issue. Here is the command I am using, modified to protect the innocent. java -jar RQMCopyUtility.jar -s="https://isljazzclm.domain.com:9444/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality Manager" -us=admin -pws=**** -d="https://svljazz06.domain.com:9451/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality Manager" -l=importlog.txt -pl=progress.log And here is the output: Nov 7, 2013 6:30:12 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Starting processing of artifact type: attachment Nov 7, 2013 6:30:12 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Reading feed for artifact type: attachment Nov 7, 2013 6:38:50 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 500, retry #: 0 Nov 7, 2013 6:38:56 PM com.ibm.rqm.ct.util.Logger logInfo INFO: Error received: 500, retry #: 1 Nov 7, 2013 6:38:59 PM com.ibm.rqm.ct.util.Logger logError SEVERE: General REST Exception: RestException executing: GET Artifact Feed, RC: 500, message: {"errorClass":"java.lang.NullPointerException","errorCode":500,"errorTraceMarshall":[{"errorTraceFileName":"AttachmentURIGETHandler.java","errorTraceClassName":"com.ibm.rqm.oslc.service.internal.integration.handler.get.AttachmentURIGETHandler","errorTraceMethodName":"marshal","errorTraceLineNumber":162},{"errorTraceFileName":"AttachmentURIGETHandler.java","errorTraceClassName":"com.ibm.rqm.oslc.service.internal.integration.handler.get.AttachmentURIGETHandler","errorTraceMethodName":"marshal","errorTraceLineNumber":1}, |
Accepted answer
Hi, Vince
it does not seem that the Java is a problem here. Also running result of "https://isljazzclm.domain.com:9444/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality Manager " should not be relevant. I tried the same here and see 501 but no problem in doing the copy. There are a couple of things you can check with first. 1) Is the project area alias correct? Please run https://isljazzclm.domain.com:9444/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/projects and see if the alias you use is correct, the same should be checked for another one. 2) is the user and password for destination the same as you specified in source? 3) Try to narrow down the artifacts type by using some arguments. For example, trying to copy testplan only by using -a=testplan which will look like: -a=testplan -l=importlog.txt -pl=progress.log or ignore some type of artifacts and see how it works.
Vince Thyng selected this answer as the correct answer
Comments
Vince Thyng
commented Nov 08 '13, 12:50 p.m.
Thank you Don. by trying testplan, I was able to get some success. It appears that there is something wrong with attachment type in my source.
|
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.
Comments
Well, this seems related. When I go to my source location
https://isljazzclm.domain.com:9444/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/Quality Manager
I get:
Error 501: SRVE0295E: Error reported: 501
... Pretty sure that is part of the problem. Now need to figure out why I don't get something more encouraging...