0 Replies Latest reply on Dec 1, 2015 7:05 AM by valsaraj viswanathan

    BufferOverflowException when refreshing page multiple times

    valsaraj viswanathan Master

      [javax.enterprise.resource.webcontainer.jsf.context] (default task-1) Exception when handling error trying to reset the response.: java.nio.BufferOverflowException

        at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:357) [rt.jar:1.7.0_07]

        at java.nio.ByteBuffer.put(ByteBuffer.java:832) [rt.jar:1.7.0_07]

        at io.undertow.util.HttpString.appendTo(HttpString.java:204) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.server.protocol.http.HttpResponseConduit.processWrite(HttpResponseConduit.java:166) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.server.protocol.http.HttpResponseConduit.write(HttpResponseConduit.java:564) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.conduits.ChunkedStreamSinkConduit.doWrite(ChunkedStreamSinkConduit.java:186) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.conduits.ChunkedStreamSinkConduit.write(ChunkedStreamSinkConduit.java:126) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at org.xnio.conduits.ConduitStreamSinkChannel.write(ConduitStreamSinkChannel.java:150)

        at io.undertow.channels.DetachableStreamSinkChannel.write(DetachableStreamSinkChannel.java:239) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.server.HttpServerExchange$WriteDispatchChannel.write(HttpServerExchange.java:1850) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.servlet.spec.ServletOutputStreamImpl.writeBufferBlocking(ServletOutputStreamImpl.java:567) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.servlet.spec.ServletOutputStreamImpl.flushInternal(ServletOutputStreamImpl.java:482) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.servlet.spec.ServletPrintWriter.write(ServletPrintWriter.java:136) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.servlet.spec.ServletPrintWriter.write(ServletPrintWriter.java:245) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.servlet.spec.ServletPrintWriter.write(ServletPrintWriter.java:249) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

        at io.undertow.servlet.spec.ServletPrintWriterDelegate.write(ServletPrintWriterDelegate.java:119) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

        at com.sun.faces.application.view.WriteBehindStateWriter.flushToWriter(WriteBehindStateWriter.java:289) [jsf-impl-2.2.8-jbossorg-1.jar:]

        at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:473) [jsf-impl-2.2.8-jbossorg-1.jar:]

        at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133) [jsf-impl-2.2.8-jbossorg-1.jar:]

        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

        at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

        at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) [jsf-impl-2.2.8-jbossorg-1.jar:]

        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.8-jbossorg-1.jar:]

        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) [jsf-impl-2.2.8-jbossorg-1.jar:]

        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) [jboss-jsf-api_2.2_spec-2.2.8.jar:2.2.8]

       

      I saw this in WildFly log. What may be the reason for this?