org.mule.umo.transformer.TransformerException: Could not read InputStream.

MuleSoft JIRA | andrew cooke | 9 years ago
  1. 0

    Not sure what this is, or why I just saw it now on my own machine (running via Maven, once), but it looks like this is still some issue with either streaming or some new[?] problem related to XFire. ------------------------------------------------------------------------------- Test set: org.mule.providers.soap.xfire.XFireWsdlCallTestCase ------------------------------------------------------------------------------- Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.486 sec <<< FAILURE! request wsdl with servlets (org.mule.providers.soap.xfire.XFireWsdlCallTestCase) Time elapsed: 10.816 sec <<< ERROR! org.mule.umo.transformer.TransformerException: Could not read InputStream. at org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:60) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:257) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:171) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:120) at org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:276) at org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:249) at org.mule.providers.soap.xfire.XFireWsdlCallTestCase.testRequestWsdlWithServlets(XFireWsdlCallTestCase.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:222) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:202) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) Caused by: java.io.IOException: CRLF expected at end of chunk: -1/-1 at org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207) at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219) at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127) at org.mule.impl.model.streaming.DelegatingInputStream.read(DelegatingInputStream.java:58) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:55) ... 34 more ... 34 more I will leave test enabled, but add this to the exclusions file commented out, so that we get a better idea of how often this fails.

    MuleSoft JIRA | 9 years ago | andrew cooke
    org.mule.umo.transformer.TransformerException: Could not read InputStream.
  2. 0

    Not sure what this is, or why I just saw it now on my own machine (running via Maven, once), but it looks like this is still some issue with either streaming or some new[?] problem related to XFire. ------------------------------------------------------------------------------- Test set: org.mule.providers.soap.xfire.XFireWsdlCallTestCase ------------------------------------------------------------------------------- Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.486 sec <<< FAILURE! request wsdl with servlets (org.mule.providers.soap.xfire.XFireWsdlCallTestCase) Time elapsed: 10.816 sec <<< ERROR! org.mule.umo.transformer.TransformerException: Could not read InputStream. at org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:60) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:257) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:171) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:120) at org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:276) at org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:249) at org.mule.providers.soap.xfire.XFireWsdlCallTestCase.testRequestWsdlWithServlets(XFireWsdlCallTestCase.java:91) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:222) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:202) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125) at org.apache.maven.surefire.Surefire.run(Surefire.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818) Caused by: java.io.IOException: CRLF expected at end of chunk: -1/-1 at org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207) at org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219) at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176) at java.io.FilterInputStream.read(FilterInputStream.java:111) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127) at org.mule.impl.model.streaming.DelegatingInputStream.read(DelegatingInputStream.java:58) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025) at org.apache.commons.io.IOUtils.copy(IOUtils.java:999) at org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:55) ... 34 more ... 34 more I will leave test enabled, but add this to the exclusions file commented out, so that we get a better idea of how often this fails.

    MuleSoft JIRA | 9 years ago | andrew cooke
    org.mule.umo.transformer.TransformerException: Could not read InputStream.
  3. 0

    Mule - MuleMessage.getPayloadString() gives me java.io.IOException: Bad chunk size

    Stack Overflow | 2 years ago | Mathias Ghys
    org.mule.api.transformer.TransformerException: Could not read InputStream.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IO errors integrating two Java webapps via http

    Stack Overflow | 2 years ago | Slash
    java.io.IOException: CRLF expected at end of chunk: -1/-1

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      CRLF expected at end of chunk: -1/-1

      at org.apache.commons.httpclient.ChunkedInputStream.readCRLF()
    2. HttpClient
      ChunkedInputStream.read
      1. org.apache.commons.httpclient.ChunkedInputStream.readCRLF(ChunkedInputStream.java:207)
      2. org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:219)
      3. org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:176)
      3 frames
    3. Java RT
      FilterInputStream.read
      1. java.io.FilterInputStream.read(FilterInputStream.java:111)
      1 frame
    4. HttpClient
      AutoCloseInputStream.read
      1. org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:108)
      1 frame
    5. Java RT
      FilterInputStream.read
      1. java.io.FilterInputStream.read(FilterInputStream.java:90)
      1 frame
    6. HttpClient
      AutoCloseInputStream.read
      1. org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:127)
      1 frame
    7. org.mule.impl
      DelegatingInputStream.read
      1. org.mule.impl.model.streaming.DelegatingInputStream.read(DelegatingInputStream.java:58)
      1 frame
    8. Commons IO
      IOUtils.copy
      1. org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1025)
      2. org.apache.commons.io.IOUtils.copy(IOUtils.java:999)
      2 frames
    9. org.mule.transformers
      AbstractTransformer.transform
      1. org.mule.transformers.simple.ObjectToString.doTransform(ObjectToString.java:55)
      2. org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:257)
      2 frames
    10. org.mule.impl
      MuleMessage.getPayloadAsString
      1. org.mule.impl.MuleMessage.getPayload(MuleMessage.java:171)
      2. org.mule.impl.MuleMessage.getPayload(MuleMessage.java:120)
      3. org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:276)
      4. org.mule.impl.MuleMessage.getPayloadAsString(MuleMessage.java:249)
      4 frames
    11. org.mule.providers
      XFireWsdlCallTestCase.testRequestWsdlWithServlets
      1. org.mule.providers.soap.xfire.XFireWsdlCallTestCase.testRequestWsdlWithServlets(XFireWsdlCallTestCase.java:91)
      1 frame
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    13. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      2 frames
    14. Mule Functional Test Framework (TCK)
      AbstractMuleTestCase.runBare
      1. org.mule.tck.AbstractMuleTestCase.runBare(AbstractMuleTestCase.java:222)
      1 frame
    15. JUnit
      TestCase.run
      1. junit.framework.TestResult$1.protect(TestResult.java:106)
      2. junit.framework.TestResult.runProtected(TestResult.java:124)
      3. junit.framework.TestResult.run(TestResult.java:109)
      4. junit.framework.TestCase.run(TestCase.java:120)
      4 frames
    16. Mule Functional Test Framework (TCK)
      AbstractMuleTestCase.run
      1. org.mule.tck.AbstractMuleTestCase.run(AbstractMuleTestCase.java:202)
      1 frame
    17. JUnit
      TestSuite.run
      1. junit.framework.TestSuite.runTest(TestSuite.java:230)
      2. junit.framework.TestSuite.run(TestSuite.java:225)
      2 frames
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    19. org.apache.maven
      JUnitTestSet.execute
      1. org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
      1 frame
    20. SureFire
      Surefire.run
      1. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
      2. org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)
      3. org.apache.maven.surefire.Surefire.run(Surefire.java:132)
      3 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    22. SureFire
      SurefireBooter.main
      1. org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
      2. org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)
      2 frames