You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jörn Kottmann (JIRA)" <de...@uima.apache.org> on 2011/07/06 15:39:16 UTC

[jira] [Created] (UIMA-2160) Annotation Editor throws exceptions on view change if other view has much more lines

Annotation Editor throws exceptions on view change if other view has much more lines
------------------------------------------------------------------------------------

                 Key: UIMA-2160
                 URL: https://issues.apache.org/jira/browse/UIMA-2160
             Project: UIMA
          Issue Type: Bug
          Components: CasEditor
            Reporter: Jörn Kottmann
            Assignee: Jörn Kottmann
             Fix For: 2.3.2SDK


The Annotation Editor crashes if the view is changed to another view which has a significant longer text compared to the currently shown view.

This issue can be reproduced with eclipse 3.6 and 3.7. Other versions have not been tested, since I first believed the issue is linked to eclipse 3.7.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Closed] (UIMA-2160) Annotation Editor throws exceptions on view change if other view has much more lines

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann closed UIMA-2160.
-------------------------------

    Resolution: Fixed

> Annotation Editor throws exceptions on view change if other view has much more lines
> ------------------------------------------------------------------------------------
>
>                 Key: UIMA-2160
>                 URL: https://issues.apache.org/jira/browse/UIMA-2160
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>             Fix For: 2.3.2SDK
>
>
> The Annotation Editor crashes if the view is changed to another view which has a significant longer text compared to the currently shown view.
> This issue can be reproduced with eclipse 3.6 and 3.7. Other versions have not been tested, since I first believed the issue is linked to eclipse 3.7.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (UIMA-2160) Annotation Editor throws exceptions on view change if other view has much more lines

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060577#comment-13060577 ] 

Jörn Kottmann commented on UIMA-2160:
-------------------------------------

In case someone experiences this issue, the thrown exception looks like this:
java.lang.ArrayIndexOutOfBoundsException: 8
    at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:766)
    at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:720)
    at org.eclipse.swt.custom.StyledText.getPointAtOffset(StyledText.java:5419)
    at org.eclipse.swt.custom.StyledText.setCaretLocation(StyledText.java:8357) -------- that is the problem!!!
    at org.eclipse.swt.custom.StyledText.showCaret(StyledText.java:10086)
    at org.eclipse.swt.custom.StyledText.doMouseLocationChange(StyledText.java:2807)
    at org.eclipse.swt.custom.StyledText.handleMouseDown(StyledText.java:6002)
    at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5637)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4125)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3971)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3610)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    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:344)
    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:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

> Annotation Editor throws exceptions on view change if other view has much more lines
> ------------------------------------------------------------------------------------
>
>                 Key: UIMA-2160
>                 URL: https://issues.apache.org/jira/browse/UIMA-2160
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Jörn Kottmann
>            Assignee: Jörn Kottmann
>             Fix For: 2.3.2SDK
>
>
> The Annotation Editor crashes if the view is changed to another view which has a significant longer text compared to the currently shown view.
> This issue can be reproduced with eclipse 3.6 and 3.7. Other versions have not been tested, since I first believed the issue is linked to eclipse 3.7.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira