Mark,
can you pls. try your code with the latest Grizzly, build from SVN
trunk?
I've made one update, so we will see, where null SelectionKey is
registered, because issue could be deeper.
Thank you.
WBR,
Alexey.
On Sep 11, 2008, at 12:20 , Mark Hig wrote:
>
> No. I have no written any code that uses any SelectionKey object
> directly.
>
>
> Oleksiy Stashok wrote:
>>
>> Hi Mark,
>>
>> looks like somewhere null SelectionKey is registered on
>> TCPSelectorHandler.
>> Are there any places in your code, where it could happen?
>>
>> Anyway, think we have to throw NPE, during null SelectionKey
>> registration, not processing.
>> Can you pls. create an issue?
>>
>> Thanks.
>>
>> WBR,
>> Alexey.
>>
>> On Sep 11, 2008, at 10:58 , Mark Hig wrote:
>>
>>>
>>> Hi
>>>
>>> Since upgrading to the latest 1.8.5.4 jars (grizzly framework and
>>> http
>>> webserver) we are regularly getting the following exception:
>>>
>>> 10-Sep-2008 10:00:42 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)
>>> at com.fujitsu.poa.bal.osr.nio.NioManager.await(NioManager.java:49)
>>> at com.fujitsu.poa.bal.osr.server.OSRServer.await(OSRServer.java:
>>> 387)
>>> at com.fujitsu.poa.bal.osr.server.OSR.await(OSR.java:438)
>>> at com.fujitsu.poa.bal.osr.server.OSR.start(OSR.java:397)
>>>
>>>
>>> Please help.
>>>
>>> thanks
>>>
>>> Mark
>>> --
>>> View this message in context:
>>> http://www.nabble.com/New-null-pointer-error-
>>> tp19430618p19430618.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
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/New-null-pointer-error-tp19430618p19431759.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
>