Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.4.3
-
None
-
None
-
None
-
Unknown
Description
Full test name:
com/sun/ts/tests/jaxrs/spec/client/typedentities/JAXRSClient#clientSourceWriterTest_from_standalone
Running it locally:
git clone git@github.com:tckwork/cxf.git cd cxf ./runtests com/sun/ts/tests/jaxrs/spec/client/typedentities/JAXRSClient#clientSourceWriterTest_from_standalone
At the time this issue was filed, the test failed with the following output.
[javatest.batch] at com.sun.ts.lib.harness.EETest.run(EETest.java:285) [javatest.batch] at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:38) [javatest.batch] Caused by: javax.ws.rs.ProcessingException: Problem with writing the data, class javax.xml.transform.stream.StreamSource, ContentType: application/xml [javatest.batch] at org.apache.cxf.jaxrs.client.AbstractClient.reportMessageHandlerProblem(AbstractClient.java:846) [javatest.batch] at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:529) [javatest.batch] at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.doWriteBody(WebClient.java:1223) [javatest.batch] at org.apache.cxf.jaxrs.client.AbstractClient$AbstractBodyWriter.handleMessage(AbstractClient.java:1214) [javatest.batch] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) [javatest.batch] at org.apache.cxf.jaxrs.client.AbstractClient.doRunInterceptorChain(AbstractClient.java:703) [javatest.batch] at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:1086) [javatest.batch] at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:932) [javatest.batch] at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:901) [javatest.batch] at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:461) [javatest.batch] at org.apache.cxf.jaxrs.client.SyncInvokerImpl.method(SyncInvokerImpl.java:150) [javatest.batch] at org.apache.cxf.jaxrs.client.SyncInvokerImpl.method(SyncInvokerImpl.java:145) [javatest.batch] at org.apache.cxf.jaxrs.client.spec.InvocationBuilderImpl.method(InvocationBuilderImpl.java:123) [javatest.batch] at org.apache.cxf.jaxrs.client.spec.InvocationBuilderImpl$InvocationImpl.invoke(InvocationBuilderImpl.java:351) [javatest.batch] at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.invoke(JaxrsWebTestCase.java:350) [javatest.batch] at com.sun.ts.tests.jaxrs.common.client.JaxrsWebTestCase.execute(JaxrsWebTestCase.java:201) [javatest.batch] ... 15 more [javatest.batch] Caused by: java.lang.RuntimeException: Failed to create XMLInputFactory. [javatest.batch] at org.apache.cxf.staxutils.StaxUtils.createXMLInputFactory(StaxUtils.java:319) [javatest.batch] at org.apache.cxf.staxutils.StaxUtils.getXMLInputFactory(StaxUtils.java:266) [javatest.batch] at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:1786) [javatest.batch] at org.apache.cxf.jaxrs.provider.SourceProvider.writeTo(SourceProvider.java:192) [javatest.batch] at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1478) [javatest.batch] at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:515) [javatest.batch] ... 29 more [javatest.batch] [javatest.batch] 04-15-2021 21:57:20: [JAXRSCommonClient] Test cleanup OK [javatest.batch] STATUS:Failed.Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure. [javatest.batch] Apr 15, 2021 9:57:21 PM Finished executing all tests, wait for cleanup... [javatest.batch] Apr 15, 2021 9:57:21 PM Harness done with cleanup from test run. [javatest.batch] Failed. Test case throws exception: [JAXRSCommonClient] null failed! Check output for cause of failure. [javatest.batch] ******************************************************************************** [javatest.batch] Finished Test: FAILED........com/sun/ts/tests/jaxrs/spec/client/typedentities/JAXRSClient.java#clientSourceWriterTest_from_standalone
See the attached javatest.log and jtr file for full test details