Community
Participate
Working Groups
after executing the following command: ifconfig lo0 alias 172.16.123.1 eclipse would occasionally refuse to start with the log file copied below. Once it resused to start nothing really helps and the only cure seemed to be to remove that alias ip from local loopback. -- Configuration Details -- Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.jee.product) Installed Features: org.eclipse.jdt 3.7.0.v20110520-0800-7z8gFchFMTdFYKuLqBLqRja9B15B -- log file -- !SESSION 2011-08-13 09:17:40.931 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_26 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.jee.product -keyring /Users/spalda2/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.jee.product -keyring /Users/spalda2/.eclipse_keyring -showlocation !ENTRY org.eclipse.osgi 4 0 2011-08-13 09:17:41.225 !MESSAGE Startup error !STACK 1 java.lang.ExceptionInInitializerError at org.eclipse.osgi.framework.internal.core.Framework.initializeProperties(Framework.java:377) at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:199) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:161) at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:261) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at java.net.InetAddress.getLocalHost(InetAddress.java:1356) at org.eclipse.osgi.framework.internal.core.UniversalUniqueIdentifier.getIPAddress(UniversalUniqueIdentifier.java:146) at org.eclipse.osgi.framework.internal.core.UniversalUniqueIdentifier.computeNodeAddress(UniversalUniqueIdentifier.java:113) at org.eclipse.osgi.framework.internal.core.UniversalUniqueIdentifier.<clinit>(UniversalUniqueIdentifier.java:35) ... 12 more
This appears to be a bug in the VM, but we should avoid crashing on startup if this happens.
Fixed in comment: http://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=b7a97f38568ef2e44dd757a5e99135811f65e2f2
*** Bug 377960 has been marked as a duplicate of this bug. ***