powered by Jive Software

Weird error (IllegalStateException) - Any ideas?

Looking through our production logs, I am seeing quite a few of these errors:

2008.03.14 10:43:16 org.jivesoftware.openfire.nio.ConnectionHandler.exceptionCaught(ConnectionHandle r.java:109)

java.lang.IllegalStateException: Already released buffer. You released the buffer too many times.

at org.apache.mina.common.SimpleByteBufferAllocator$SimpleByteBuffer.release(Simpl eByteBufferAllocator.java:81)

at org.apache.mina.util.ByteBufferUtil.releaseIfPossible(ByteBufferUtil.java:39)

at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageSent(Abs tractIoFilterChain.java:581)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(Abstra ctIoFilterChain.java:320)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(Ab stractIoFilterChain.java:653)

at org.apache.mina.filter.codec.ProtocolCodecFilter.messageSent(ProtocolCodecFilte r.java:186)

at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(Abstra ctIoFilterChain.java:320)

at org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilt erChain.java:53)

at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(Ab stractIoFilterChain.java:653)

at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java :241)

at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(Execut orFilter.java:283)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)

at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)

at java.lang.Thread.run(Thread.java:619)

Any idea if this is a problem we should be concerned about? Will this possibly be fixed with 3.5.0 when updating to the latest version of MINA? The log was filled with these right before openfire crashd (the process simply disappeared, this seems to happen about once a week)