- This topic has 3 replies, 2 voices, and was last updated 11 years, 1 month ago by support-swapna.
-
AuthorPosts
-
Derek AdachiParticipantI apologize if this has been posted before, but could not find a close question/answer to this.
I have issues with MyEclipse 10 for Spring when I try to launch it and I have no Internet connection. There are quite a few times when I am traveling and in an area where there is not a free WiFi hotspot around and I am trying to get some work done on a project – but I can’t since MyEclipse crashes on startup and gives me a dialog box pointing to a log file.
A copy of the logfile when this happens follows below:
!SESSION 2013-09-10 13:18:09.244 ----------------------------------------------- eclipse.buildId=unknown java.version=1.6.0_51 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/derek/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86_64 -keyring /Users/derek/.eclipse_keyring -showlocation !ENTRY org.eclipse.osgi 4 0 2013-09-10 13:18:09.642 !MESSAGE Startup error !STACK 1 java.lang.ExceptionInInitializerError at org.eclipse.osgi.framework.internal.core.Framework.initializeProperties(Framework.java:378) at org.eclipse.osgi.framework.internal.core.Framework.initialize(Framework.java:200) at org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:162) 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:1390) 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
I am running MyEclipse for Spring 10 on a Early 2011 15″ MacBook Pro, 16 GB RAM, OS X 10.8.4, Java 1.6.0_51.
I had this happen with earlier versions of OS X 10.8.x and 10.7.x.
What I really need to know is how can I start the IDE when I have no network connectivity?
Thanks in advance,
Derek
support-swapnaModeratorDerek,
Sorry that you are seeing this issue. This looks like a JVM issue on Mac OSX.
There is a report of similar issue on STS. Can you please check if the workaround helps fix the issue for you ?
http://forum.spring.io/forum/spring-projects/springsource-tool-suite/113952-sts-on-mac-os-x-lion-not-starting-if-no-internet-connectionLet us know how it works for you.
Derek AdachiParticipantSorry this took so long, but I ended up switching to NetBeans in order to finish up the release I was working on. Now since that phase is over and things have settled down, I had time to actually try this.
Found a solution in a link from the URL you suggested:
http://stackoverflow.com/questions/7892609/inetaddress-getlocalhost-resolution-on-osx-lion-when-offline
But I have to enter the alias each time that I happen to be disconnected from the Internet and need to startup MyEclipse on my Mac. I’m sure I’ll figure out a better way when I have some time, so for now I just put it into a shell script.
Thanks for pointing me in the right direction!
support-swapnaModeratorboderek,
Glad that you found the workaround.
Let us know if you see any issues working with MyEclipse. -
AuthorPosts