java.lang.IllegalStateException: Can not skip more bytes than available

Oracle Community | BlueMice | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Application server appears to hang with “Can not skip more bytes than available” exception

    Oracle Community | 5 years ago | BlueMice
    java.lang.IllegalStateException: Can not skip more bytes than available

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Can not skip more bytes than available

      at org.glassfish.grizzly.http.server.io.InputBuffer.skip()
    2. Grizzly Server
      Request.getParameterNames
      1. org.glassfish.grizzly.http.server.io.InputBuffer.skip(InputBuffer.java:611)
      2. org.glassfish.grizzly.http.server.Request.skipPostBody(Request.java:1881)
      3. org.glassfish.grizzly.http.server.Request.parseRequestParameters(Request.java:1850)
      4. org.glassfish.grizzly.http.server.Request.getParameterNames(Request.java:948)
      4 frames
    3. Glassfish Core
      RequestFacade.getParameterMap
      1. org.apache.catalina.connector.Request.getParameterNames(Request.java:1379)
      2. org.apache.catalina.connector.Request.getParameterMap(Request.java:1354)
      3. org.apache.catalina.connector.RequestFacade.getParameterMap(RequestFacade.java:482)
      3 frames
    4. Struts2
      StrutsPrepareAndExecuteFilter.doFilter
      1. org.apache.struts2.dispatcher.Dispatcher.createContextMap(Dispatcher.java:528)
      2. org.apache.struts2.dispatcher.ng.PrepareOperations.createActionContext(PrepareOperations.java:78)
      3. org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:78)
      3 frames
    5. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:284)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
      5. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
      6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
      7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
      8. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:339)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242)
      9 frames
    6. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:172)
      1 frame
    7. Grizzly Server
      HttpServerFilter.handleRead
      1. org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:163)
      2. org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:161)
      2 frames
    8. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
      2. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:286)
      3. org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:223)
      4. org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:155)
      5. org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:134)
      6. org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
      7. org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:829)
      8. org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:103)
      9. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:111)
      10. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
      11. org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:131)
      12. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:508)
      13. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:488)
      13 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame