IndexOutOfBoundsException in HeapByteBuffer

Michael McGrady mmcgrady at topiatechnology.com
Wed Oct 21 18:55:44 EDT 2009


I get this exception every time while running a test that previously  
did not have an exception.  I am now using 3.1.5-GA.

Any ideas?

Mike

Oct 21, 2009 3:52:10 PM  
net.sourceforge.karma.Test_7_KarmaPingPongHeavyTest
INFO: Custom Manager files: [spring.jar]
Oct 21, 2009 3:52:10 PM  
net.sourceforge.karma.spi.transport.netty.KarmaSslContextFactory
INFO: SECURITY ALGORITHM: SunX509
Oct 21, 2009 3:52:11 PM  
net.sourceforge.karma.spi.transport.netty.NettyKarmaProtocol
INFO: Created  
net.sourceforge.karma.spi.transport.netty.NettyKarmaSender at aa439e80
Oct 21, 2009 3:52:11 PM org.jboss.netty.channel.DefaultChannelFuture
WARNING: An exception was thrown by ChannelFutureListener.
java.lang.IndexOutOfBoundsException: 13718
	at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:121)
	at java.nio.ByteBuffer.hashCode(ByteBuffer.java:1065)
	at java.util.Arrays.hashCode(Arrays.java:2642)
	at  
net 
.sourceforge 
.karma 
.spi 
.transport.netty.KarmaSslBufferPool.hashCode(KarmaSslBufferPool.java:50)
	at  
net 
.sourceforge 
.karma 
.spi.transport.netty.KarmaSslHandler.hashCode(KarmaSslHandler.java:133)
	at java.lang.Object.toString(Object.java:209)
	at java.lang.String.valueOf(String.java:2615)
	at java.lang.StringBuilder.append(StringBuilder.java:116)
	at net.sourceforge.karma.spi.transport.netty.KarmaDecoder 
$ConnectionNotice.operationComplete(KarmaDecoder.java:128)
	at  
org 
.jboss 
.netty 
.channel.DefaultChannelFuture.notifyListener(DefaultChannelFuture.java: 
366)
	at  
org 
.jboss 
.netty 
.channel 
.DefaultChannelFuture.notifyListeners(DefaultChannelFuture.java:352)
	at  
org 
.jboss 
.netty 
.channel.DefaultChannelFuture.setSuccess(DefaultChannelFuture.java:303)
	at  
net 
.sourceforge 
.karma 
.spi 
.transport 
.netty.KarmaSslHandler.setHandshakeSuccess(KarmaSslHandler.java:946)
	at  
net 
.sourceforge 
.karma 
.spi 
.transport.netty.KarmaSslHandler.wrapNonAppData(KarmaSslHandler.java: 
787)
	at  
net 
.sourceforge 
.karma.spi.transport.netty.KarmaSslHandler.unwrap(KarmaSslHandler.java: 
862)
	at  
net 
.sourceforge 
.karma.spi.transport.netty.KarmaSslHandler.decode(KarmaSslHandler.java: 
573)
	at  
org 
.jboss 
.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java: 
282)
	at  
org 
.jboss 
.netty 
.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:216)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java: 
345)
	at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java: 
332)
	at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java: 
323)
	at  
org 
.jboss 
.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java: 
275)
	at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
	at  
org 
.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java: 
46)
	at java.util.concurrent.ThreadPoolExecutor 
$Worker.runTask(ThreadPoolExecutor.java:651)
	at java.util.concurrent.ThreadPoolExecutor 
$Worker.run(ThreadPoolExecutor.java:676)
	at java.lang.Thread.run(Thread.java:613)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20091021/b7a4eb4c/attachment.html 


More information about the netty-users mailing list