Subject: NullPointerException in PollingInputStream.readPendingInput() |
Author: Eike Stepper |
Date: Thu, 16 January 2014 04:39 |
Hi,
Occasionally I get a NullPointerException in PollingInputStream.readPendingInput():
java.lang.NullPointerException
at org.eclipse.ecf.provider.filetransfer.util.PollingInputStream.readPendingInput(PollingInputStream.java:234)
at org.eclipse.ecf.provider.filetransfer.util.PollingInputStream.close(PollingInputStream.java:104)
at
org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer$1.performFileTransfer(AbstractRetrieveFileTransfer.java:185)
at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
It's impossible for me to predictably reproduce the problem but in theory it might be caused by concurrent attempts to
close() the stream. Should there be a "in != null" guard in PollingInputStream.readPendingInput()?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]
|