java.lang.RuntimeException: Couldn't parse stream.

Apache's JIRA Issue Tracker | Olivier Hortin | 5 years ago
  1. 0

    [jira] [Updated] (CXF-3898) Socket Read Timeout - Couldn't parse stream - Runtime Exception - JOnAS 5.1

    cxf-issues | 5 years ago | Daniel Kulp (Updated) (JIRA)
    java.lang.RuntimeException: Couldn't parse stream.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    [jira] [Updated] (CXF-3898) Socket Read Timeout - Couldn't parse stream - Runtime Exception - JOnAS 5.1

    cxf-issues | 5 years ago | Daniel Kulp (Updated) (JIRA)
    java.lang.RuntimeException: Couldn't parse stream.
  4. 0

    Hi, I'm facing Socket Read Timeout kind of problem concerning CXF services deployed on a JOnAS 5.1.5 application server running with JDK 1.6. I'm stuck, and actually no way to get rid of it. The problem happens sporadically,thanks for your comments & help : The stack : java.lang.RuntimeException: Couldn't parse stream. at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:816) at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:88) at org.ow2.jonas.ws.cxf.http.JOnASDestination.invoke(JOnASDestination.java:111) at org.ow2.jonas.ws.cxf.jaxws.CXFWSEndpoint.invoke(CXFWSEndpoint.java:151) at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.invokeDestination(JAXWSServlet.java:113) at org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.doPost(JAXWSServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) Caused by: com.ctc.wstx.exc.WstxIOException: Read timed out at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548) at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604) at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629) at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324) at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:814) ... 21 more Caused by: java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:751) at org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781) at org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:243) at org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:273) at org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:132) at org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710) at org.apache.coyote.Request.doRead(Request.java:428) at org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304) at org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403) at org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327) at org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162) at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362) at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110) at com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245) at com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132) at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543) ... 25 more

    Apache's JIRA Issue Tracker | 5 years ago | Olivier Hortin
    java.lang.RuntimeException: Couldn't parse stream.

  1. mauritius 93 times, last 3 days ago
  2. Aria Pahlavan 4 times, last 3 weeks ago
  3. poroszd 4 times, last 4 weeks ago
  4. aldrinleal 1 times, last 2 months ago
  5. Nikolay Rybak 1 times, last 2 months ago
11 more registered users
70 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.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.read(SocketInputStream.java:129)
    2 frames
  3. Grizzly HTTP
    Request.doRead
    1. org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:751)
    2. org.apache.coyote.http11.InternalInputBuffer$InputStreamInputBuffer.doRead(InternalInputBuffer.java:781)
    3. org.apache.coyote.http11.filters.ChunkedInputFilter.readBytes(ChunkedInputFilter.java:243)
    4. org.apache.coyote.http11.filters.ChunkedInputFilter.parseChunkHeader(ChunkedInputFilter.java:273)
    5. org.apache.coyote.http11.filters.ChunkedInputFilter.doRead(ChunkedInputFilter.java:132)
    6. org.apache.coyote.http11.InternalInputBuffer.doRead(InternalInputBuffer.java:710)
    7. org.apache.coyote.Request.doRead(Request.java:428)
    7 frames
  4. Glassfish Core
    InputBuffer.realReadBytes
    1. org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:304)
    1 frame
  5. Tomcat Util
    ByteChunk.substract
    1. org.apache.tomcat.util.buf.ByteChunk.substract(ByteChunk.java:403)
    1 frame
  6. Glassfish Core
    CoyoteInputStream.read
    1. org.apache.catalina.connector.InputBuffer.read(InputBuffer.java:327)
    2. org.apache.catalina.connector.CoyoteInputStream.read(CoyoteInputStream.java:162)
    2 frames
  7. Woodstox
    WstxInputFactory.createXMLStreamReader
    1. com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362)
    2. com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110)
    3. com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245)
    4. com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132)
    5. com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
    6. com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
    7. com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629)
    8. com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324)
    8 frames
  8. Apache CXF Core
    ChainInitiationObserver.onMessage
    1. org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:814)
    2. org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:83)
    3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
    4. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:88)
    4 frames
  9. org.ow2.jonas
    JAXWSServlet.doPost
    1. org.ow2.jonas.ws.cxf.http.JOnASDestination.invoke(JOnASDestination.java:111)
    2. org.ow2.jonas.ws.cxf.jaxws.CXFWSEndpoint.invoke(CXFWSEndpoint.java:151)
    3. org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.invokeDestination(JAXWSServlet.java:113)
    4. org.ow2.jonas.ws.jaxws.http.servlet.JAXWSServlet.doPost(JAXWSServlet.java:75)
    4 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    2 frames
  11. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
    8 frames
  12. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
    3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    3 frames
  13. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:619)
    1 frame