It's all about the answers!

Ask a question

How to put execution result in ETM 7.0.2


Janus Andersen (11) | asked Sep 19 '22, 9:24 a.m.

 Hi;


I'm updating from RQM 6.0.6 to ETM 7.0.2 and I'm are having some issues when trying to update an execution result.

When PUTting the execution result without changing anything in the resource xml, I get a '500 - internal server error'

Excution result xml:
<ns2:executionresult xmlns:ns2="http://jazz.net/xmlns/alm/qm/v0.1/" xmlns:ns1="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ns3="http://schema.ibm.com/vega/2008/" xmlns:ns4="http://purl.org/dc/elements/1.1/" xmlns:ns5="http://jazz.net/xmlns/prod/jazz/process/0.6/" xmlns:ns6="http://jazz.net/xmlns/alm/v0.1/" xmlns:ns7="http://purl.org/dc/terms/" xmlns:ns8="http://jazz.net/xmlns/alm/qm/v0.1/testscript/v0.1/" xmlns:ns9="http://jazz.net/xmlns/alm/qm/v0.1/executionworkitem/v0.1" xmlns:ns10="http://open-services.net/ns/core#" xmlns:ns11="http://open-services.net/ns/qm#" xmlns:ns12="http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/" xmlns:ns13="http://www.w3.org/2002/07/owl#" xmlns:ns14="http://jazz.net/xmlns/alm/qm/qmadapter/v0.1" xmlns:ns15="http://jazz.net/xmlns/alm/qm/qmadapter/task/v0.1" 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:ns18="http://jazz.net/xmlns/alm/qm/v0.1/tsl/v0.1/" xmlns:ns20="http://jazz.net/xmlns/alm/qm/styleinfo/v0.1/" xmlns:ns21="http://www.w3.org/1999/XSL/Transform">
  <ns5:team-area>
  </ns5:team-area>
  <ns2:webId>110532</ns2:webId>
  <ns4:title>TC - ASIT test for unit tests_MagnetoMiniRite312Plus_Neptune S4_Level105_Oticon_Ruby</ns4:title>
  <ns2:creationDate>2022-09-19T08:46:31.521Z</ns2:creationDate>
  <ns6:updated>2022-09-19T10:23:36.239Z</ns6:updated>
  <ns6:state>com.ibm.rqm.execution.common.state.passed</ns6:state>
  <ns2:stateLabel>Passed</ns2:stateLabel>
  <ns2:stepResultsUpdateStatus>NOMODIFICATION</ns2:stepResultsUpdateStatus>
  <ns2:locked>false</ns2:locked>
  <ns2:rollupResult>false</ns2:rollupResult>
  <ns2:variables>
    <ns2:variable>
      <ns2:name>RQM_TESTCASE_NAME</ns2:name>
      <ns2:value>TC - ASIT HappyDayTest</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_CREATEDBY_USER_WEBID</ns2:name>
      <ns2:value>sa_rqm_settools_test</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>ServerAddress</ns2:name>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>TestcomponentBranch</ns2:name>
      <ns2:value>main</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTCASE_RESULT_WEBID</ns2:name>
      <ns2:value>110532</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_LABRESOURCE_WEBID</ns2:name>
      <ns2:value>37</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TEST_ENVIRONMENT_ITEMID</ns2:name>
      <ns2:value>_k3eo0Bp1EeqT7_UIU3hkcw</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_CONFIGURATION_NAME</ns2:name>
      <ns2:value>MagnetoMiniRite312Plus_Neptune S4_Level105_Oticon_Ruby</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTPHASE_NAME</ns2:name>
      <ns2:value>SR902_rel_2.1_20.0_b14</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_PROJECT_NAME</ns2:name>
      <ns2:value>SET Tool Verification</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTPLAN_NAME</ns2:name>
      <ns2:value>TP - ASIT</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTCASE_EXECUTIONRECORD_NAME</ns2:name>
      <ns2:value>TC - ASIT test for unit tests_MagnetoMiniRite312Plus_Neptune S4_Level105_Oticon_Ruby</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_PROJECT_ALIAS</ns2:name>
      <ns2:value>SET+Tool+Verification</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTPHASE_WEBID</ns2:name>
      <ns2:value>7849</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTSCRIPT_WEBID</ns2:name>
      <ns2:value>44323</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTPLAN_WEBID</ns2:name>
      <ns2:value>1075</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_LAST_RESULT_FOR_MACHINE</ns2:name>
      <ns2:value>com.ibm.rqm.execution.common.state.passed</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTCASE_WEBID</ns2:name>
      <ns2:value>32140</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TEST_ENVIRONMENT_NAME</ns2:name>
      <ns2:value>MagnetoMiniRite312Plus_Neptune S4_Level105_Oticon_Ruby</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_CREATEDBY_USER_NAME</ns2:name>
      <ns2:value>SA_RQM_SetTools_Test</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTCASE_EXECUTIONRECORD_WEBID</ns2:name>
      <ns2:value>71004</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTSCRIPT_NAME</ns2:name>
      <ns2:value>TS - AsitTestExecutor UnitTests</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_TESTCASE_RESULT_NAME</ns2:name>
      <ns2:value>TC - ASIT test for unit tests_MagnetoMiniRite312Plus_Neptune S4_Level105_Oticon_Ruby</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>TestcomponentName</ns2:name>
      <ns2:value>HappyDayTest</ns2:value>
    </ns2:variable>
    <ns2:variable>
      <ns2:name>RQM_LABRESOURCE_NAME</ns2:name>
      <ns2:value>DK-C-KBN-JMLA-4</ns2:value>
    </ns2:variable>
  </ns2:variables>
  <ns16:machine>DK-C-KBN-JMLA-4</ns16:machine>
  <ns16:iterations>1</ns16:iterations>
  <ns16:starttime>2022-09-19T08:46:32.558Z</ns16:starttime>
  <ns16:endtime>2022-09-19T08:46:43.169Z</ns16:endtime>
  <ns16:totalRunTime>11000</ns16:totalRunTime>
  <ns16:actualRunTime>10611</ns16:actualRunTime>
  <ns16:weight>1</ns16:weight>
  <ns16:pointspassed>1</ns16:pointspassed>
  <ns16:pointsfailed>0</ns16:pointsfailed>
  <ns16:pointsattempted>1</ns16:pointsattempted>
  <ns16:pointsblocked>0</ns16:pointsblocked>
  <ns16:pointsinconclusive>0</ns16:pointsinconclusive>
  <ns16:scriptStepCount>1</ns16:scriptStepCount>
  <ns16:scriptStepCountPassed>1</ns16:scriptStepCountPassed>
  <ns16:scriptStepCountFailed>0</ns16:scriptStepCountFailed>
  <ns16:scriptStepCountAttempted>1</ns16:scriptStepCountAttempted>
  <ns16:scriptStepCountBlocked>0</ns16:scriptStepCountBlocked>
  <ns16:scriptStepCountInconclusive>0</ns16:scriptStepCountInconclusive>
  <ns16:scriptStepCountPermFailed>0</ns16:scriptStepCountPermFailed>
  <ns16:scriptStepCountDeferred>0</ns16:scriptStepCountDeferred>
  <ns16:scriptStepCountSkipped>0</ns16:scriptStepCountSkipped>
  <ns2:stateid>_Ht5yBzgFEe2OzoR3ODQDpA</ns2:stateid>
  <ns2:pointspermfailed>0</ns2:pointspermfailed>
  <ns2:pointsdeferred>0</ns2:pointsdeferred>
  <ns2:pointsskipped>0</ns2:pointsskipped>
  <ns16:isCurrent>false</ns16:isCurrent>
  <ns16:isCurrentForBuild>false</ns16:isCurrentForBuild>
  <ns16:testedby>
  </ns16:testedby>
  <ns16:stepResults>
    <ns16:stepResult href="https://clm-test.dgs.com/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_EuqngOqMEem385q-3xhOWw/executionelementresult/_lidIQTf3Ee2OzoR3ODQDpA" stepIndex="1" ns3:id="_lidIQTf3Ee2OzoR3ODQDpA" startTime="2022-09-19T08:46:32.559Z" endTime="2022-09-19T08:46:43.169Z" result="com.ibm.rqm.execution.common.state.passed">
      <ns16:startTime>2022-09-19T08:46:32.559Z</ns16:startTime>
      <ns16:endTime>2022-09-19T08:46:43.169Z</ns16:endTime>
      <ns16:result>com.ibm.rqm.execution.common.state.passed</ns16:result>
      <ns16:resultLabel>Passed</ns16:resultLabel>
      <ns16:stepType>com.ibm.rqm.execution.common.elementtype.execution</ns16:stepType>
      <ns16:comment />
      <ns16:compare />
    </ns16:stepResult>
  </ns16:stepResults>
  <ns2:alias type="string">urn:com.ibm.rqm:executionresult:110532</ns2:alias>
  <ns2:customAttributes>
      <ns2:identifier>_vOWWITNvEemlv8q0Bzja8w</ns2:identifier>
      <ns2:name>Custom attribute</ns2:name>
      <ns2:value>123456789</ns2:value>
    </ns2:customAttribute>
  </ns2:customAttributes>
</ns2:executionresult>

Log entry:
2022-09-19T14:47:28,975+0200 [Default Executor-thread-1804 @@ 14:47 <unauthenticated> <No User Agent@10.100.3.200> /qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/_EuqngOqMEem385q-3xhOWw/executionresult/slugjw6SITf3Ee2OzoR3ODQDpA]  WARN com.ibm.rqm.integration                            [TID: CC8CB176] - Unhandled Exception
java.lang.NullPointerException: null
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.jaxbStepResultToStepResult(ExecutionResultPutHandler.java:1102) ~[?:?]
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.unmarshal(ExecutionResultPutHandler.java:403) ~[?:?]
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.unmarshal(ExecutionResultPutHandler.java:1) ~[?:?]
at com.ibm.rqm.integration.handler.AbstractPutHandler.handle(AbstractPutHandler.java:190) ~[?:?]
at com.ibm.rqm.integration.handler.AbstractPostHandler.handle(AbstractPostHandler.java:86) ~[?:?]
at com.ibm.rqm.oslc.service.internal.integration.handler.put.ExecutionResultPutHandler.handle(ExecutionResultPutHandler.java:153) ~[?:?]
at sun.reflect.GeneratedMethodAccessor776.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at com.sun.proxy.$Proxy4546.handle(Unknown Source) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService$2.run(IntegrationService.java:777) ~[?:?]
at com.ibm.team.repository.service.internal.PrimitiveTransactionService$4.run(PrimitiveTransactionService.java:214) ~[repository_service.jar:?]
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$Transaction.run(RepositoryDatabase.java:628) ~[repository_service.jar:?]
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase$3.run(RepositoryDatabase.java:408) ~[repository_service.jar:?]
at com.ibm.team.repository.service.internal.rdb.ConnectionPoolService.withCurrentConnection(ConnectionPoolService.java:531) ~[repository_service.jar:?]
at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at com.sun.proxy.$Proxy435.withCurrentConnection(Unknown Source) ~[?:?]
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:405) ~[repository_service.jar:?]
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:342) ~[repository_service.jar:?]
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:143) ~[repository_service.jar:?]
at com.ibm.team.repository.service.internal.PrimitiveTransactionService.runInTransaction(PrimitiveTransactionService.java:138) ~[repository_service.jar:?]
at sun.reflect.GeneratedMethodAccessor581.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at com.sun.proxy.$Proxy502.runInTransaction(Unknown Source) ~[?:?]
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:50) ~[repository_service.jar:?]
at sun.reflect.GeneratedMethodAccessor661.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) ~[org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at com.sun.proxy.$Proxy803.runInTransaction(Unknown Source) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService.handleIntegrationServiceRequest(IntegrationService.java:774) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService.access$0(IntegrationService.java:584) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService$1.call(IntegrationService.java:517) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService$1.call(IntegrationService.java:1) ~[?:?]
at com.ibm.team.repository.service.AbstractService.runWithActiveConfiguration(AbstractService.java:1427) ~[repository_service.jar:?]
at com.ibm.rqm.integration.service.internal.IntegrationService.handleForProjectArea(IntegrationService.java:513) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService.handleRequest(IntegrationService.java:414) ~[?:?]
at com.ibm.rqm.integration.service.internal.IntegrationService.perform_PUT(IntegrationService.java:244) ~[?:?]
at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:96) [repository_service.jar:?]
at sun.reflect.GeneratedMethodAccessor644.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55) ~[?:1.8.0]
at java.lang.reflect.Method.invoke(Method.java:508) ~[?:1.8.0]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) [org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) [org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) [org.eclipse.soda.sat.core_1.1.0.201611021629.jar:?]
at com.sun.proxy.$Proxy1994.service(Unknown Source) [?:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:1144) [com.ibm.team.repository.servlet.jar:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2810) [com.ibm.team.repository.servlet.jar:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2580) [com.ibm.team.repository.servlet.jar:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.access$0(AbstractTeamServerServlet.java:2565) [com.ibm.team.repository.servlet.jar:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet$2.service(AbstractTeamServerServlet.java:275) [com.ibm.team.repository.servlet.jar:?]
at com.ibm.team.repository.service.internal.oauth.OAuthServiceProvider$2.run(OAuthServiceProvider.java:336) [bundleFile:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleAuthentication(AbstractTeamServerServlet.java:2252) [com.ibm.team.repository.servlet.jar:?]
at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1926) [com.ibm.team.repository.servlet.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [com.ibm.websphere.javaee.servlet.3.0_1.0.41.jar:?]
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) [org.eclipse.equinox.http.registry_1.1.300.v20130402-1529.jar:?]
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) [org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar:?]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128) [org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar:?]
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76) [org.eclipse.equinox.http.servlet_1.1.500.v20140318-1755.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [com.ibm.websphere.javaee.servlet.3.0_1.0.41.jar:?]
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:152) [org.eclipse.equinox.servletbridge_1.3.1.v20160125-1610.jar:?]
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:199) [jazzservletbridge.jar:?]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) [com.ibm.websphere.javaee.servlet.3.0_1.0.41.jar:?]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:729) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:426) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:182) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:93) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:176) [jazzservletbridge.jar:?]
at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:210) [jazzservletbridge.jar:?]
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:201) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:1001) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1139) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:5037) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.handleRequest(DynamicVirtualHost.java:314) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1007) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost$2.run(DynamicVirtualHost.java:279) [com.ibm.ws.webcontainer_1.1.41.jar:?]
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink$TaskWrapper.run(HttpDispatcherLink.java:1134) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.wrapHandlerAndExecute(HttpDispatcherLink.java:415) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:374) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:546) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:480) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:345) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.http.channel.internal.inbound.HttpICLReadCallback.complete(HttpICLReadCallback.java:70) [com.ibm.ws.transport.http_1.0.41.jar:?]
at com.ibm.ws.channel.ssl.internal.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1824) [com.ibm.ws.channel.ssl_1.0.41.jar:?]
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504) [com.ibm.ws.channelfw_1.0.41.jar:?]
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574) [com.ibm.ws.channelfw_1.0.41.jar:?]
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:958) [com.ibm.ws.channelfw_1.0.41.jar:?]
at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1047) [com.ibm.ws.channelfw_1.0.41.jar:?]
at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:239) [com.ibm.ws.threading_1.1.41.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) [?:1.8.0]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:1.8.0]
at java.lang.Thread.run(Thread.java:822) [?:2.9 (07-24-2020)]

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Sep 19 '22, 10:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
  • There is no question in the question. 
  • Do you believe anyone will be able to look at your XML and know what is wrong?
  • It is not totally clear to me what API you use. I just guess it is OSLC from the RDF.
  • The Error is a nullpointer, so it is likely that there is some data (e.g. an about URI), so it is likely there is some data missing.
  • 6.0.6 and 7.0.2 are so far apart that it is absolutely possible that there are new properties. I would consider to GET a migrated result and compare the RDF/XML. 


Comments
Janus Andersen commented Sep 19 '22, 2:30 p.m.
HI Ralph, thanks for the quick reply.

My question is, if anyone knows of a reason why reading the execution result and PUTting it back without altering it would throw a NullPointerException?  

I would also like to know it anyone knows of any noteworthy details related to execution results when going from 6.0.6 to 7.0.2 - I can not seem to find any.
 
I'm using the REST api, and the xml I added is a new execution result created by the Command line adapter in our test environment now running ETM 7.0.2.  

Ralph Schoon commented Sep 20 '22, 2:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Again, it is unclear what API you use, there are several REST APIs. For ETM there is (at least) an OSLC API and there is a reportable REST API. The OSLC API requires additional headers. If there is missing data e.g. headers then calls can fail. There is not enough useful information in the question to even understand this. If you GET the data and then PUT the same data, with correct headers, I would not expect a null pointer. There might be a bug. 

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.