You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Ben Combrink (JIRA)" <ji...@apache.org> on 2009/04/01 18:19:13 UTC

[jira] Commented: (DIRMINA-634) IllegalStateException: Already released Buffer in SSLFilter messageSent()

    [ https://issues.apache.org/jira/browse/DIRMINA-634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694604#action_12694604 ] 

Ben Combrink commented on DIRMINA-634:
--------------------------------------

Hi

I've created 2 test programs that reproduce this error.
Attached in the zip called 'illegalstate_buffer_bug_repro.zip'.

They're based on the TimeServer example.
Each program logs any errors into its own text file.
After about a minute I see the error.

System details:
	JRE:
		I've produced the error on JRE version 1.5.0_09 and 1.6.0_13.

	MINA version: 
		mina-core-1.1.7

	OS:
		OS Name	Microsoft Windows XP Professional
		Version	5.1.2600 Service Pack 2 Build 2600
		
	CPUs:
		Processor	x86 Family 15 Model 6 Stepping 5 GenuineIntel ~3399 Mhz
		Processor	x86 Family 15 Model 6 Stepping 5 GenuineIntel ~3399 Mhz


Regards
Ben


> 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
>
>
> 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.