Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315324

Summary: [filetransfer] Null result in the JRE/HttpURLConnection
Product: [RT] ECF Reporter: Ian Bull <irbull>
Component: ecf.filetransferAssignee: ecf.core-inbox <ecf.core-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: slewis
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ian Bull CLA 2010-06-01 18:49:04 EDT
This is only a problem in the JRE/HTtpURLConnection and does not affect the platform.

When using this connector and trying to read Helios, I noticed some strange errors. After a bit of digging we are getting BrowseFileTransferException with an error code of -1. After a little bit more digging, it appears that getResponseCode() is returning null because the URLConnection header is:

[null, null, null, null]

I'm running on:
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Server VM (build 14.2-b01, mixed mode)

(On linux).
Comment 1 Scott Lewis CLA 2014-02-12 14:21:52 EST
Resolving as worksforme, as I can't reproduce.  This could be some transient problem in the JRE.   If it can be reproduced with java 7, please reopen with more information if at all possible.