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 194047

Summary: Problems with code completion when no proxy is defined in IDE
Product: platform Reporter: Jaromir Uhrik <juhrik>
Component: Options&SettingsAssignee: Yulia Novozhilova <ynov>
Status: CLOSED DUPLICATE    
Severity: normal CC: jrechtacek
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Messages.log attached...

Description Jaromir Uhrik 2011-01-05 12:41:39 UTC
Product Version: NetBeans IDE Dev (Build 201101050001)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)

When I run the NetBeans IDE with the clear userdir then the default proxy is set to "Use System Proxy Settings" (my system has globally set the proxy pac file to wpad.dat). 
When using this IDE default settings the IDE code completion is slow - nearly unusable and it always reports slowness. When I set the proxy to some concrete instance in the IDE settings then the code completion starts working normally.
Comment 1 Jaromir Uhrik 2011-01-05 12:43:29 UTC
Created attachment 104725 [details]
Messages.log attached...
Comment 2 Tomas Zezula 2011-01-06 14:08:58 UTC
Caused by the wrong proxy setting. The System Proxy does not work (at least on Mac).
Comment 3 Tomas Zezula 2011-01-06 14:11:52 UTC
It should be a duplpicate of some issue, Jirka should know more.
Comment 4 Jiri Rechtacek 2011-01-07 13:40:09 UTC
I can confirm there is a problem this detection proxy in Oracle inner network. Tracked also as issue 136036. Btw. How come that CC depends on Proxy Setting in IDE?
Comment 5 Yulia Novozhilova 2011-01-19 16:46:56 UTC
It looks like org.netbeans.modules.java.source.JavadocHelper.openStream is trying to use network. 
Closing as duplicate.

*** This bug has been marked as a duplicate of bug 136036 ***
Comment 6 Jaromir Uhrik 2011-01-27 08:46:19 UTC
Yes, it is duplicate. Since the bug 136036 is fixed I can close this one because It works fine now in the following build:
Product Version: NetBeans IDE Dev (Build 201101270001)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)