[
https://issues.apache.org/jira/browse/UIMA-6428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17681321#comment-17681321
]
Richard Eckart de Castilho commented on UIMA-6428:
--------------------------------------------------
Issue has moved here and has been resolved:
https://github.com/apache/uima-uimaj/issues/272
> cas.select(TOP.class).count() has unexpected result
> ---------------------------------------------------
>
> Key: UIMA-6428
> URL: https://issues.apache.org/jira/browse/UIMA-6428
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Reporter: Richard Eckart de Castilho
> Priority: Major
> Fix For: 3.4.1SDK
>
>
> Calling cas.select(TOP.class).count() returns a very large long number -
> probably Long.MAX_VALUE. It is a bit unexpected... To get an accurate number,
> one has to call cas.select(TOP.class).asList().size().
--
This message was sent by Atlassian Jira
(v8.20.10#820010)