Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Communications Framework (ECF) » NullPointerException in PollingInputStream.readPendingInput()
NullPointerException in PollingInputStream.readPendingInput() [message #1232133] Thu, 16 January 2014 09:39 Go to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
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


Re: NullPointerException in PollingInputStream.readPendingInput() [message #1232159 is a reply to message #1232133] Thu, 16 January 2014 10:30 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 493
Registered: July 2009
Senior Member

Hi Eike,

Thanks for spotting this. Please file a bug against ECF Filetransfer.

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=ECF&component=ecf.filetransfer&version=3.7.1

Regards,

Wim
Re: NullPointerException in PollingInputStream.readPendingInput() [message #1232174 is a reply to message #1232159] Thu, 16 January 2014 11:05 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6690
Registered: July 2009
Senior Member
Am 16.01.2014 11:30, schrieb Wim Jongman:
> Hi Eike,
>
> Thanks for spotting this. Please file a bug against ECF Filetransfer.
>
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=ECF&component=ecf.filetransfer&version=3.7.1
Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=425868

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:How-to use css to customise ECF views ?
Next Topic:ECF WebSocket provider
Goto Forum:
  


Current Time: Tue Oct 08 06:14:51 GMT 2024

Powered by FUDForum. Page generated in 0.03255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top