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

Bug 322143

Summary: Behind proxy gets frozen, rendering IDE totally unusable
Product: [Eclipse Project] Platform Reporter: Marcel Svitalsky <marcel.svitalsky>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: critical    
Priority: P3 CC: grant_gayed, remy.suen
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Thread dump through jvisualvm none

Description Marcel Svitalsky CLA 2010-08-09 10:18:53 EDT
Build Identifier: 20100617-1415

I am behind proxy requiring authorization. I DID set up proxy manually and DID provide all the necessary data, including proxy username and password.

Nevertheless, whenever I try to use Content Assistant or stop mouse cursor on menu subitem "Window-Web Browser" or try to use help from Preferences window etc. etc., simply anything that (as I suppose) makes IDE to try to go on web, the IDE freezes. Totally, it doesn't recover even after fifteen minutes.

Reproducible: Always

Steps to Reproduce:
1. Get behind proxy requiring authorization.
2. Set up your IDE for proxy providing all the necessary data (proxy host, port, username, password) for all the protocols (HTTP, HTTPS, SOCKS).
3. Create new project, new package and new class and write within it for example "Str" and use your shortcut for invoking the Content Assistant (Ctrl-Space is the default I believe).
Comment 1 Remy Suen CLA 2010-08-09 11:17:44 EDT
Please provide a thread dump of Eclipse being hung.
http://wiki.eclipse.org/index.php/How_to_report_a_deadlock
Comment 2 Marcel Svitalsky CLA 2010-08-09 12:54:08 EDT
Created attachment 176169 [details]
Thread dump through jvisualvm

Java VM version is:

java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
Comment 3 Remy Suen CLA 2010-08-09 13:01:18 EDT
Think I've seen this XPCOM thing before but can't find the other bug off-hand.
Comment 4 Grant Gayed CLA 2010-08-17 16:17:53 EDT
To confirm, as part of setting your proxy name and password, are you setting them as described in the "Mozilla-based..." bullet of http://www.eclipse.org/swt/faq.php#browserproxy ?  Setting your proxy values in the eclipse preferences may set these java properties for you, but I'm not sure about this, so it is worth a try.  Note that the -D... argument should be appended to eclipse's eclipse.ini file which is read at startup.

*** This bug has been marked as a duplicate of bug 319123 ***
Comment 5 Marcel Svitalsky CLA 2010-08-24 06:41:59 EDT
Grant,
yes, I tried that (setting those variables in eclipse.ini) and it didn't help.