[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Eclipse2.1RC1: Bug?



> IBM's xerces supports DOM Level2, but Apache's(libxerces2-java 2.3.0)
> supports DOM Level3. I guess this is problem. j2sdk1.4 include DOM
> Level2 org.w3c.dom packages and works correctly.
> 
> I'll try to build Apache's xerces with DOM Level2.
> 
> Takashi Okamoto
>
I think this is a general problem resulting in the huge amount of error messages
I receive (as found in the ~/eclipse/.metadata/.log file). Probably there should
be a strict separation between the DOM classes of the JDK an the ones that
Eclipse itself uses. I'm sure Eclipse has its own ClassLoader and can provide
this separation. Is there another command line / startup option which may help?

Btw.: Does anybody know why so many "org.eclipse.swt.SWTException: Widget is
disposed" errors come up on my system? Perhaps this phenomenon is based on
the fact that I'm having a dual-head-multiscreen-xinerama desktop configuration
and GTK runs into troubles with that. Other installation facts are: j2sdk1.3,
latest testing/unstable environment, latest KDE (3.1.0-1+, based on
libfam0c102).

Following a typical example of such an exception, including the (huge) stack
trace:
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:2316)
	at org.eclipse.swt.SWT.error(SWT.java:2246)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:359)
	at org.eclipse.swt.widgets.Control.getDisplay(Control.java:1322)
	at org.eclipse.swt.widgets.Widget.isValidThread(Widget.java:703)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:297)
	at org.eclipse.swt.widgets.Control.isEnabled(Control.java:1918)
	at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1359)
	at
org.eclipse.ui.internal.EditorManager.runProgressMonitorOperation(EditorManager
.java:960)	at
org.eclipse.ui.internal.EditorManager.saveAll(EditorManager.java:1046)	at
org.eclipse.ui.internal.Workbench$6.run(Workbench.java:367)	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:86
7)	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.ui.internal.Workbench.saveAllEditors(Workbench.java:341)
	at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:276)
	at org.eclipse.ui.internal.Workbench.access$700(Workbench.java:112)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:435)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:433)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:425)
	at org.eclipse.ui.internal.Workbench.close(Workbench.java:419)
	at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:374)
	at org.eclipse.ui.internal.WorkbenchWindow.access$000(WorkbenchWindow.java:95)
	at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:463)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65)
	at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:461)
	at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:498)
	at org.eclipse.jface.window.Window$2.shellClosed(Window.java:449)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:152)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:897)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:922)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:906)
	at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:424)
	at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:624)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1134)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:1917)
	at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(Native Method)
	at org.eclipse.swt.widgets.Display.eventProc(Display.java:577)
	at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method)
	at org.eclipse.swt.widgets.Canvas.scroll(Canvas.java:169)
	at
org.eclipse.swt.custom.StyledText.redrawMultiLineChange(StyledText.java:6191)	at
org.eclipse.swt.custom.StyledText.handleTextChanging(StyledText.java:5373)	at
org.eclipse.swt.custom.StyledText$6.textChanging(StyledText.java:4880)	at
org.eclipse.jface.text.DocumentAdapter.fireTextChanging(DocumentAdapter.java:32
5)	at
org.eclipse.jface.text.DocumentAdapter.documentAboutToBeChanged(DocumentAdapter
.java:254)	at
org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDo
cument.java:504)	at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:891)	at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$Partiall
ySynchronizedDocument.replace(CompilationUnitDocumentProvider.java:755)	at
org.eclipse.jface.text.DocumentAdapter.replaceTextRange(DocumentAdapter.java:16
5)	at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5776)
	at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6708)
	at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2442)
	at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5582)
	at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5158)
	at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5177)
	at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java:4924)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:897)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1507)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1324)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1271)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1254)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:8
45)	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)

Thanks in advance for any input
Florian

-- 
Florian Steinsiepe
florian@steinsiepe.ch



Reply to: