service.FAILURE

zimbra.org | 4 months ago
  1. 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
  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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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.
  5. 0

    Why am I getting chunked stream ended unexpectedly when I use HttpClient?

    Stack Overflow | 4 years ago | Dale
    java.io.IOException: chunked stream ended unexpectedly

    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:206)
      2. org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:218)
      3. org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:175)
      3 frames
    3. Java RT
      FilterInputStream.read
      1. java.io.FilterInputStream.read(Unknown Source)
      1 frame
    4. HttpClient
      AutoCloseInputStream.read
      1. org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:107)
      1 frame
    5. Java RT
      FilterInputStream.read
      1. java.io.FilterInputStream.read(Unknown Source)
      2. java.io.FilterInputStream.read(Unknown Source)
      3. java.io.PushbackInputStream.read(Unknown Source)
      4. java.util.zip.InflaterInputStream.fill(Unknown Source)
      5. java.util.zip.InflaterInputStream.read(Unknown Source)
      6. java.util.zip.ZipInputStream.read(Unknown Source)
      7. java.io.FilterInputStream.read(Unknown Source)
      7 frames
    6. com.zimbra.common
      ByteUtil.readInput
      1. com.zimbra.common.util.ByteUtil.readInput(ByteUtil.java:621)
      1 frame
    7. com.zimbra.cs
      DesktopMailbox$1.run
      1. com.zimbra.cs.mailbox.InitialSync.saveMessage(InitialSync.java:872)
      2. com.zimbra.cs.mailbox.InitialSync.syncMessages(InitialSync.java:812)
      3. com.zimbra.cs.mailbox.InitialSync.syncMessagelikeItems(InitialSync.java:367)
      4. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:251)
      5. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:309)
      6. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:309)
      7. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:309)
      8. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:309)
      9. com.zimbra.cs.mailbox.InitialSync.prioritySync(InitialSync.java:320)
      10. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:298)
      11. com.zimbra.cs.mailbox.InitialSync.initialFolderSync(InitialSync.java:309)
      12. com.zimbra.cs.mailbox.InitialSync.sync(InitialSync.java:156)
      13. com.zimbra.cs.mailbox.InitialSync.sync(InitialSync.java:143)
      14. com.zimbra.cs.mailbox.MailboxSync.sync(MailboxSync.java:125)
      15. com.zimbra.cs.mailbox.OfflineMailbox.sync(OfflineMailbox.java:103)
      16. com.zimbra.cs.mailbox.OfflineMailbox.syncOnTimer(OfflineMailbox.java:89)
      17. com.zimbra.cs.mailbox.DesktopMailbox$1.run(DesktopMailbox.java:113)
      17 frames
    8. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Unknown Source)
      2. java.util.TimerThread.run(Unknown Source)
      2 frames