Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - problems starting IDE 4.6 on linux (Ubuntu 9.04): (7 Items)
   
problems starting IDE 4.6 on linux (Ubuntu 9.04)  
I have been using the IDE under Ubuntu 9.04 for a fair while.  Today I've run into problems getting it to start, and I'm
 not sure how to proceed.

First thing this morning I started it up and it worked, although it was running slowly.  Occasionally while editing it 
would freeze for a few moments and maybe lose some input events.  After a couple of hours of operation like that, it 
crashed with an out-of-memory error.

Since the crash, I have been unable to restart the IDE.  I get the initial splash screen "QNX Momentic Tool Suite, 
Integrated Development Environment 4.6".  After a few seconds that screen disappears and is replaced by a smaller 
dialogue box that has "Qde" in the title bar but the contents are blank.  This is where it sits without progress.

System monitoring tools show that it is using 390MB of memory and 0% CPU.  It is waiting on "do_poll".

My system is Ubuntu 9.04.  I haven't upgraded to the latest release, but I have done package updates to keep the system 
up-to-date.

Anyone have any ideas how I can get the IDE working again?

Thanks.
Re: problems starting IDE 4.6 on linux (Ubuntu 9.04)  
Doug,

Did you happen to have updated your XULRunner package? IDE 4.6 (Eclipse Europa) has problem running with newer version 
of Linux because of the Mozilla connector problem with XULRunner. Please see this post for details:

http://community.qnx.com/sf/discussion/do/listPosts/projects.ide/discussion.ide.topc11101

Also you can rename your <HOME>/.momentics/4.6 directory and re-start the IDE, select a different workspace. See if that
 works.

HTH,
Andy
Re: problems starting IDE 4.6 on linux (Ubuntu 9.04)  
I'm running XULRunner 1.9.  There does not seem to be a 1.9.1 available from the Ubuntu update site.

Renaming the .momentics/4.6 directory did not help.

Here is the .log file that I get when I try to startup the IDE:

01:37 PM: dbailey: ~/ide-4.6-workspace/.metadata
$ cat .log
!SESSION 2010-02-08 13:37:06.809 -----------------------------------------------
eclipse.buildId=I20090510
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.ui.workbench 4 0 2010-02-08 13:37:21.238
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
	at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
	at org.eclipse.swt.widgets.Widget.release(Widget.java:1026)
	at org.eclipse.swt.widgets.Control.release(Control.java:3221)
	at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
	at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
	at org.eclipse.swt.widgets.Control.release(Control.java:3221)
	at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
	at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
	at org.eclipse.swt.widgets.Control.release(Control.java:3221)
	at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1184)
	at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:211)
	at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:466)
	at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1948)
	at org.eclipse.swt.widgets.Widget.release(Widget.java:1029)
	at org.eclipse.swt.widgets.Control.release(Control.java:3221)
	at org.eclipse.swt.widgets.Widget.dispose(Widget.java:442)
	at org.eclipse.swt.widgets.Shell.dispose(Shell.java:1893)
	at org.eclipse.swt.widgets.Display.release(Display.java:3083)
	at org.eclipse.swt.graphics.Device.dispose(Device.java:237)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:129)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	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:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

!ENTRY org.eclipse.ui.workbench 4 0 2010-02-08 13:37:21.243
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
	at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
	at...
View Full Message
Re: problems starting IDE 4.6 on linux (Ubuntu 9.04)  
Doug, could you add the following line to your "qde.ini" file?

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-<version>/xulrunner

Re: problems starting IDE 4.6 on linux (Ubuntu 9.04)  
OK, that has allowed me to get momentics to start.  However, the problem
seems to be in my workspace.

When I rename my old .momentics/4.6 so it creates a new one and
momentics starts, I get prompted for the location of my workspace.  If I
create a new one, it starts up fine, but if I choose my old one, it
hangs.

I have a huge list of projects...  how can I recover the list in the
project explorer?

Thanks,

Doug

On Mon, 2010-02-08 at 13:37 -0500, Andy Jin wrote:
> Doug, could you add the following line to your "qde.ini" file?
> 
> -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-<version>/xulrunner
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post46824
> 
Re: problems starting IDE 4.6 on linux (Ubuntu 9.04)  
Before you choose your old workspace, can you try a "-clean" option to "qde"?

Also in your original problem, IDE ran out of memory (probably because of huge workspace caches). You can change the "-
Xmx" and "-XX:MaxPermSize" settings in the qde.ini file to bigger values to see if that helps.
Re: problems starting IDE 4.6 on linux (Ubuntu 9.04)  
Thanks for the time you're spending on this, Andy.

I modified qde.ini to double the memory sizes, and invoked "qde -clean",
then specified my old workspace directory.  It still hangs.

I can get most of my project list back using the import function.  It
doesn't like to import a few of my projects, so it looks like I'll need
to recreate those if I go this route.

Doug


On Mon, 2010-02-08 at 14:13 -0500, Andy Jin wrote:
> Before you choose your old workspace, can you try a "-clean" option to "qde"?
> 
> Also in your original problem, IDE ran out of memory (probably because of huge workspace caches). You can change the "
-Xmx" and "-XX:MaxPermSize" settings in the qde.ini file to bigger values to see if that helps.
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post46829
>