Skip to main content

[jxta 2.7RC1] Internal exception after a remote close of a JxtaBidiPipe

1 reply [Last post]
fra86co
Offline
Joined: 2011-01-18
Points: 0

When i close a JxtaBidiPipe from one of the two connection side, the other side does not receive correctly the disconnection event.
So wheh i use the method EndoPointService.isReachable it returns true instead false.
I read this from jxta log:
INFO: 19:03:08 net.jxta.logging.Logging.logCheckedInfo Line 470 net.jxta.impl.util.pipe.reliable.ReliableOutputStream.hardClose()
Hard closed.
WARNING: 19:03:08 net.jxta.logging.Logging.logCheckedWarning Line 553 net.jxta.impl.util.pipe.reliable.ReliableInputStream.queueIncomingMessage()
Uncaught Throwable calling listener
java.lang.NullPointerException
Line 1177 net.jxta.impl.util.pipe.reliable.ReliableOutputStream$Retransmitter.access$000()
Line 400 net.jxta.impl.util.pipe.reliable.ReliableOutputStream.close()
Line 847 net.jxta.util.JxtaBiDiPipe.closePipe()
Line 1001 net.jxta.util.JxtaBiDiPipe.hasClose()
Line 1120 net.jxta.util.JxtaBiDiPipe.processIncomingMessage()
Line 549 net.jxta.impl.util.pipe.reliable.ReliableInputStream.queueIncomingMessage()
Line 419 net.jxta.impl.util.pipe.reliable.ReliableInputStream.recv()
Line 1037 net.jxta.util.JxtaBiDiPipe.receiveMessage()
Line 982 net.jxta.util.JxtaBiDiPipe.pipeMsgEvent()
Line 214 net.jxta.impl.pipe.InputPipeImpl.processIncomingMessage()
Line 1024 net.jxta.impl.endpoint.EndpointServiceImpl.processIncomingMessage()
Line 1666 net.jxta.impl.endpoint.router.EndpointRouter.processIncomingMessage()
Line 1024 net.jxta.impl.endpoint.EndpointServiceImpl.processIncomingMessage()
Line 132 net.jxta.impl.endpoint.netty.AsynchronousNettyMessenger$2.run()
Line 17 net.jxta.impl.util.threads.RunnableAsCallableWrapper.call()
Line 50 net.jxta.impl.util.threads.RunMetricsWrapper.call()
Line 34 net.jxta.impl.util.threads.QueueTimeRunMetricsWrapper.call()
Line 93 net.jxta.impl.util.threads.RunMetricsWrapper.run()
Line 9 net.jxta.impl.util.threads.QueueTimeRunMetricsWrapper.run()
Line 886 java.util.concurrent.ThreadPoolExecutor$Worker.runTask()
Line 908 java.util.concurrent.ThreadPoolExecutor$Worker.run()
Line 619 java.lang.Thread.run()

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
adamman71
Offline
Joined: 2007-01-31
Points: 0