Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sakai JIRA by Nick Ruest, 1 year ago
via Apache's JIRA Issue Tracker by Shalin Shekhar Mangar, 1 year ago
via Google Groups by acw...@gmail.com (JIRA), 1 year ago
via GitHub by himanshug
, 2 years ago
java.nio.BufferOverflowException: 	at java.nio.Buffer.nextPutIndex(Buffer.java:521)	at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:169)	at org.eclipse.jetty.http.HttpGenerator.putSanitisedValue(HttpGenerator.java:1051)	at org.eclipse.jetty.http.HttpGenerator.putTo(HttpGenerator.java:1073)	at org.eclipse.jetty.http.HttpGenerator.generateHeaders(HttpGenerator.java:697)	at org.eclipse.jetty.http.HttpGenerator.generateResponse(HttpGenerator.java:379)	at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:599)	at org.eclipse.jetty.util.IteratingCallback.processIterations(IteratingCallback.java:233)	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:193)	at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:448)	at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:764)	at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:802)	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:139)	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:132)	at org.eclipse.jetty.server.HttpOutput.flush(HttpOutput.java:234)	at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.flush(ResponseWriter.java:330)	at org.glassfish.jersey.message.internal.CommittingOutputStream.flush(CommittingOutputStream.java:292)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.flush(WriterInterceptorExecutor.java:304)	at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)	at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)	at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)	at org.glassfish.jersey.message.internal.ReaderWriter.writeToAsString(ReaderWriter.java:193)	at org.glassfish.jersey.message.internal.AbstractMessageReaderWriterProvider.writeToAsString(AbstractMessageReaderWriterProvider.java:130)	at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:99)	at org.glassfish.jersey.message.internal.StringMessageProvider.writeTo(StringMessageProvider.java:59)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)	at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)	at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86)	at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)	at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130)	at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711)	at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:490)	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:334)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)	at org.glassfish.jersey.internal.Errors.process(Errors.java:315)	at org.glassfish.jersey.internal.Errors.process(Errors.java:297)	at org.glassfish.jersey.internal.Errors.process(Errors.java:267)	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)	at org.eclipse.jetty.server.Server.handle(Server.java:497)	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)	at java.lang.Thread.run(Thread.java:745)