It's all about the answers!

Ask a question

While running RQMReport Adapter (XML Importer Utility) we are receiving message " Artifact Unmarshalling error: javax.xml.bind.UnmarshalException - with linked exception:


Raj Kapoor (2742031) | asked Jul 05 '22, 6:37 a.m.
edited Jul 05 '22, 7:43 a.m.

 

Command - 
RQMreport.bat -rep=https://localhost:9443/qm/ -proj="Playground" -u=ADMIN-pwd=** -xml=new.xml -d=debug.log


Error message received is -
 " Artifact Unmarshalling error: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: Vorzeitiges Dateiende.]
04 Jul 2022 09:33:43,921+0200 [main] ERROR com.
: Internal error: java.lang.NullPointerException
04 Jul 2022 09:33:43,922+0200 [main] ERROR com.
: FAILURE!"

Kindly guide us how to resolve the error and also let us know how to increase the log size so that we can debug it ourselves.

<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="test_labtool_normal_op.NormalOpCommandsTestCases-20220627133827" tests="19" file="test_labtool_normal_op.py" time="39.594" timestamp="2022-06-27T13:39:08" failures="8" errors="1" skipped="0">
<testcase classname="test_labtool_normal_op.NormalOpCommandsTestCases" name="test_echo_validation" time="0.338" timestamp="2022-06-27T13:38:29" file="testcases\test_labtool_normal_op.py" line="70">
<system-out>2022-06-27 13:38:28.882801
</system-out>
</testcase>
<testcase classname="test_labtool_normal_op.NormalOpCommandsTestCases" name="test_get_all_parameters_validation" time="0.582" timestamp="2022-06-27T13:38:29" file="testcases\test_labtool_normal_op.py" line="88">
<system-out>2022-06-27 13:38:29.221802
</system-out>
</testcase>

</testsuite>
</testsuites>

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Jul 05 '22, 7:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 When I have seen errors like that, the premature file ending usually indicated that the XML was incorrect.


Comments
Raj Kapoor commented Jul 05 '22, 7:38 a.m. | edited Jul 05 '22, 7:48 a.m.

 I kept the XML quite short and gave a try but even then I received same message. Even I checked the syntax through online tools, even that not reported any issues with XML.




Ralph Schoon commented Jul 05 '22, 7:54 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you tried to export first and see the format? 
Have you made sure the XML is UTF-8 encoded? 

Your answer


Register or 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.