This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 236226 - ERROR when java.net.useSystemProxies=true in ${jre.home}/lib/net.properties
Summary: ERROR when java.net.useSystemProxies=true in ${jre.home}/lib/net.properties
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Proxy (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-09-21 14:28 UTC by ophers
Modified: 2013-11-22 08:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (51.82 KB, text/plain)
2013-09-21 14:28 UTC, ophers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ophers 2013-09-21 14:28:01 UTC
Product Version = NetBeans IDE 7.4 RC1 (Build 201309162201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56

As ordinary I have  java.net.useSystemProxies=true set in ${jre.home}/lib/net.properties.
Also in NB under Options/General/Proxy Settings I have "Use System Proxy Settings".
In NB 7.3.1 (and before) this posed no problems for the IDE.
Now I get (see attached log):

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.rangeCheck(ArrayList.java:635)
	at java.util.ArrayList.get(ArrayList.java:411)
	at org.netbeans.core.ProxySettings.analyzeProxy(ProxySettings.java:384)

To work around this I can set Options/General/Proxy Settings -> No Proxy.
Comment 1 ophers 2013-09-21 14:28:05 UTC
Created attachment 140339 [details]
IDE log
Comment 2 ophers 2013-09-21 16:20:38 UTC
Obviously the issue is not the entries in the log...
The whole of the modules in the IDE - the Welcome page, the Team server, the issue trackers -
cannot communicate with teir servers.
Comment 3 Libor Fischmeistr 2013-09-26 12:37:40 UTC
Fixed in changeset: http://hg.netbeans.org/core-main/rev/baf6423ab894
Comment 4 Quality Engineering 2013-09-27 02:10:50 UTC
Integrated into 'main-silver', will be available in build *201309270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/baf6423ab894
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #236226: ERROR when java.net.useSystemProxies=true in ${jre.home}/lib/net.properties
Comment 5 ophers 2013-10-19 00:14:26 UTC
Is this fix supposed to be integrated in 7.4 Final that was just released?
I still see the same broken behaviour in 7.4 Final.
Comment 6 Antonin Nebuzelsky 2013-11-01 13:18:26 UTC
(In reply to ophers from comment #5)
> Is this fix supposed to be integrated in 7.4 Final that was just released?

The fix is in trunk only and is considered as a 7.4 patch candidate.

Can you please verify the fix in the latest dev build and confirm here?
Comment 7 Tomas Danek 2013-11-12 12:59:54 UTC
v. in 20131111
Comment 8 Libor Fischmeistr 2013-11-13 08:42:22 UTC
Integrated into release74 branch: http://hg.netbeans.org/releases/rev/111ef6a14635
Comment 9 Quality Engineering 2013-11-14 14:31:34 UTC
Integrated into 'releases/release74', will be available in build *201311141216* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/111ef6a14635
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #236226: ERROR when java.net.useSystemProxies=true in ${jre.home}/lib/net.properties
Comment 10 Tomas Danek 2013-11-22 08:48:16 UTC
verified in 7.4 patch1. After update i see content on welcome page using "Use system proxy settings"