It's all about the answers!

Ask a question

[Urgent]Error while executing test scripts in Jazz


Uğur Yıldız (261) | asked Mar 05 '20, 3:57 a.m.
edited Mar 05 '20, 5:11 a.m.

 Hi everyone,


As i mentioned in title, we are getting error while executing test scripts in Jazz, using RQM 5.0.2. Everything is set, our adapter is online and running, configurations is correct (i guess). So, here is the error code. 

Monitor Progress: [C:\Users\ADMINI~1\AppData\Local\Temp\2\QMAdapter6080256238455
407380.execprop]
Failed to read serialized JUnit report object: null  Execution result will not c
ontain step results for individual JUnit tests.
"Failed to log an execution complete with the server: "Failed to send data
com.ibm.rqm.adapter.library.data.AdapterException: Failed to send data
        at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewR
equester.java:1742)
        at com.ibm.rqm.adapter.library.data.NewRequester.putData(NewRequester.ja
va:1664)
        at com.ibm.rqm.adapter.library.data.NewRequester.internalCreateResult(Ne
wRequester.java:1434)
        at com.ibm.rqm.adapter.library.data.NewRequester.createResult(NewRequest
er.java:1071)
        at com.ibm.rqm.adapter.library.data.NewRequester.createResult(NewRequest
er.java:1030)
        at com.ibm.rqm.adapter.commandline.CommandLineAdapter.hadleErrorDuringRe
sultUpload(CommandLineAdapter.java:280)
        at com.ibm.rqm.adapter.commandline.CommandLineExecutionThread.run(Comman
dLineExecutionThread.java:509)
Caused by: com.ibm.rqm.integration.client.clientlib.RQMProtocolException: PUT[40
0] : <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:Error xmlns:ns2
m/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1"
" xmlns:ns15="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns16="http
://jazz.net/xmlns/alm/qm/v0.1/executionresult/v0.1" xmlns:ns17="http://jazz.net/
xmlns/alm/qm/v0.1/catalog/v0.1" xmlns:ns1="http://schema.ibm.com/vega/2008/" xml
t/xmlns/alm/qm/v0.1/" xmlns:ns3="http://purl.org/dc/elements/1.1/" xmlns:ns4="ht
/v0.1/" xmlns:ns6="http://purl.org/dc/terms/" xmlns:ns7="http://www.w3.org/1999/
02/22-rdf-syntax-ns#" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xm
</ns2:statusCode><ns2:message>The uploaded content does not consist of well-form
ed XML or does not match the XML schema for executionresult</ns2:message><ns2:tr
ace>javax.xml.bind.UnmarshalException
 - with linked exception:
[org.xml.sax.SAXParseException: Element type "rqmprop:a" must be followed by eit
her attribute specifications, "&gt;" or "/&gt;".]
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalExcept
ion(AbstractUnmarshallerImpl.java:326)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.cr
eateUnmarshalException(UnmarshallerImpl.java:536)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.un
marshal0(UnmarshallerImpl.java:225)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.un
marshal(UnmarshallerImpl.java:192)
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
arshallerImpl.java:148)
        at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnm
arshallerImpl.java:205)
        at com.ibm.rqm.xml.service.internal.JAXBContextService.unmarshalReader(J
AXBContextService.java:94)
        at sun.reflect.GeneratedMethodAccessor788.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy60.unmarshalReader(Unknown Source)
        at com.ibm.rqm.integration.handler.AbstractPutHandler.unmarshal(Abstract
PutHandler.java:537)
        at com.ibm.rqm.integration.handler.AbstractPutHandler.getJaxbResource(Ab
stractPutHandler.java:493)
        at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPut
Handler.java:128)
        at com.ibm.rqm.integration.handler.AbstractPostHandler.handle(AbstractPo
stHandler.java:82)
        at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionRe
sultPutHandler.handle(ExecutionResultPutHandler.java:121)
        at sun.reflect.GeneratedMethodAccessor632.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy2967.handle(Unknown Source)
        at com.ibm.rqm.integration.service.internal.IntegrationService$1.run(Int
egrationService.java:570)
        at com.ibm.rqm.common.service.internal.BucketLockService$1.run(BucketLoc
kService.java:70)
        at com.ibm.team.repository.service.internal.PrimitiveTransactionService$
3.run(PrimitiveTransactionService.java:162)
        at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Trans
action.run(RepositoryDatabase.java:567)
        at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$2.run
(RepositoryDatabase.java:351)
        at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.wi
thCurrentConnection(ConnectionPoolService.java:470)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy125.withCurrentConnection(Unknown Source)
        at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTr
ansaction(RepositoryDatabase.java:348)
        at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runIn
Transaction(RepositoryDatabase.java:288)
        at com.ibm.team.repository.service.internal.PrimitiveTransactionService.
runInTransaction(PrimitiveTransactionService.java:96)
        at com.ibm.team.repository.service.internal.PrimitiveTransactionService.
runInTransaction(PrimitiveTransactionService.java:91)
        at sun.reflect.GeneratedMethodAccessor416.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy170.runInTransaction(Unknown Source)
        at com.ibm.team.repository.service.internal.TransactionService.runInTran
saction(TransactionService.java:37)
        at sun.reflect.GeneratedMethodAccessor415.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy256.runInTransaction(Unknown Source)
        at com.ibm.rqm.common.service.internal.BucketLockService.runInTransactio
n(BucketLockService.java:63)
        at com.ibm.rqm.common.service.internal.BucketLockService.runInTransactio
nS(BucketLockService.java:203)
        at sun.reflect.GeneratedMethodAccessor787.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy291.runInTransactionS(Unknown Source)
        at com.ibm.rqm.integration.service.internal.IntegrationService.handleReq
uest(IntegrationService.java:566)
        at com.ibm.rqm.integration.service.internal.IntegrationService.perform_P
UT(IntegrationService.java:222)
        at com.ibm.team.repository.service.TeamRawService.service(TeamRawService
.java:96)
        at sun.reflect.GeneratedMethodAccessor630.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.in
voke(ExportProxyServiceRecord.java:361)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.ac
cess$0(ExportProxyServiceRecord.java:347)
        at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$Ex
portedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
        at com.sun.proxy.$Proxy1404.service(Unknown Source)
        at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestServi
ce(AbstractTeamServerServlet.java:963)
        at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleReque
st2(AbstractTeamServerServlet.java:2449)
        at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleReque
st(AbstractTeamServerServlet.java:2244)
        at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(Abs
tractTeamServerServlet.java:1761)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrap
per.service(ServletManager.java:180)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service
(ServletRegistration.java:61)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:126)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:76)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet
.java:120)
        at com.ibm.team.repository.server.servletbridge.JazzServlet.service(Jazz
Servlet.java:74)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDele
gate(BridgeFilter.java:165)
        at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(Br
idgeFilter.java:198)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:610)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.ja
va:339)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp
11Processor.java:1040)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:316)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:895)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:918)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskTh
read.java:61)
        at java.lang.Thread.run(Thread.java:761)
Caused by: org.xml.sax.SAXParseException: Element type "rqmprop:a" must be follo
wed by either attribute specifications, "&gt;" or "/&gt;".
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)

        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
ce)
        at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.un
marshal0(UnmarshallerImpl.java:219)
        ... 108 more
</ns2:trace></ns2:Error>
        at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.internal
SendToServer(RQMConnectionHelper.java:565)
        at com.ibm.rqm.integration.client.clientlib.RQMConnectionHelper.putToSer
ver(RQMConnectionHelper.java:522)
        at com.ibm.rqm.adapter.library.data.NewRequester.internalUploadData(NewR
equester.java:1734)
        ... 6 more


Also we are trying really hard to find right Test Path, Class Path, and Java System Requirement values.
In our script values are:

Test Path: examplepackage.classname
Class Path: C:\Users\Administrator\eclipse-workspace\HelloWorld\classname.java
Java System Requirement: is empty (?)

Please let me know what is wrong. Thanks in advance.


Comments
Ralph Schoon commented Mar 05 '20, 6:54 a.m. | edited Mar 05 '20, 6:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Contact support if that is an urgent issue. This is a forum and not express support.


Ralph Schoon commented Mar 06 '20, 3:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I am serious, really. You should have access to support and use it in case you have blocking issues. 

Accepted answer


permanent link
Uğur Yıldız (261) | answered Mar 06 '20, 12:32 a.m.

very well, we figure it out the problem. thanks for the hospitality.

Ralph Schoon selected this answer as the correct answer

Comments
Ralph Schoon commented Mar 06 '20, 3:20 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

What was the problem, then? 


Uğur Yıldız commented Mar 06 '20, 3:44 a.m.

At our Linux server, we implemented Rational Collaborative Lifecycle Management Solution version 5.0.2 iFix029 then problem solved. Here is the link.
 
https://www.ibm.com/support/fixcentral/swg/doSelectFixes?options.selectedFixes=5.0.2-Rational-CLM-ifix029&continue=1


Your answer


Register or to post your answer.