Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4085

JBWS3879TestCase gzip related CharConversionException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Minor
    • None
    • jbossws-cxf-5.2.0.Final
    • jbossws-cxf
    • None
    • Hide

      This cmd will run the test is -secmgr mode on wfly-11

      mvn -Dmaven.opts=-U -Pwildfly1100,wildfly9-secmgr integration-test \
      -Dtest=org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase

      Show
      This cmd will run the test is -secmgr mode on wfly-11 mvn -Dmaven.opts=-U -Pwildfly1100,wildfly9-secmgr integration-test \ -Dtest=org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase

    Description

      This only fails in -secmgr mode on wfly-11. It run in wfly-10 in -secmgr mode
      and in both wfly-10 and 11 in stnd mode.

      Here is the stacktrace of interest. The server log with more information is provided as
      an attachement.

      Caused by: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 0x8b (at char #2, byte #-1)
              at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:578)
              at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:633)
              at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:657)
              at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:342)
              at __redirected.__XMLInputFactory.createXMLStreamReader(__XMLInputFactory.java:143)
              at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:1725)
              ... 66 more
      Caused by: java.io.CharConversionException: Invalid UTF-8 start byte 0x8b (at char #2, byte #-1)
              at com.ctc.wstx.io.UTF8Reader.reportInvalidInitial(UTF8Reader.java:304)
              at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:190)
              at com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:254)
              at com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:134)
              at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:573)
              ... 71 more
      
      

      In googling the exception there are references to data being pass as a gzip.
      These 2 are of interest
      https://stackoverflow.com/questions/35248465/issue-with-invalid-utf-8-start-byte-0x8b-at-char-2-byte-1-mule-esb
      https://stackoverflow.com/questions/19092341/push-web-service-invalid-utf-8-start-byte

      Attachments

        Activity

          People

            Unassigned Unassigned
            rsearls r searls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: