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

Outline view may throws ClassCastException in TypeGroupedContentProvider

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.3
    • CAS Editor
    • None

    Description

      !ENTRY org.eclipse.ui 4 0 2009-10-05 20:38:20.113
      !MESSAGE Unhandled event loop exception
      !STACK 0
      java.lang.ClassCastException: org.apache.uima.caseditor.editor.outline.AnnotationTypeTreeNode cannot be cast to org.apache.uima.caseditor.editor.outline.AnnotationTreeNode
      at org.apache.uima.caseditor.editor.outline.TypeGroupedContentProvider.getParent(TypeGroupedContentProvider.java:105)
      at org.eclipse.jface.viewers.AbstractTreeViewer.getParentElement(AbstractTreeViewer.java:1653)
      at org.eclipse.jface.viewers.TreeViewer.getParentElement(TreeViewer.java:606)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1580)
      at org.eclipse.jface.viewers.AbstractTreeViewer.internalExpand(AbstractTreeViewer.java:1582)
      at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2470)
      at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2900)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1399)
      at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
      at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353)
      at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1455)
      at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537)
      at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1414)
      at org.apache.uima.caseditor.editor.outline.AnnotationOutline$EditorListener.showAnnotationsChanged(AnnotationOutline.java:91)
      at org.apache.uima.caseditor.editor.AnnotationEditor$3.selectionChanged(AnnotationEditor.java:686)
      at org.apache.uima.caseditor.editor.contextmenu.ShowAnnotationsMenu$1.handleEvent(ShowAnnotationsMenu.java:107)
      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.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)

      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: