directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [MINA] java.lang.IllegalStateException: doFlush must return future.
Date Fri, 23 Dec 2005 11:39:01 GMT
Hi Julien,

Did you send messages from more than one threads at the same time?  It seems
like ProtocolCodecFilter didn't synchronize filterWrite().  Please try to
send messages in order temporarily, and let me know if it happens again.

Trustin

2005/12/23, Julien Vermillard <jvermillard@archean.fr>:
>
> Hi,
>
> I walked on a strange exception. what's the meaning ?
>
> 2005-12-23 10:51:34,095 [IoThreadPool-1] ERROR ESMonitorProtocol MAIN -
> Exception :
> java.lang.IllegalStateException: doFlush must return future.
>  at org.apache.mina.filter.codec.support.SimpleProtocolEncoderOutput.flush
> (SimpleProtocolEncoderOutput.java:97)
>  at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(
> ProtocolCodecFilter.java:158)
>  at
> org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWrite
> (AbstractIoFilterChain.java:556)
>  at org.apache.mina.common.support.AbstractIoFilterChain.access$7(
> AbstractIoFilterChain.java:550)
>  at org.apache.mina.common.support.AbstractIoFilterChain$1.filterWrite(
> AbstractIoFilterChain.java:773)
>  at org.apache.mina.common.support.AbstractIoFilterChain$3.filterWrite(
> AbstractIoFilterChain.java:213)
>  at
> org.apache.mina.common.support.AbstractIoFilterChain.callPreviousFilterWrite
> (AbstractIoFilterChain.java:556)
>  at org.apache.mina.common.support.AbstractIoFilterChain.filterWrite(
> AbstractIoFilterChain.java:547)
>  at org.apache.mina.transport.socket.nio.support.SocketSessionImpl.write0(
> SocketSessionImpl.java:130)
>  at org.apache.mina.common.support.BaseIoSession.write(BaseIoSession.java
> :134)




--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C

Mime
View raw message