[
https://issues.apache.org/jira/browse/DIRMINA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12705971#action_12705971
]
Ryan Gow edited comment on DIRMINA-634 at 5/5/09 2:36 AM:
----------------------------------------------------------
I've attached the suggested changes to SocketIoProcessor. A buffer is only
released when an unsent message is not being forwarded through the filter chain.
was (Author: rgow):
SocketIoProcessor containing changes to release buffer only when an unsent
message is not being forwarded through the filter chain.
> IllegalStateException: Already released Buffer in SSLFilter messageSent()
> -------------------------------------------------------------------------
>
> Key: DIRMINA-634
> URL: https://issues.apache.org/jira/browse/DIRMINA-634
> Project: MINA
> Issue Type: Bug
> Components: Filter
> Affects Versions: 1.1.6
> Environment: Solaris
> Reporter: Rajeshwari
> Fix For: 1.1.8
>
> Attachments: illegalstate_buffer_bug_repro.zip, SocketIoProcessor.java
>
>
> I'm using mina1.1.6 version. I got the following exception..
> E20:02:57.20 ERROR DEFAULT 1 Runtime error:
> java.lang.IllegalStateException: Already released buffer. You released the
> buffer too many times.\n\tat
> org.apache.mina.common.SimpleByteBufferAllocator$SimpleByteBuffer.release(SimpleByteBufferAllocator.java:81)\n\tat
>
> org.apache.mina.common.ByteBufferProxy.release(ByteBufferProxy.java:69)\n\tat
> org.apache.mina.filter.SSLFilter.messageSent(SSLFilter.java:434)\n\tat
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(AbstractIoFilterChain.java:320)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:53)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(AbstractIoFilterChain.java:653)\n\tat
>
> org.apache.mina.common.IoFilterAdapter.messageSent(IoFilterAdapter.java:85)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(AbstractIoFilterChain.java:320)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:53)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(AbstractIoFilterChain.java:653)\n\tat
>
> org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:222)\n\tat
>
> org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)\n\tat
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)\n\tat
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)\n\tat
> java.lang.Thread.run(Thread.java:595)\n for reqId = null
> E20:02:57.20 WARNING DEFAULT 2 RouteHandler reqId
> nulljava.lang.IllegalStateException: Already released buffer. You released
> the buffer too many times.\n\tat
> org.apache.mina.common.SimpleByteBufferAllocator$SimpleByteBuffer.release(SimpleByteBufferAllocator.java:81)\n\tat
>
> org.apache.mina.common.ByteBufferProxy.release(ByteBufferProxy.java:69)\n\tat
> org.apache.mina.filter.SSLFilter.messageSent(SSLFilter.java:434)\n\tat
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(AbstractIoFilterChain.java:320)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:53)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(AbstractIoFilterChain.java:653)\n\tat
>
> org.apache.mina.common.IoFilterAdapter.messageSent(IoFilterAdapter.java:85)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageSent(AbstractIoFilterChain.java:320)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:53)\n\tat
>
> org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageSent(AbstractIoFilterChain.java:653)\n\tat
>
> org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:222)\n\tat
>
> org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264)\n\tat
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)\n\tat
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)\n\tat
> java.lang.Thread.run(Thread.java:595)\n
> Any known bug is there.. ??
> can anyone give insight into this ??
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.