Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315324 - [filetransfer] Null result in the JRE/HttpURLConnection
Summary: [filetransfer] Null result in the JRE/HttpURLConnection
Status: RESOLVED WORKSFORME
Alias: None
Product: ECF
Classification: RT
Component: ecf.filetransfer (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: ecf.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 18:49 EDT by Ian Bull CLA
Modified: 2014-02-12 14:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.