XMLStreamException when using RQM Command-line adapter
![]()
I run the RQM Command-line adapter(5.0.2) , but happen the XMLStreamException. How can I resolve it ?
Below is my steps: Step 1: Run the command in windows. C:\>start.bat -repository https://jazz.net/sandbox02-qm -user XXXX -password XXXX -adapterName NewAdapter -projectArea "TestProject" Step 2: The adapter start to connect to server, but wait for a moment, throw a XMLStreamException. Launching Adapter... java version "1.7.0_71" Java(TM) SE Runtime Environment (build 1.7.0_71-b14) Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing) Configuration file C:\RQM\RQMCommandLineAdapter(5.0.2)\Config2.ini does not exis t, adapter will use the arguments passed Attempting to create SSL_TLS context java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available Unable to create SSL_TLS context, trying TLS Successfully created an HTTP client Attempting to create SSL_TLS context java.security.NoSuchAlgorithmException: SSL_TLS SSLContext not available Unable to create SSL_TLS context, trying TLS The adapter is now connected Exception in thread "main" org.apache.abdera.parser.ParseException: javax.xml.st ream.XMLStreamException: ParseError at [row,col]:[-1,-1] Message: The element type "head" does not match the expected end-tag "</link>". at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:253) at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElemen tImpl.java:265) at org.apache.axiom.om.impl.traverse.OMChildrenIterator.next(OMChildrenI terator.java:106) at org.jaxen.expr.DefaultNameStep.evaluate(DefaultNameStep.java:208) at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java: 140) at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102) at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674) at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213) at org.apache.abdera.parser.stax.FOMXPath.selectNodes(FOMXPath.java:162) at org.apache.abdera.parser.stax.FOMXPath.selectNodes(FOMXPath.java:180) at com.ibm.rqm.adapter.library.data.NewRequester.getAllProjectAreas(NewR equester.java:462) at com.ibm.rqm.adapter.library.data.NewRequester.validProjectAlias(NewRe quester.java:2816) at com.ibm.rqm.adapter.library.data.NewRequester.checkServerInfo(NewRequ ester.java:2779) at com.ibm.rqm.adapter.library.data.NewRequester.<init>(NewRequester.jav a:159) at com.ibm.rqm.adapter.commandline.QMCommandLineAdapter.main(QMCommandLi neAdapter.java:306) Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[-1,-1] Message: The element type "head" does not match the expected end-tag "</link>". at com.ibm.xml.xlxp.api.stax.msg.StAXMessageProvider.throwWrappedXMLStre amException(StAXMessageProvider.java:73) at com.ibm.xml.xlxp.api.stax.XMLStreamReaderImpl.produceFatalErrorEvent( XMLStreamReaderImpl.java:2096) at com.ibm.xml.xlxp.api.stax.XMLStreamReaderImpl.reportFatalError(XMLStr eamReaderImpl.java:2102) at com.ibm.xml.xlxp.api.util.SimpleScannerHelper.scanEndElementNoMatch(S impleScannerHelper.java:1052) at com.ibm.xml.xlxp.api.util.SimpleScannerHelper.scanEndElementUnbuffere d(SimpleScannerHelper.java:970) at com.ibm.xml.xlxp.scan.DocumentEntityScanner.stateUnbufferedEndElement (DocumentEntityScanner.java:527) at com.ibm.xml.xlxp.scan.DocumentEntityScanner.scanContentUnbuffered(Doc umentEntityScanner.java:2790) at com.ibm.xml.xlxp.api.util.SimpleScannerHelper.scanContentUnbuffered(S impleScannerHelper.java:1241) at com.ibm.xml.xlxp.scan.DocumentEntityScanner.stateUnbufferedContent(Do cumentEntityScanner.java:551) at com.ibm.xml.xlxp.scan.DocumentEntityScanner.produceEvent(DocumentEnti tyScanner.java:644) at com.ibm.xml.xlxp.api.stax.XMLStreamReaderImpl.getNextScannerEvent(XML StreamReaderImpl.java:1638) at com.ibm.xml.xlxp.api.stax.XMLStreamReaderImpl.next(XMLStreamReaderImp l.java:532) at com.ibm.xml.xlxp.api.stax.XMLInputFactoryImpl$XMLStreamReaderProxy.ne xt(XMLInputFactoryImpl.java:175) at org.apache.abdera.parser.stax.FOMBuilder.getNextElementToParse(FOMBui lder.java:160) at org.apache.abdera.parser.stax.FOMBuilder.next(FOMBuilder.java:184) ... 14 more The adapter did not run, exited unexpectedly, or was killed. This can happen if java.exe was not found in the PATH, or if java.exe is too old or not compatible (the version of JAVA required is 1.5 or later), or Configuration File does not have write permissions, or some other error occurred. Please refer to the readme.txt file in the adapter package. |
Be the first one to answer this question!
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
have you checked:
1) path environment variable has java.exe defined
2) user for command line adapter has RQM connector or Professional license
3) configuration file must have write permissions in the current working directory
or the directory specified by -configFile option