I'm doing a a test with breakpoint. The client send requests to the server
and after few seconds the client close the connection.
I receive this error in the console of my server.
2008-11-28 14:25:36 com.sun.grizzly.util.WorkerThreadImpl run
GRAVE: WorkerThreadImpl unexpected exception:
java.lang.NullPointerException
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:322)
at
com.sun.grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:88)
at
com.sun.grizzly.async.AbstractAsyncQueueWriter.doWrite(AbstractAsyncQueueWriter.java:397)
at
com.sun.grizzly.async.AbstractAsyncQueueWriter.onWrite(AbstractAsyncQueueWriter.java:303)
at
com.sun.grizzly.async.AsyncQueueWriterContextTask.doCall(AsyncQueueWriterContextTask.java:86)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at
com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:335)
at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:194)
There is a way to catch this exception ?