org.eclipse.swt.SWTError: XPCOM error -2147467262

Bug #237081 reported by Andreas Schildbach
4
Affects Status Importance Assigned to Milestone
xulrunner-1.9 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: xulrunner-1.9

When running Eclipse 3.4 RC1 with the hardy-proposed 1.9~rc1+nobinonly-0ubuntu1~8.04.2 version of xulrunner-1.9 on hardy, I get the following error in the .log. Eclipse fails to start.

!ENTRY org.eclipse.osgi 4 0 2008-06-03 16:10:46.716
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -2147467262
        at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1597)
        at org.eclipse.swt.browser.Mozilla.setText(Mozilla.java:1820)
        at org.eclipse.swt.browser.Browser.setText(Browser.java:733)
        at org.eclipse.jdt.internal.ui.infoviews.JavadocView.doSetInput(JavadocView.java:927)
        at org.eclipse.jdt.internal.ui.infoviews.JavadocView.refresh(JavadocView.java:775)
        at org.eclipse.jdt.internal.ui.infoviews.JavadocView.setBackground(JavadocView.java:762)
        at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.inititalizeColors(AbstractInfoView.java:363)
        at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.createPartControl(AbstractInfoView.java:226)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
        at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
        at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:668)
        at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
        at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
        at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:271)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:964)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2557)
        at org.eclipse.ui.internal.WorkbenchWindow$25.run(WorkbenchWindow.java:2869)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
        at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2850)
        at org.eclipse.ui.internal.WorkbenchWindow$19.runWithException(WorkbenchWindow.java:2167)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3375)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$27.runWithException(Workbench.java:1361)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3375)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2298)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112)
        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:379)
        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:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 237081] [NEW] org.eclipse.swt.SWTError: XPCOM error -2147467262

On Tue, Jun 03, 2008 at 02:25:26PM -0000, Andreas Schildbach wrote:
> Public bug reported:
>
> Binary package hint: xulrunner-1.9
>
> When running Eclipse 3.4 RC1 with the hardy-proposed 1.9~rc1+nobinonly-
> 0ubuntu1~8.04.2 version of xulrunner-1.9 on hardy, I get the following
> error in the .log. Eclipse fails to start.

Where did you get eclipse 3.4 from?

 status incomplete

 - Alexander

Changed in xulrunner-1.9:
status: New → Incomplete
Revision history for this message
Andreas Schildbach (schildbach) wrote :

Downloaded from

http://www.eclipse.org/downloads/packages/

(Linux, 32bit)

I also tried RC2, which does have the same problem with 1.9~rc1+nobinonly-0ubuntu1~8.04.2.

Revision history for this message
Andreas Schildbach (schildbach) wrote :

I played around with installing xulrunner 1.8.1.13+nobinonly-0ubuntu1 [universe] and setting "-vmargs -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner" in eclipse.ini, and that cured the problem. Strangely, when I reverted the changes, thinks continue to work - which means that I currently cannot reproduce the bug any more.

I am suspecting that my Eclipse installation was not adapted to the new xulrunner directory, which was changed from /usr/lib/xulrunner-1.9b5 to /usr/lib/xulrunner-1.9.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 237081] Re: org.eclipse.swt.SWTError: XPCOM error -2147467262

On Thu, Jun 05, 2008 at 03:10:56PM -0000, Andreas Schildbach wrote:
> I played around with installing xulrunner 1.8.1.13+nobinonly-0ubuntu1
> [universe] and setting "-vmargs
> -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner/xulrunner" in
> eclipse.ini, and that cured the problem. Strangely, when I reverted the
> changes, thinks continue to work - which means that I currently cannot
> reproduce the bug any more.
>
> I am suspecting that my Eclipse installation was not adapted to the new
> xulrunner directory, which was changed from /usr/lib/xulrunner-1.9b5 to
> /usr/lib/xulrunner-1.9.
>

Please file that bug on eclipse side. its unsure how they attempt to
build a cross-distro library for this. if you know more feel free to
ping me on irc (#ubuntu-mozillateam)

 status invalid

 - Alexander

Changed in xulrunner-1.9:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.