Skip to content

Instantly share code, notes, and snippets.

@purplefox
Created June 11, 2013 13:04
Show Gist options
  • Save purplefox/5756636 to your computer and use it in GitHub Desktop.
Save purplefox/5756636 to your computer and use it in GitHub Desktop.
SEVERE: Unhandled exception
java.lang.UnsupportedOperationException
at io.netty.buffer.DefaultCompositeByteBuf.nioBuffer(DefaultCompositeByteBuf.java:990)
at io.netty.buffer.SlicedByteBuf.nioBuffer(SlicedByteBuf.java:262)
at io.netty.buffer.DefaultCompositeByteBuf.nioBuffer(DefaultCompositeByteBuf.java:988)
at io.netty.buffer.AbstractByteBuf.toString(AbstractByteBuf.java:967)
at io.netty.buffer.AbstractByteBuf.toString(AbstractByteBuf.java:956)
at io.netty.handler.codec.http.multipart.MemoryAttribute.getValue(MemoryAttribute.java:47)
at org.vertx.java.core.http.impl.DefaultHttpServerRequest$InternalMemoryAttribute.attributeCreated(DefaultHttpServerRequest.java:527)
at org.vertx.java.core.http.impl.DefaultHttpServerRequest$InternalMemoryAttribute.addContent(DefaultHttpServerRequest.java:552)
at io.netty.handler.codec.http.multipart.HttpPostRequestDecoder.setFinalBuffer(HttpPostRequestDecoder.java:689)
at io.netty.handler.codec.http.multipart.HttpPostRequestDecoder.parseBodyAttributes(HttpPostRequestDecoder.java:661)
at io.netty.handler.codec.http.multipart.HttpPostRequestDecoder.parseBody(HttpPostRequestDecoder.java:426)
at io.netty.handler.codec.http.multipart.HttpPostRequestDecoder.offer(HttpPostRequestDecoder.java:369)
at org.vertx.java.core.http.impl.DefaultHttpServerRequest.handleEnd(DefaultHttpServerRequest.java:286)
at org.vertx.java.core.http.impl.ServerConnection.handleEnd(ServerConnection.java:191)
at org.vertx.java.core.http.impl.ServerConnection.processMessage(ServerConnection.java:294)
at org.vertx.java.core.http.impl.ServerConnection.handleMessage(ServerConnection.java:96)
at org.vertx.java.core.http.impl.DefaultHttpServer$ServerHandler.doMessageReceived(DefaultHttpServer.java:639)
at org.vertx.java.core.http.impl.DefaultHttpServer$ServerHandler.doMessageReceived(DefaultHttpServer.java:541)
at org.vertx.java.core.http.impl.VertxHttpHandler.messageReceived(VertxHttpHandler.java:84)
at io.netty.channel.ChannelHandlerUtil.handleInboundBufferUpdated(ChannelHandlerUtil.java:60)
at org.vertx.java.core.http.impl.VertxHttpHandler.inboundBufferUpdated(VertxHttpHandler.java:53)
at io.netty.channel.DefaultChannelHandlerContext.invokeInboundBufferUpdated(DefaultChannelHandlerContext.java:1031)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated0(DefaultChannelHandlerContext.java:998)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated(DefaultChannelHandlerContext.java:978)
at io.netty.handler.stream.ChunkedWriteHandler.inboundBufferUpdated(ChunkedWriteHandler.java:154)
at io.netty.channel.DefaultChannelHandlerContext.invokeInboundBufferUpdated(DefaultChannelHandlerContext.java:1057)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated0(DefaultChannelHandlerContext.java:998)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated(DefaultChannelHandlerContext.java:978)
at io.netty.handler.codec.ReplayingDecoder.callDecode(ReplayingDecoder.java:441)
at io.netty.handler.codec.ByteToMessageDecoder.inboundBufferUpdated(ByteToMessageDecoder.java:69)
at io.netty.channel.ChannelInboundByteHandlerAdapter.inboundBufferUpdated(ChannelInboundByteHandlerAdapter.java:46)
at io.netty.channel.DefaultChannelHandlerContext.invokeInboundBufferUpdated(DefaultChannelHandlerContext.java:1031)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated0(DefaultChannelHandlerContext.java:998)
at io.netty.channel.DefaultChannelHandlerContext.forwardBufferContentAndFree(DefaultChannelHandlerContext.java:278)
at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved0(DefaultChannelPipeline.java:544)
at io.netty.channel.DefaultChannelPipeline.callHandlerRemoved(DefaultChannelPipeline.java:532)
at io.netty.channel.DefaultChannelPipeline.remove0(DefaultChannelPipeline.java:364)
at io.netty.channel.DefaultChannelPipeline.remove(DefaultChannelPipeline.java:334)
at io.netty.channel.DefaultChannelPipeline.remove(DefaultChannelPipeline.java:311)
at org.vertx.java.core.http.impl.cgbystrom.FlashPolicyHandler.decode(FlashPolicyHandler.java:76)
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:111)
at io.netty.handler.codec.ByteToMessageDecoder.inboundBufferUpdated(ByteToMessageDecoder.java:69)
at io.netty.channel.ChannelInboundByteHandlerAdapter.inboundBufferUpdated(ChannelInboundByteHandlerAdapter.java:46)
at io.netty.channel.DefaultChannelHandlerContext.invokeInboundBufferUpdated(DefaultChannelHandlerContext.java:1031)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated0(DefaultChannelHandlerContext.java:998)
at io.netty.channel.DefaultChannelHandlerContext.fireInboundBufferUpdated(DefaultChannelHandlerContext.java:978)
at io.netty.channel.DefaultChannelPipeline.fireInboundBufferUpdated(DefaultChannelPipeline.java:828)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:118)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:429)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:392)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:322)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:114)
at java.lang.Thread.run(Thread.java:722)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment