Unhandled event loop exception

Hi, I’ve been trying to use Defold on a linux 32-bit and whenever i try to open project i get this error:

org.eclipse.swt.SWTError: XPCOM error 0x80004005
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2639)
at org.eclipse.swt.browser.Mozilla.initXULRunner(Mozilla.java:2605)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:684)
at org.eclipse.swt.browser.Browser.(Browser.java:99)
at com.dynamo.cr.editor.dialogs.OpenIDLoginDialog.createDialogArea(OpenIDLoginDialog.java:200)
at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:760)
at com.dynamo.cr.editor.dialogs.OpenIDLoginDialog.createContents(OpenIDLoginDialog.java:181)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at com.dynamo.cr.editor.Activator.connectProjectClient(Activator.java:383)
at com.dynamo.cr.editor.handlers.ConnectHandler.execute(ConnectHandler.java:20)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3562)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3186)
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 com.dynamo.cr.editor.Application.start(Application.java:42)
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:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

Also, some times it crashes for no apparent reason.

I’ve tried the related posts but none solved the problem. I installed the xulrunner and added the -Dorg things on the .ini, but still getting this erros.

I’m not a Linux guru, but just to make sure, did you start the editor through the ./Defold-linux.sh command?

1 Like

I’ve tried to execute the executable and the .sh, but both of them give me the error. The only difference seems to be that the .sh does not crash.

I see, you should always start the Linux version of the editor with the ./Defold-linux.sh script so that is good.

Has the editor worked before, did you recently update? Do you have any spaces in the path to where the editor was unzipped?

(There seems to be some similar error reported in this thread: "Could not open window" error in side scroller tutorial )

1 Like