Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » XPCOM Error on starting Eclipse
XPCOM Error on starting Eclipse [message #256533] Thu, 18 September 2008 14:56 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

I start Eclipse on Linux Fedora 9 and got the following error:

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:737)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntr oPartImplementation.generateContentForPage(BrowserIntroPartI mplementation.java:252)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntr oPartImplementation.dynamicStandbyStateChanged(BrowserIntroP artImplementation.java:451)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntr oPartImplementation.doStandbyStateChanged(BrowserIntroPartIm plementation.java:658)
at
org.eclipse.ui.internal.intro.impl.model.AbstractIntroPartIm plementation.standbyStateChanged(AbstractIntroPartImplementa tion.java:249)
at
org.eclipse.ui.internal.intro.impl.model.IntroPartPresentati on.standbyStateChanged(IntroPartPresentation.java:443)
at
org.eclipse.ui.intro.config.CustomizableIntroPart.standbySta teChanged(CustomizableIntroPart.java:266)
at
org.eclipse.ui.internal.ViewIntroAdapterPart$2.run(ViewIntro AdapterPart.java:74)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.internal.ViewIntroAdapterPart.setStandby(View IntroAdapterPart.java:70)
at
org.eclipse.ui.internal.ViewIntroAdapterPart$1.propertyChang ed(ViewIntroAdapterPart.java:55)
at
org.eclipse.ui.internal.WorkbenchPartReference.fireInternalP ropertyChange(WorkbenchPartReference.java:374)
at
org.eclipse.ui.internal.WorkbenchPartReference.fireZoomChang e(WorkbenchPartReference.java:539)
at org.eclipse.ui.internal.PartPane.setZoomed(PartPane.java:349 )
at org.eclipse.ui.internal.PartStack.setZoomed(PartStack.java:1 526)
at
org.eclipse.ui.internal.PartSashContainer.zoomIn(PartSashCon tainer.java:884)
at
org.eclipse.ui.internal.PartSashContainer.childRequestZoomIn (PartSashContainer.java:905)
at org.eclipse.ui.internal.LayoutPart.requestZoomIn(LayoutPart. java:354)
at org.eclipse.ui.internal.PartStack.setState(PartStack.java:15 01)
at org.eclipse.ui.internal.WorkbenchPage.setState(WorkbenchPage .java:3872)
at
org.eclipse.ui.internal.WorkbenchPage.toggleZoom(WorkbenchPa ge.java:3944)
at
org.eclipse.ui.internal.WorkbenchIntroManager.setIntroStandb y(WorkbenchIntroManager.java:201)
at
org.eclipse.ui.internal.WorkbenchIntroManager.showIntro(Work benchIntroManager.java:136)
at
org.eclipse.ui.application.WorkbenchWindowAdvisor.openIntro( WorkbenchWindowAdvisor.java:173)
at
org.eclipse.ui.internal.ide.application.IDEWorkbenchWindowAd visor.openIntro(IDEWorkbenchWindowAdvisor.java:458)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow .java:777)
at
org.eclipse.ui.internal.Workbench$22.runWithException(Workbe nch.java:1041)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3378)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3036)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at
org.eclipse.ui.internal.Workbench$27.runWithException(Workbe nch.java:1361)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3378)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3036)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2293)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
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(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)

I've googled for the error and found a posting that suggests to copy
swt.jar to ext folder of JRE, but the problem persists.

This is really a showstopper so any help would be greatly appreciated.


Regards,

Setya
Re: XPCOM Error on starting Eclipse [message #256537 is a reply to message #256533] Thu, 18 September 2008 18:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 9/18/2008 10:56 AM, Setya wrote:
> Hi,
>
> I start Eclipse on Linux Fedora 9 and got the following error:
>
> org.eclipse.swt.SWTError: XPCOM error -2147467262
> at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1597)

>
> I've googled for the error and found a posting that suggests to copy
> swt.jar to ext folder of JRE, but the problem persists.
>
> This is really a showstopper so any help would be greatly appreciated.

This is a problem with the version of XULRunner that you have. See the
comments to this blog post (not the post itself, but the comments); you
can just update your eclipse.ini to solve the problem.
< http://sandakith.wordpress.com/2008/07/11/eclipse-ganymede-s tartup-problem-in-ubuntu-orgeclipseswtswterror-xpcom-erro/>

Also see:
< https://lists.ubuntu.com/archives/ubuntu-mozillateam-bugs/20 08-June/044557.html>

By the way, it is generally a bad idea to add things arbitrarily to the
JRE ext/ directory, as they will be on the classpath of EVERY Java app
that runs.

Hope this helps,
Eric
Re: XPCOM Error on starting Eclipse [message #256541 is a reply to message #256537] Fri, 19 September 2008 01:13 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

It works.

Thanks a million.

Setya
Re: XPCOM Error on starting Eclipse [message #256553 is a reply to message #256541] Fri, 19 September 2008 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 9/18/2008 9:13 PM, Setya wrote:
> Hi,
>
> It works.
>
> Thanks a million.

Glad to help. Please remember this experience and do what you can to
give back to the community by answering questions, entering or
commenting on bug reports, and maybe even contributing code patches. The
community thrives and the product improves when people give back.

Eric
Re: XPCOM Error on starting Eclipse [message #256591 is a reply to message #256553] Tue, 23 September 2008 13:32 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

Apparently the problem is still there, but this time it occurs when I
tried to open internal web browser, with exception:

java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3761)
at org.eclipse.swt.SWT.error(SWT.java:3695)
at org.eclipse.swt.SWT.error(SWT.java:3666)
at org.eclipse.swt.program.Program.execute(Program.java:749)
at
org.eclipse.ui.internal.browser.SystemBrowserInstance.openUR L(SystemBrowserInstance.java:46)
at
org.eclipse.wst.server.ui.internal.webbrowser.OpenBrowserWor kbenchAction.run(OpenBrowserWorkbenchAction.java:62)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:251)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:452)
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.Display.runDeferredEvents(Display.ja va:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
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(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)

and when I tried to view the Help Contents with the following exception:

org.eclipse.swt.SWTError: XPCOM error -2147467259
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1597)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:285)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:118)
at
org.eclipse.help.ui.internal.browser.embedded.EmbeddedBrowse rFactory.test(EmbeddedBrowserFactory.java:71)
at
org.eclipse.help.ui.internal.browser.embedded.EmbeddedBrowse rFactory.isAvailable(EmbeddedBrowserFactory.java:51)
at
org.eclipse.help.internal.browser.BrowserManager.createBrows erDescriptors(BrowserManager.java:215)
at
org.eclipse.help.internal.browser.BrowserManager.init(Browse rManager.java:76)
at
org.eclipse.help.internal.browser.BrowserManager.isEmbeddedB rowserPresent(BrowserManager.java:382)
at
org.eclipse.help.internal.browser.BrowserManager.isAlwaysUse External(BrowserManager.java:395)
at
org.eclipse.help.internal.base.BaseHelpSystem.getHelpBrowser (BaseHelpSystem.java:118)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(He lpDisplay.java:177)
at
org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpD isplay.java:39)
at
org.eclipse.help.ui.internal.DefaultHelpUI.displayHelp(Defau ltHelpUI.java:127)
at
org.eclipse.ui.internal.help.WorkbenchHelpSystem.displayHelp (WorkbenchHelpSystem.java:833)
at
org.eclipse.ui.internal.actions.HelpContentsAction$1.run(Hel pContentsAction.java:83)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.internal.actions.HelpContentsAction.run(HelpC ontentsAction.java:81)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
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.Display.runDeferredEvents(Display.ja va:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3033)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
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(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:382)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)

So whenever I tried to view Help Contents it always open default OS
browser.

Regards,

Setya
Re: XPCOM Error on starting Eclipse [message #256735 is a reply to message #256591] Fri, 03 October 2008 06:49 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Well, anybody ?
Re: XPCOM Error on starting Eclipse [message #256799 is a reply to message #256735] Wed, 08 October 2008 13:41 Go to previous messageGo to next message
Jonas Zuberbuehler is currently offline Jonas ZuberbuehlerFriend
Messages: 21
Registered: July 2009
Junior Member
Had the same problem with fedora 9 an eclipse 3.4.1. Installing
xulrunner-1.9.0.2-1.fc9 (instead of xulrunner-1.9-0.60.beta5.fc9) solved
it.
Re: XPCOM Error on starting Eclipse [message #256879 is a reply to message #256799] Sun, 12 October 2008 15:45 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Hi,

Thanks for your information.

I also use Fedora 9 and the default xulrunner installed is 1.9b5. I've got
hard times using Firefox since the day 1 on Fedora 9. Besides the XPCOM
errors I also encounters problem when viewing Eclipse's Help when offline,
I keep getting message 'This document cannot be displayed while offline.
To go online, uncheck Work Offline from the File menu'. How did you
install the XULRunner ? Via Yum ? Because I've got very bad internet
connection here.

Regards,

Setya
Re: XPCOM Error on starting Eclipse [message #256887 is a reply to message #256879] Mon, 13 October 2008 09:51 Go to previous message
Jonas Zuberbuehler is currently offline Jonas ZuberbuehlerFriend
Messages: 21
Registered: July 2009
Junior Member
Yeah I used Yum.
Previous Topic:Unable to open Eclipse Help when offline
Next Topic:can I open a class file which is bundled in plugin?
Goto Forum:
  


Current Time: Wed Jul 17 17:34:11 GMT 2024

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

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

Back to the top