On 8/7/07, Messi Chan <[EMAIL PROTECTED]> wrote:
>
> Hi, all
> I have a server A, which could receive client's request, then connect to
> other server B to fetch informations and return back to the client.
> This problem happened when I tested serverA's performance. I simulated 300
> concurrent client sent requests  constantly, and let server B return 200k
> message to server A, then server A sent it back to client.
> When server B return 100k, everything is ok. But, when server B return 200k,
> I met the problem:
>
> Caused by: java.lang.NullPointerException
>  at
> org.apache.mina.transport.socket.nio.SocketConnector.connect(SocketConnector.java:203)
>  at
> org.apache.mina.transport.socket.nio.SocketConnector.connect(SocketConnector.java:132)
>  at com.ce.common.client.SocketClient.send(Unknown Source)
>  at
> com.ce.communicator.service.impl.TransmitServiceImpl.transmitFromCommunicator2Cinema(Unknown
> Source)
>  at
> com.ce.communicator.handler.CommunicatorMessageConsumer.transmit2Cinema(Unknown
> Source)
>  ... 6 more
>
> BTW, I use Mina1.1.1
> I don't know if this issue is consequent on
> http://issues.apache.org/jira/browse/DIRMINA-416
> http://issues.apache.org/jira/browse/DIRMINA-416
> . This problem has troubled me a long time, anyone could help me?

It should be fixed in the next release.  I have checked in the fix.
Thanks for reporting the problem!

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

Reply via email to