Dear forum,
I'm using mina 2.0.2 and once in a while I get this error in the
console:
Exception in thread "pool-4-thread-1" java.lang.NullPointerException
at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(Ab
stractPollingIoProcessor.java:1151)
at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.j
ava:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
at java.lang.Thread.run(Unknown Source)
In my server I have use a NioSocketAcceptor and at some point, although
it might not be relevant, I unbind() the acceptor, replace IoFilter with
a new one and then bind() it again.
BTW, I didn't find line 1151 in AbstractPollingIoProcessor...
Any idea why this might happen?
Thanks in advance,
Guy