Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7996 Jakarta EE TCKs and compatibility
  3. CXF-8519

jaxrs.spec.provider.standardnotnull clientSourceProviderTest

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

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/provider/standardnotnull/JAXRSClient#clientSourceProviderTest_from_standalone
      

      Running it locally:

      git clone git@github.com:tckwork/cxf.git
      cd cxf
      ./runtests com/sun/ts/tests/jaxrs/spec/provider/standardnotnull/JAXRSClient#clientSourceProviderTest_from_standalone
      

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

      [javatest.batch] 04-15-2021 22:01:25:  ERROR: javax.ws.rs.client.ResponseProcessingException: Problem with reading the data, class javax.xml.transform.Source, ContentType: application/xml.
      [javatest.batch] 	at org.apache.cxf.jaxrs.impl.ResponseImpl.reportMessageHandlerProblem(ResponseImpl.java:557)
      [javatest.batch] 	at org.apache.cxf.jaxrs.impl.ResponseImpl.doReadEntity(ResponseImpl.java:499)
      [javatest.batch] 	at org.apache.cxf.jaxrs.impl.ResponseImpl.readEntity(ResponseImpl.java:408)
      [javatest.batch] 	at org.apache.cxf.jaxrs.impl.ResponseImpl.readEntity(ResponseImpl.java:398)
      [javatest.batch] 	at com.sun.ts.tests.jaxrs.common.client.JaxrsCommonClient.getResponseBody(JaxrsCommonClient.java:291)
      [javatest.batch] 	at com.sun.ts.tests.jaxrs.spec.provider.standardnotnull.JAXRSClient.clientSourceProviderTest(JAXRSClient.java:342)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:596)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:40)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:105)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
      [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: 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:1727)
      [javatest.batch] 	at org.apache.cxf.jaxrs.provider.SourceProvider.getReader(SourceProvider.java:143)
      [javatest.batch] 	at org.apache.cxf.jaxrs.provider.SourceProvider.readFrom(SourceProvider.java:124)
      [javatest.batch] 	at org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBodyReader(JAXRSUtils.java:1435)
      [javatest.batch] 	at org.apache.cxf.jaxrs.impl.ResponseImpl.doReadEntity(ResponseImpl.java:472)
      [javatest.batch] 	... 16 more
      [javatest.batch] 
      [javatest.batch] 04-15-2021 22:01:25:  [JAXRSCommonClient] Test cleanup OK
      [javatest.batch] STATUS:Failed.Test case throws exception: Problem with reading the data, class javax.xml.transform.Source, ContentType: application/xml.
      [javatest.batch] Apr 15, 2021 10:01:27 PM Finished executing all tests, wait for cleanup...Failed. Test case throws exception: Problem with reading the data, class javax.xml.transform.Source, ContentType: application/xml.
      [javatest.batch] Apr 15, 2021 10:01:27 PM Harness done with cleanup from test run.
      [javatest.batch] 
      [javatest.batch] ********************************************************************************
      [javatest.batch] Finished Test:  FAILED........com/sun/ts/tests/jaxrs/spec/provider/standardnotnull/JAXRSClient.java#clientSourceProviderTest_from_standalone
      

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

      Attachments

        1. JAXRSClient_clientSourceProviderTest_from_standalone.jtr
          12 kB
          David Blevins
        2. test.txt
          0.1 kB
          David Blevins
        3. javatest.log
          12 kB
          David Blevins

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            reta Andriy Redko
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment