users@grizzly.java.net

Re: New null pointer error

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Thu, 11 Sep 2008 19:40:04 +0200

Mark,
please try the latest Grizzly 1.8.6-RC1 (see email from Jeanfrancois)
and let me know.
You'll probably see the NPE with the different stacktrace, which will
help us to figure out who registers null SelectionKey.

Thanks.

WBR,
Alexey.



On Sep 11, 2008, at 15:03 , Mark Hig wrote:

>
>
> Apologies but we have just got the NPE with version 1.8.5.3. We know
> for
> sure that this issue did not appear in 1.8.3. The exception is pasted
> below...
>
>
> 11-Sep-2008 13:59:33 com.sun.grizzly.Controller doSelect
> SEVERE: doSelect exception
> java.lang.NullPointerException
> at
> com
> .sun
> .grizzly
> .DefaultSelectionKeyHandler.register(DefaultSelectionKeyHandler.java:
> 160)
> at
> com.sun.grizzly.TCPSelectorHandler.onReadOp(TCPSelectorHandler.java:
> 393)
> at
> com
> .sun
> .grizzly
> .TCPSelectorHandler.processPendingOperations(TCPSelectorHandler.java:
> 371)
> at
> com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:
> 353)
> at com.sun.grizzly.Controller.doSelect(Controller.java:367)
> at
> com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:
> 82)
> at
> com
> .sun.grizzly.Controller.startSelectorHandlerRunner(Controller.java:
> 1136)
> at com.sun.grizzly.Controller.start(Controller.java:943)
> at
> com
> .fujitsu
> .poa.bal.grizzly.entrypoint.ListenerGrizzly.run(ListenerGrizzly.java:
> 242)
>
>
>
>
>
> Yes our code works fine with 1.8.5.3.
>
> Controller code as requested:
>
> --
> View this message in context: http://www.nabble.com/New-null-pointer-error-tp19430618p19434317.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>