Menu

#5 Exception when deleting document

v1.0_(example)
open
nobody
5
2002-08-22
2002-08-22
Anonymous
No

I get this error when deleting a document:

Unhandled exception caught in event loop.
Reason:
org.eclipse.ui.internal.dialogs.WelcomeEditorInput

This error only appears when I also have a 'Welcome'
tab open (which is the default on a new installation).

When I close the Welcome item the delete works properly.

Reopen a Welcome item (Help-Welcome-Eclipse Platform,
for example) and the delete crashes again.

Since it is easy to avoid by closing the Welcome tab,
it is not critical; but could be confusing for new users.

Here is the info and stack trace from the Configuration
Details screen:

%< -----------------------
!ENTRY org.eclipse.ui 4 4 Aug 21, 2002 23:43:50.474
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Aug 21, 2002 23:43:50.477
!MESSAGE org.eclipse.ui.internal.dialogs.WelcomeEditorInput
!STACK 0
java.lang.ClassCastException:
org.eclipse.ui.internal.dialogs.WelcomeEditorInput
at
org.etish.xindice.attrezzo.internal.ui.actions.DeleteAction.findEditedDocuments(DeleteAction.java:132)
at
org.etish.xindice.attrezzo.internal.ui.actions.DeleteAction.run(DeleteAction.java:174)
at
org.eclipse.jface.action.Action.runWithEvent(Action.java:749)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:846)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1683)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1506)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)
at
org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
at org.eclipse.core.launcher.Main.run(Main.java:698)
at org.eclipse.core.launcher.Main.main(Main.java:534)

Discussion


Log in to post a comment.

Auth0 Logo