Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Second Indigo instance hangs on startup
Second Indigo instance hangs on startup [message #1087617] Thu, 15 August 2013 22:37 Go to next message
Xuefu Zhang is currently offline Xuefu ZhangFriend
Messages: 2
Registered: August 2013
Junior Member
Hi there,

My eclipse on Ubuntu 12.04 had been working fine until a couple days ago when suddenly I was not able to launch the second instance. The first instance works fine, and I'm able to switch workspaces. The second instance, however, is stuck after I click <ok> at the message box saying the current workspace is in use. It makes no progress. Jstack contains the following:

"main" prio=10 tid=0x00007fa05c008000 nid=0x36ed runnable [0x00007fa063d06000]
java.lang.Thread.State: RUNNABLE
at org.eclipse.swt.internal.gtk.OS.Call(Native Method)
at org.eclipse.swt.widgets.Display.sleep(Display.java:4069)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:91)
at org.eclipse.ui.internal.ide.application.IDEApplication.promptForWorkspace(IDEApplication.java:296)
at org.eclipse.ui.internal.ide.application.IDEApplication.checkInstanceLocation(IDEApplication.java:237)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Your help on overcoming the problem is greatly appreciated.

Thanks,
Xuefu
Re: Second Indigo instance hangs on startup [message #1087830 is a reply to message #1087617] Fri, 16 August 2013 06:44 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4003
Registered: July 2009
Senior Member

When launching from the command line, use the -data switch to point it at the new workspace.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Second Indigo instance hangs on startup [message #1088154 is a reply to message #1087830] Fri, 16 August 2013 17:12 Go to previous message
Xuefu Zhang is currently offline Xuefu ZhangFriend
Messages: 2
Registered: August 2013
Junior Member
Thank you, Nitin. It works.

I noticed that this doesn't fix the cause of the problem. If I start w/o -data option, it hangs again.

Nevertheless, I can have mutiple instances now. Thanks again!

--Xuefu
Previous Topic:Unhandled event loop exception ,No more handles
Next Topic:Config error
Goto Forum:
  


Current Time: Fri Mar 05 04:52:20 GMT 2021

Powered by FUDForum. Page generated in 0.03608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top