[ 
https://issues.apache.org/jira/browse/UIMA-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471409
 ] 

Adam Lally commented on UIMA-283:
---------------------------------

The reason it works in the DocumentAnalyzer is that the DocumentAnalyzer uses 
the FileSystemCollectionReader, which creates the necessary 
org.apache.uima.examples.SourceDocumentInformation FS.

It cannot matter whether process() or processAndOutputNewCASes() is called, 
because the former just calls the latter and ignores any output CASes.  See the 
implementation of process(CAS) in AnalysisEngienImplBase.



> CAS Merger example component does not work with CVD/old API call
> ----------------------------------------------------------------
>
>                 Key: UIMA-283
>                 URL: https://issues.apache.org/jira/browse/UIMA-283
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.1
>         Environment: Windows/Linux
>            Reporter: Michael Baessler
>         Assigned To: Adam Lally
>             Fix For: 2.1
>
>
> CAS Merger example component does not work with CVD or with an old API call. 
> The merger component throws a RuntimeException.
> Is this the expected behavior, or should the framework should throw an 
> exception that this is not supported with this API? 
> We should at least document that.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to