[Urgent]Error while executing test scripts in Jazz
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
0="http://www.w3.org/1999/XSL/Transform" xmlns:ns10="http://jazz.net/xmlns/alm/q
m/qmadapter/task/v0.1" xmlns:ns11="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1"
xmlns:ns12="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns13
" 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
ns:ns19="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns2="http://jazz.ne
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, ">" or "/>".]
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, ">" or "/>".
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.
Accepted answer
very well, we figure it out the problem. thanks for the hospitality.
Comments
What was the problem, then?
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
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 05 '20, 6:55 a.m.Contact support if that is an urgent issue. This is a forum and not express support.
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 06 '20, 3:19 a.m.I am serious, really. You should have access to support and use it in case you have blocking issues.