While running RQMReport Adapter (XML Importer Utility) we are receiving message " Artifact Unmarshalling error: javax.xml.bind.UnmarshalException - with linked exception:
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
Ralph Schoon (63.6k●3●36●46)
| 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 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.
Have you tried to export first and see the format?
Have you made sure the XML is UTF-8 encoded?
|
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.