[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: org.eclipse.swt.SWTError: No more callbacks

Hi Andrew,

Does your /usr/lib/mozilla directory contain library files such as
libgtkmozembed.so?  I ask because although I've never used the debian distro
that you're on, if it's something new then I'm surprised that mozilla is
included at all since most of the other distros are packaging firefox for
web browsing and xulrunner for browser embedding.

As a side note, you can get eclipse running by setting your
MOZILLA_FIVE_HOME environment variable to any random value that does not
point at a GRE before starting eclipse.  This will disable the use of the
Browser, but other functionality should be preserved.

Grant


"Andrew Robinson" <arobinson@xxxxxxxxxxxxxxx> wrote in message
news:ekkqo9$v5d$1@xxxxxxxxxxxxxxxxxxxx
> Ever since I upgrade to Eclipse 3.2.1 and ExadelStudio 4.0.1 eclipse keeps
> crashing on me.
>
> Here is the error from the .log file:
> !SESSION 2006-11-29
13:15:32.662 -----------------------------------------------
> eclipse.buildId=M20060921-0945
> java.version=1.5.0_09
> 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.core.resources 2 10035 2006-11-29 13:15:39.264
> !MESSAGE A workspace crash was detected. The previous session did not exit
normally.
>
> !ENTRY org.eclipse.jst.jsp.core 4 4 2006-11-29 13:15:51.754
> !MESSAGE A workspace crash was detected. The previous session did not exit
> normally. Not using saved taglib indexes
>
> !ENTRY org.eclipse.wst.javascript.ui 4 4 2006-11-29 13:15:54.111
> !MESSAGE No more handles [NS_InitEmbedding /usr/lib/mozilla
error -2147467259]
> !STACK 0
> org.eclipse.swt.SWTError: No more handles [NS_InitEmbedding
/usr/lib/mozilla
> error -2147467259]
>         at org.eclipse.swt.SWT.error(SWT.java:3400)
>         at org.eclipse.swt.browser.Browser.<init>(Browser.java:225)
>         at
>
org.eclipse.wst.javascript.ui.internal.editor.JSPreviewPage.<init>(JSPreview
Page.java:36)
>         at
>
org.eclipse.wst.javascript.ui.internal.editor.JSMultiPageEditorPart.createPr
eviewPage(JSMultiPageEditorPart.java:266)
>         at
>
org.eclipse.wst.javascript.ui.internal.editor.JSMultiPageEditorPart.createPa
ges(JSMultiPageEditorPart.java:248)
>         at
>
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPar
t.java:276)
>         at
>
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.jav
a:596)
>         at
>
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
>         at
>
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReferenc
e.java:566)
>         at
>
org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.j
ava:263)
>         at
>
org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:14
46)
>         at
org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:1006)
>         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>         at org.eclipse.core.runtime.Platform.run(Platform.java:843)
>         at
>
org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:1001)
>         at
>
org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2843)
>         at
>
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:19
36)
>         at
org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2857)
>         at
org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2805)
>         at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1681)
>         at
>
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421
)
>         at
org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1679)
>         at
org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1650)
>         at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1529)
>         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>         at
org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1473)
>         at
>
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer
.java:183)
>         at
>
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.jav
a:702)
>         at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847)
>         at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
>         at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
>         at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
java:78)
>         at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:92)
>         at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:68)
>         at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
>         at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>         at org.eclipse.core.launcher.Main.run(Main.java:977)
>         at org.eclipse.core.launcher.Main.main(Main.java:952)
>
> !ENTRY org.eclipse.ui 4 4 2006-11-29 13:16:29.238
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 2006-11-29 13:16:29.239
> !MESSAGE No more callbacks
> !STACK 0
> org.eclipse.swt.SWTError: No more callbacks
>         at org.eclipse.swt.SWT.error(SWT.java:3400)
>         at org.eclipse.swt.SWT.error(SWT.java:3297)
>         at org.eclipse.swt.SWT.error(SWT.java:3268)
>         at
org.eclipse.swt.dnd.ClipboardProxy.<init>(ClipboardProxy.java:60)
>         at
org.eclipse.swt.dnd.ClipboardProxy._getInstance(ClipboardProxy.java:44)
>         at org.eclipse.swt.dnd.Clipboard.setContents(Clipboard.java:446)
>         at
>
org.eclipse.swt.custom.StyledText.setClipboardContent(StyledText.java:6689)
>         at
org.eclipse.swt.custom.StyledText.handleKeyUp(StyledText.java:5062)
>         at
org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4790)
>         at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1109)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094)
>         at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1121)
>         at
org.eclipse.swt.widgets.Widget.gtk_key_release_event(Widget.java:661)
>         at
org.eclipse.swt.widgets.Control.gtk_key_release_event(Control.java:2091)
>         at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1435)
>         at org.eclipse.swt.widgets.Display.windowProc(Display.java:3798)
>         at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native
Method)
>         at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5273)
>         at org.eclipse.swt.widgets.Display.eventProc(Display.java:1135)
>         at
org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
>         at
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1428)
>         at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2840)
>         at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
>         at
>
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
>         at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>         at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
>         at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
java:78)
>         at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
EclipseAppLauncher.java:92)
>         at
>
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAp
pLauncher.java:68)
>         at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
>         at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
>         at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
>         at org.eclipse.core.launcher.Main.run(Main.java:977)
>         at org.eclipse.core.launcher.Main.main(Main.java:952)
>
> I am using linux debian "etch" and my environment contains:
> MOZILLA_FIVE_HOME=/usr/lib/mozilla
>
> Any ideas?