You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2006/11/16 16:49:38 UTC
[jira] Created: (UIMA-40) CasAnnotationViewer doesn't support new
primitive types
CasAnnotationViewer doesn't support new primitive types
-------------------------------------------------------
Key: UIMA-40
URL: http://issues.apache.org/jira/browse/UIMA-40
Project: UIMA
Issue Type: Bug
Components: Tools
Reporter: Adam Lally
Assigned To: Adam Lally
If an annotation has a feature of type byte, boolean, short, long, or double; clicking on this annotation in the text view causes an exception to be printed to the console and nothing to be displayed in the annotation details tree.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (UIMA-40) CasAnnotationViewer doesn't support new
primitive types
Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/UIMA-40?page=all ]
Adam Lally reassigned UIMA-40:
------------------------------
Assignee: Thilo Goetz (was: Adam Lally)
Assigning to Thilo to review and "straighten this out" as he offered on the dev list.
> Adam Lally wrote:
> > I fixed a bug (reported on the forum) that the Annotation Viewer
> > didn't support the new primitive types. But I'm not so happy with my
> > fix... it involved a lot of if..else if blocks for each of the
> > different array types. You can get an idea of how ugly it was to
> > implement this just by scanning the patch quoted below. Is there a
> > better way? Should I create a new JIRA issue for cleaning this up?
> >
> > -Adam
>
> I was going to answer "you can use LowLevelCAS.ll_getTypeClass(int
> typeCode)" but I see that Bhavani failed to update that method for the
> new types. I will have to deal with the same thing in the CVD one of
> these days. When I do, I'll go back to the annotation viewer and see if
> I can straighten things out.
>
What would have been nice is a common superinterface of all the
primitive array types, which defines a toStringArray() method. The
toStringArray() methods are already there on the impls, but there's no
superinterface that I can use to get at them.
> CasAnnotationViewer doesn't support new primitive types
> -------------------------------------------------------
>
> Key: UIMA-40
> URL: http://issues.apache.org/jira/browse/UIMA-40
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Reporter: Adam Lally
> Assigned To: Thilo Goetz
>
> If an annotation has a feature of type byte, boolean, short, long, or double; clicking on this annotation in the text view causes an exception to be printed to the console and nothing to be displayed in the annotation details tree.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (UIMA-40) CasAnnotationViewer doesn't support new
primitive types
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Baessler closed UIMA-40.
--------------------------------
Fix Version/s: 2.1
Resolution: Fixed
> CasAnnotationViewer doesn't support new primitive types
> -------------------------------------------------------
>
> Key: UIMA-40
> URL: https://issues.apache.org/jira/browse/UIMA-40
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Reporter: Adam Lally
> Assigned To: Thilo Goetz
> Fix For: 2.1
>
>
> If an annotation has a feature of type byte, boolean, short, long, or double; clicking on this annotation in the text view causes an exception to be printed to the console and nothing to be displayed in the annotation details tree.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-40) CasAnnotationViewer doesn't support new
primitive types
Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Lally closed UIMA-40.
--------------------------
Opened new issue UIMA-301 with my wish to have an easier way to do this.
> CasAnnotationViewer doesn't support new primitive types
> -------------------------------------------------------
>
> Key: UIMA-40
> URL: https://issues.apache.org/jira/browse/UIMA-40
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Reporter: Adam Lally
> Assigned To: Thilo Goetz
>
> If an annotation has a feature of type byte, boolean, short, long, or double; clicking on this annotation in the text view causes an exception to be printed to the console and nothing to be displayed in the annotation details tree.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (UIMA-40) CasAnnotationViewer doesn't support new
primitive types
Posted by "Michael Baessler (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Baessler reopened UIMA-40:
----------------------------------
> CasAnnotationViewer doesn't support new primitive types
> -------------------------------------------------------
>
> Key: UIMA-40
> URL: https://issues.apache.org/jira/browse/UIMA-40
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Reporter: Adam Lally
> Assigned To: Thilo Goetz
>
> If an annotation has a feature of type byte, boolean, short, long, or double; clicking on this annotation in the text view causes an exception to be printed to the console and nothing to be displayed in the annotation details tree.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (UIMA-40) CasAnnotationViewer doesn't support new
primitive types
Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/UIMA-40?page=all ]
Adam Lally resolved UIMA-40.
----------------------------
Resolution: Fixed
Fixed, and I added a test case. But I'm not that happy with how much code it took to implement this. Is there a better way?
> CasAnnotationViewer doesn't support new primitive types
> -------------------------------------------------------
>
> Key: UIMA-40
> URL: http://issues.apache.org/jira/browse/UIMA-40
> Project: UIMA
> Issue Type: Bug
> Components: Tools
> Reporter: Adam Lally
> Assigned To: Adam Lally
>
> If an annotation has a feature of type byte, boolean, short, long, or double; clicking on this annotation in the text view causes an exception to be printed to the console and nothing to be displayed in the annotation details tree.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira