users@grizzly.java.net

Upgrade to 1.9; byteBuffer not set in WorkerThread

From: Sebastian Dehne <sebastian_at_dehnes.com>
Date: Sat, 10 Jan 2009 02:09:00 +0100

Dear list,

I've upgraded from 1.8.6 to 1.9.3 and used a ExecutorService with own
ThreadFactoryas shown on
http://blogs.sun.com/oleksiys/entry/grizzly_1_9_0_executorservice.

However, now I run into a NPE @ ReadFilter:124 because the byteBuffer
has never been set with this thread. I've done some source-coding
browsing and it seems to me there is no way this buffer is ever set. The
method WorkerThreadImpl.createByteBuffer(boolean) is only used if the
DefaultThreadPool is used, which is not the case here.

Any suggestions?

Thanks & kind regards,
Sebastian Dehne