Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-634

IllegalStateException: Already released Buffer in SSLFilter messageSent()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1.6
    • 1.1.8
    • Filter
    • None
    • Solaris

    Description

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

      Attachments

        1. SocketIoProcessor.java
          18 kB
          Ryan Gow
        2. illegalstate_buffer_bug_repro.zip
          633 kB
          Ben Combrink

        Activity

          People

            Unassigned Unassigned
            rmuthupa Rajeshwari
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: