It's all about the answers!

Ask a question

Eclipse Indigo with RTC installed throws error: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]


Kevin Ford (4623) | asked Nov 21 '12, 2:51 p.m.
edited Nov 21 '12, 2:59 p.m.
I'm running a pretty fresh install of Ubuntu 12.10 (64 bit).  Running IBM Java 1.6 as the system default Java and the default execution environment in Eclipse.  Any thoughts on this issue?  I tried to export MOZILLA_FIVE_HOME to point to my installed firefox lib folder but it didn't help anything.  I don't use Firefox as a default browser but it is installed and working.

Environment info from Eclipse is between lines below (I had switched to OpenJDK just to try it and captured the exact same error
-----------------------------------------------------------------------------------------------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
-----------------------------------------------------------------------------------------------------------------------------------

Thanks for your help!

org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:4308)
at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1826)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:687)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
at com.ibm.team.jface.util.CommunicatableBrowser.initComponents(CommunicatableBrowser.java:47)
at com.ibm.team.jface.util.CommunicatableBrowser.<init>(CommunicatableBrowser.java:43)
at com.ibm.team.jface.itemview.ItemViewer$1.<init>(ItemViewer.java:151)
at com.ibm.team.jface.itemview.ItemViewer.<init>(ItemViewer.java:151)
at com.ibm.team.workitem.ide.ui.internal.editor.presentations.HistoryPart.createContent(HistoryPart.java:206)
at com.ibm.team.ui.editor.TeamFormPart.createContent(TeamFormPart.java:61)
at com.ibm.team.ui.editor.TeamFormSectionPart.createPartContent(TeamFormSectionPart.java:94)
at com.ibm.team.ui.editor.TeamFormSectionPart.createPartContents(TeamFormSectionPart.java:84)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemTeamFormSectionPart.createContent(WorkItemTeamFormSectionPart.java:43)
at com.ibm.team.ui.editor.TeamFormSectionPart.init(TeamFormSectionPart.java:57)
at com.ibm.team.ui.editor.TeamFormSectionPart.<init>(TeamFormSectionPart.java:45)
at com.ibm.team.workitem.ide.ui.internal.editor.WorkItemTeamFormSectionPart.<init>(WorkItemTeamFormSectionPart.java:32)
at com.ibm.team.workitem.ide.ui.internal.editor.presentations.WorkItemEditorSections.createSection(WorkItemEditorSections.java:101)
at com.ibm.team.workitem.ide.ui.internal.editor.presentations.WorkItemEditorSections.createSection(WorkItemEditorSections.java:111)
at com.ibm.team.workitem.ide.ui.internal.editor.HistoryTab.createFormContent(HistoryTab.java:70)
at org.eclipse.ui.forms.editor.FormPage$1.run(FormPage.java:152)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.forms.editor.FormPage.createPartControl(FormPage.java:150)
at org.eclipse.ui.forms.editor.FormEditor.pageChange(FormEditor.java:471)
at com.ibm.team.ui.editor.TeamFormEditor.pageChange(TeamFormEditor.java:203)
at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:290)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2746)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1433)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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)

3 answers



permanent link
Ralph Schoon (63.6k33646) | answered Nov 22 '12, 9:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Have you tried Eclipse Indigo without RTC? I dount this is specific to RTC.
Have you tried: http://www.google.de/search?q=org.eclipse.swt.SWTError%3A+No+more+handles+[Unknown+Mozilla+path+(MOZILLA_FIVE_HOME+not+set)] ?

There are several posts , including one that leads to http://www.eclipse.org/swt/faq.php#browserlinuxrcp

 

permanent link
Kevin Ford (4623) | answered Nov 28 '12, 3:05 p.m.
I had to post this as an answer, as it wouldn't allow it in the comments ---

I actually had already looked at that.  I set the env variable and since I'm using an IBM JVM, I also found another post recommending to set the path like this.... /usr/../usr/xyz (because the IBM JVM strips it out otherwise).

 ~$ echo $MOZILLA_FIVE_HOME
/usr/../usr/lib/firefox

~$ echo $LD_LIBRARY_PATH 
/usr/../usr/lib/firefox


I also tried unpacking xulrunner 3.6 into a directory and adding the following into my eclipse.ini
-Dorg.eclipse.swt.browser.XULRunnerPath=/home/ford/Dev/Packages/xulrunner/

Now I am still getting the "Error logged from process client UI: No More Handles", which is directly followed by a dialog that has the following
Title: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
followed by the three lines below...
Change cursor
Change cursor
Error logged from Process Client UI

And if I press OK, I get the below message

Comments
Kevin Ford commented Nov 28 '12, 3:06 p.m.

and these issues happen ONLY when performing RTC tasks -- the above error was from attempting to deliver a change set.  I also cannot view history page of a work item.  all other Eclipse functions I've used work fine. 


permanent link
nicholas dunbar (1) | answered Feb 20 '13, 9:40 p.m.
I think the issue is that you are using the IBM JVM. See here:

http://www.eclipse.org/swt/faq.php#browserlinuxibm

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.