You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Julien Vermillard <jv...@archean.fr> on 2005/12/23 12:42:28 UTC
Re: [MINA] java.lang.IllegalStateException: doFlush must return
future.
Hi Trustin,
I sen my message from multiple threads, it's hard for me to change it
for testing :(
Le vendredi 23 décembre 2005 à 20:39 +0900, Trustin Lee a écrit :
> 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 <jv...@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
Re: [MINA] java.lang.IllegalStateException: doFlush must return future.
Posted by Trustin Lee <tr...@gmail.com>.
OK, I checked in the fix. Please try again with the snapshot build. I
didn't deploy it, so you'll have to build it by yourself.
HTH,
Trustin
2005/12/23, Julien Vermillard <jv...@archean.fr>:
>
> Hi Trustin,
>
> I sen my message from multiple threads, it's hard for me to change it
> for testing :(
> Le vendredi 23 décembre 2005 à 20:39 +0900, Trustin Lee a écrit :
> > 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 <jv...@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
>
>
--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C