Project: Eclipse_Platform_UI
Bug 93238 [Workbench] CCE in XMLMemento while exiting my workspace
Reported: 2005-04-29 04:43:33 | Status: verified fixed

Using build I20050426-1700. While exiting my workspace I got following exception: !ENTRY org.eclipse.ui.workbench 4 2 2005-04-29 10:40:17.127 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.ClassCastException: org.apache.crimson.tree.TextNode at org.eclipse.ui.XMLMemento$DOMWriter.save(XMLMemento.java:430) at org.eclipse.ui.XMLMemento$DOMWriter.save(XMLMemento.java:430) at org.eclipse.ui.XMLMemento$DOMWriter.save(XMLMemento.java:430) at org.eclipse.ui.XMLMemento$DOMWriter.save(XMLMemento.java:430) at org.eclipse.ui.XMLMemento$DOMWriter.save(XMLMemento.java:430) at org.eclipse.ui.XMLMemento$DOMWriter.save(XMLMemento.java:430) at org.eclipse.ui.XMLMemento.save(XMLMemento.java:404) at org.eclipse.ui.internal.Workbench.saveMementoToFile(Workbench.java:1618) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:1609) at org.eclipse.ui.internal.Workbench$9.run(Workbench.java:500) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1026) at org.eclipse.core.runtime.Platform.run(Platform.java:757) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:496) at org.eclipse.ui.internal.Workbench.access$6(Workbench.java:461) at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:644) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.Workbench.close(Workbench.java:642) at org.eclipse.ui.internal.Workbench.close(Workbench.java:617) at org.eclipse.ui.internal.QuitAction.run(QuitAction.java:57) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2900) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2533) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1533) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:306) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:345) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:158) 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:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:319) at org.eclipse.core.launcher.Main.basicRun(Main.java:272) at org.eclipse.core.launcher.Main.run(Main.java:951) at org.eclipse.core.launcher.Main.main(Main.java:935)

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/XMLMemento.java