Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-1761

Cas Editor logs SWTException when the Find/Annotate dialog is closed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.3
    • 2.3.1SDK
    • CAS Editor
    • None

    Description

      The Cas Editor throws a SWTException every time the find/annotate is closed.

      Here is the exception:
      org.eclipse.swt.SWTException: Widget is disposed
      at org.eclipse.swt.SWT.error(SWT.java:3884)
      at org.eclipse.swt.SWT.error(SWT.java:3799)
      at org.eclipse.swt.SWT.error(SWT.java:3770)
      at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
      at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:388)
      at org.eclipse.swt.widgets.Control.setEnabled(Control.java:3643)
      at org.apache.uima.caseditor.editor.FindAnnotateDialog.updateAnnotationButtons(FindAnnotateDialog.java:267)
      at org.apache.uima.caseditor.editor.FindAnnotateDialog.buttonPressed(FindAnnotateDialog.java:426)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      at org.eclipse.jface.window.Window.open(Window.java:801)
      at org.apache.uima.caseditor.editor.FindAnnotateAction.run(FindAnnotateAction.java:47)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
      at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
      at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
      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.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
      at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
      at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
      at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1212)
      at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:706)
      at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837)
      at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703)
      at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1570)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:4586)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4191)
      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:7586)
      at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185)
      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:1858)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
      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:368)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
      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:597)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

      Attachments

        Activity

          People

            joern Jörn Kottmann
            joern Jörn Kottmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: