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 JBoss Issue Tracker by Álvaro Pereda, 1 year ago
io.netty.util.IllegalReferenceCountException: refCnt: 0	at io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1187)	at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1170)	at io.netty.buffer.AbstractByteBuf.readBytes(AbstractByteBuf.java:676)	at io.netty.buffer.CompositeByteBuf.readBytes(CompositeByteBuf.java:1461)	at io.netty.buffer.CompositeByteBuf.readBytes(CompositeByteBuf.java:40)	at io.netty.buffer.ByteBufInputStream.read(ByteBufInputStream.java:120)	at java.io.SequenceInputStream.read(SequenceInputStream.java:208)	at java.io.SequenceInputStream.read(SequenceInputStream.java:211)	at org.apache.james.mime4j.io.BufferedLineReaderInputStream.fillBuffer(BufferedLineReaderInputStream.java:94)	at org.apache.james.mime4j.io.MimeBoundaryInputStream.fillBuffer(MimeBoundaryInputStream.java:196)	at org.apache.james.mime4j.io.MimeBoundaryInputStream.(MimeBoundaryInputStream.java:75)	at org.apache.james.mime4j.parser.MimeEntity.createMimeStream(MimeEntity.java:217)	at org.apache.james.mime4j.parser.MimeEntity.advance(MimeEntity.java:152)	at org.apache.james.mime4j.parser.MimeTokenStream.next(MimeTokenStream.java:356)	at org.apache.james.mime4j.parser.MimeStreamParser.parse(MimeStreamParser.java:144)	at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl$BinaryMessage.(MultipartInputImpl.java:153)	at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl$BinaryMessage.(MultipartInputImpl.java:146)	at org.jboss.resteasy.plugins.providers.multipart.MultipartInputImpl.parse(MultipartInputImpl.java:197)	at org.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationReader.readFrom(MultipartFormAnnotationReader.java:55)	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.readFrom(AbstractReaderInterceptorContext.java:59)	at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext.readFrom(ServerReaderInterceptorContext.java:62)	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:51)	at org.jboss.resteasy.plugins.interceptors.encoding.GZIPDecodingInterceptor.aroundReadFrom(GZIPDecodingInterceptor.java:59)	at org.jboss.resteasy.core.interception.AbstractReaderInterceptorContext.proceed(AbstractReaderInterceptorContext.java:53)	at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:150)	at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:89)	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:112)	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:296)	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:250)	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:237)	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179)	at org.jboss.resteasy.plugins.server.netty.RequestDispatcher.service(RequestDispatcher.java:83)	at org.jboss.resteasy.plugins.server.netty.RequestHandler.channelRead0(RequestHandler.java:53)	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333)	at io.netty.channel.AbstractChannelHandlerContext.access$700(AbstractChannelHandlerContext.java:32)	at io.netty.channel.AbstractChannelHandlerContext$8.run(AbstractChannelHandlerContext.java:324)	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)	at java.lang.Thread.run(Thread.java:722)