Community
Participate
Working Groups
Build Identifier: 20100909-0800 To reproduce: Start with a nice fresh install of Snow Leopard MacOS X 10.6.4, which has never had Eclipse installed. Install a current (3.6.1 Eclipse) select 'Help' -> 'Update Software' or 'Install New Software' It will crash with an NPE. "An internal error occurred during: "Contacting Software Sites". java.lang.NullPointerException" This appears to be a regression. Current 3.5.2 does not have this problem. This has also been reported out of context by Patrick in bug 313502 Reproducible: Always Steps to Reproduce: 1.See above 2. 3.
I also started seeing this on my mac running 10.6.4, but I have had eclipse running on it. It's not a fresh install. [/Applications/eclipse]$ ./eclipse -debug -consolelog Start VM: -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=512m -Xms40m -Xmx512m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.class.path=/Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os macosx -ws cocoa -arch x86 -showsplash -launcher /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse -name Eclipse --launcher.library /Applications/eclipse/Eclipse.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.0.v20100503/eclipse_1307.so -startup /Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -product org.eclipse.epp.package.jee.product -debug -consolelog -vm /System/Library/Frameworks/JavaVM.framework -vmargs -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=512m -Xms40m -Xmx512m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.class.path=/Applications/eclipse/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar Install location: file:/Applications/eclipse/ Configuration file: file:/Applications/eclipse/configuration/config.ini loaded Configuration location: file:/Applications/eclipse/configuration/ Framework located: file:/Applications/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar Framework classpath: file:/Applications/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar Splash location: /Applications/eclipse/plugins/org.eclipse.platform_3.6.0.v201006080911/splash.bmp Debug opt file:/Applications/eclipse/Eclipse.app/Contents/MacOS/.options not found Time to load bundles: 7 Starting application: 920 !SESSION 2010-10-25 15:09:48.512 ----------------------------------------------- eclipse.buildId=I20100608-0911 java.version=1.6.0_22 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os macosx -ws cocoa -arch x86 -product org.eclipse.epp.package.jee.product -debug -consolelog !ENTRY org.eclipse.jface 2 0 2010-10-25 15:09:55.477 !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation. !SUBENTRY 1 org.eclipse.jface 2 0 2010-10-25 15:09:55.478 !MESSAGE A conflict occurred for COMMAND+SHIFT+T: Binding(COMMAND+SHIFT+T, ParameterizedCommand(Command(com.python.pydev.analysis.actions.pyGlobalsBrowserWorkbench,Python Show Class Browser, Show Class Browser, Category(org.python.pydev.ui.category.source,Pydev - Editor,Pydev editor category,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Binding(COMMAND+SHIFT+T, ParameterizedCommand(Command(org.eclipse.jdt.ui.navigate.open.type,Open Type, Open a type in a Java editor, Category(org.eclipse.ui.category.navigate,Navigate,null,true), , ,,true),null), org.eclipse.ui.defaultAcceleratorConfiguration, org.eclipse.ui.contexts.window,,,system) Application Started: 7407 !ENTRY org.eclipse.core.net 1 0 2010-10-25 15:09:55.938 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences !ENTRY org.eclipse.core.jobs 4 2 2010-10-25 15:10:01.685 !MESSAGE An internal error occurred during: "Contacting Software Sites". !STACK 0 java.lang.NullPointerException at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:75) at org.eclipse.equinox.internal.p2.repository.RepositoryTransport.download(RepositoryTransport.java:127) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadIndexFile(AbstractRepositoryManager.java:719) at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:640) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96) at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92) at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.doLoad(LoadMetadataRepositoryJob.java:115) at org.eclipse.equinox.p2.ui.LoadMetadataRepositoryJob.runModal(LoadMetadataRepositoryJob.java:100) at org.eclipse.equinox.internal.p2.ui.sdk.PreloadingRepositoryHandler$2.runModal(PreloadingRepositoryHandler.java:82) at org.eclipse.equinox.p2.operations.ProvisioningJob.run(ProvisioningJob.java:177) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I got the same issue. Version: Helios Service Release 1 Build id: 20100917-0705 OS: Debian sid x86_64 JDK: sun-java6-jdk 6.22-1 java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) jthomas@blackbird:~$ env|grep -i proxy HTTPS_PROXY= no_proxy= NO_PROXY= https_proxy= auto_proxy= http_proxy= ftp_proxy= FTP_PROXY= HTTP_PROXY= I am connected through an HTTP proxy at work. I just tried to install some Eclipse plugins from home (no proxy) and got the issue. Here, my system network settings are set to use direct connection. A workaround that worked for me: Window -> Preferences -> Active Provider -> Direct Julien
*** This bug has been marked as a duplicate of bug 323149 ***
(In reply to comment #3) > > *** This bug has been marked as a duplicate of bug 323149 *** (In reply to comment #3) > > *** This bug has been marked as a duplicate of bug 323149 *** The bug 323149 is closed resolved but this issue still exists in Mac OSX with Helios SR1! This means this is a separate issue. please reopen.
(In reply to comment #4) > The bug 323149 is closed resolved but this issue still exists in Mac OSX with > Helios SR1! The target milestone of bug 323149 is set to 3.7M3. You are on 3.6.1. Even if the problems are indeed identical, you are not using a build that contains the fix.