David Sayada writes:
 > Hi Andrew,
 > 
 > In fact, the exception I am receiving is the following one:
 > 
 > java.lang.ClassCastException: 
 > > gnu.java.nio.ServerSocketChannelImpl cannot be cast to
 > java.nio.channels.SocketChannel
 > 
 > What can make such an exception to occur?

Does gnu.java.nio.ServerSocketChannelImpl inherit from
java.nio.channels.SocketChannel?  Have a look.

 > Also can it cause an application to terminate with signal SIGSEGV?

No.  This is caused by a bug somewhere when generating stack traces.
You need to run our app under gdb and tell us exactly where the segv
happens.

Andrew.

Reply via email to