[SNMP4J] Uncaught CancelledKeyException

Patrick Marchwiak pmarchwiak at gmail.com
Wed Sep 30 19:59:50 CEST 2009


Is there a reason the following CancelledKeyException is not getting caught
by snmp4j?

INFO   | jvm 1    | 2009/09/30 17:15:43 | Exception in thread
"DefaultTCPTransportMapping_127.0.0.1/0"
java.nio.channels.CancelledKeyException
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
sun.nio.ch.SelectionKeyImpl.ensureV
alid(Unknown Source)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
sun.nio.ch.SelectionKeyImpl.interestOps(Unknown Source)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
java.nio.channels.spi.AbstractSelectableChannel.register(Unknown Source)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
java.nio.channels.SelectableChannel.register(Unknown Source)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
org.snmp4j.transport.DefaultTcpTransportMapping$ServerThread.processPending(DefaultTcpTransportMapping.java:533)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
org.snmp4j.transport.DefaultTcpTransportMapping$ServerThread.run(DefaultTcpTransportMapping.java:796)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
java.lang.Thread.run(Unknown Source)
INFO   | jvm 1    | 2009/09/30 17:15:43 |       at
org.snmp4j.util.DefaultThreadFactory$WorkerThread.run(DefaultThreadFactory.java:65)

Thanks.



More information about the SNMP4J mailing list