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

Bug 352691

Summary: CatalogSwitcher should respect proxy
Product: [Technology] MPC Reporter: Benjamin Muskalla <b.muskalla>
Component: wizardAssignee: Benjamin Muskalla <b.muskalla>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel.schaarschmidt
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Benjamin Muskalla CLA 2011-07-20 23:06:10 EDT
Cloned from task 347272 Daniel Schaarschmidt <Schaarschmidt_Daniel@web.de>

I'm not sure whether this is the same problem or not, but it looks the same:
Indigo Release (20110615-0604) on Win7x64, I'm sitting behind a proxy

The proxy setup in General>Network Connections is correct, the MPC lists the available plugins correctly. But when it tries to load the marketplace images at the bottom I have to enter my proxy password again (2 times for 2 images), although it is saved in the secure storage and seems to work fine for the rest of the MPC.

If I don't enter my password but press cancel I get the same error Markus mentioned:

org.eclipse.jface.resource.DeviceResourceException: Unable to create resource URLImageDescriptor(http://marketplace.eclipse.org/sites/default/files/marketplace32.png)
	at org.eclipse.jface.resource.ImageDescriptor.createResource(ImageDescriptor.java:167)
	at org.eclipse.jface.resource.DeviceResourceManager.allocate(DeviceResourceManager.java:56)
	at org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
	at org.eclipse.jface.resource.ResourceManager.createImageWithDefault(ResourceManager.java:192)
	at org.eclipse.jface.resource.ImageRegistry.get(ImageRegistry.java:212)
	at org.eclipse.epp.internal.mpc.ui.wizards.CatalogSwitcher.getCatalogIcon(CatalogSwitcher.java:161)
	at org.eclipse.epp.internal.mpc.ui.wizards.CatalogSwitcher.access$4(CatalogSwitcher.java:152)
	at org.eclipse.epp.internal.mpc.ui.wizards.CatalogSwitcher$3.run(CatalogSwitcher.java:128)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Carsten Reckord CLA 2015-11-24 10:39:16 EST
This was fixed in bug 385936. Also the image loading has seen some substantial rewrite since this bug was created.

*** This bug has been marked as a duplicate of bug 385936 ***