You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "David Blevins (Jira)" <ji...@apache.org> on 2021/04/16 08:47:00 UTC

[jira] [Created] (CXF-8513) jaxrs.spec.client.typedentities clientSourceWriterTest

David Blevins created CXF-8513:
----------------------------------

             Summary: jaxrs.spec.client.typedentities clientSourceWriterTest 
                 Key: CXF-8513
                 URL: https://issues.apache.org/jira/browse/CXF-8513
             Project: CXF
          Issue Type: Sub-task
    Affects Versions: 3.4.3
            Reporter: David Blevins
         Attachments: JAXRSClient_clientSourceWriterTest_from_standalone.jtr, javatest.log, test.txt

Full test name:

{code}
com/sun/ts/tests/jaxrs/spec/client/typedentities/JAXRSClient#clientSourceWriterTest_from_standalone
{code}

Running it locally:

{code}
git clone git@github.com:tckwork/cxf.git
cd cxf
./runtests com/sun/ts/tests/jaxrs/spec/client/typedentities/JAXRSClient#clientSourceWriterTest_from_standalone
{code}

At the time this issue was filed, the test failed with the following output.

{code}
[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
{code}

See the attached javatest.log and jtr file for full test details




--
This message was sent by Atlassian Jira
(v8.3.4#803005)