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

Cas Editor: BackgroundDrawingStrategy throws IllegalArgumentException

    XMLWordPrintableJSON

Details

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

    Description

      java.lang.IllegalArgumentException: Index out of bounds
      at org.eclipse.swt.SWT.error(SWT.java:3761)
      at org.eclipse.swt.SWT.error(SWT.java:3695)
      at org.eclipse.swt.SWT.error(SWT.java:3666)
      at org.eclipse.swt.custom.StyledText.getText(StyledText.java:4518)
      at org.apache.uima.caseditor.editor.annotation.BackgroundDrawingStrategy.draw(BackgroundDrawingStrategy.java:72)
      at org.eclipse.jface.text.source.AnnotationPainter.drawDecoration(AnnotationPainter.java:1424)
      at org.eclipse.jface.text.source.AnnotationPainter.handleDrawRequest(AnnotationPainter.java:1390)
      at org.eclipse.jface.text.source.AnnotationPainter.paintControl(AnnotationPainter.java:1334)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
      at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1424)
      at org.eclipse.swt.widgets.Control.windowProc(Control.java:3842)
      at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
      at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
      at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
      at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
      at org.eclipse.jface.window.Window.open(Window.java:801)
      at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.ui.actions.RetargetAction.runWithEvent(RetargetAction.java:230)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
      at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
      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:193)
      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:386)
      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:549)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: