Richard Eckart de Castilho created UIMA-6204:
------------------------------------------------
Summary: createReaderDescription does not discover type priorities
Key: UIMA-6204
URL: https://issues.apache.org/jira/browse/UIMA-6204
Project: UIMA
Issue Type: Bug
Components: uimaFIT
Affects Versions: 2.4.0uimaFIT
Reporter: Richard Eckart de Castilho
Fix For: 2.5.0uimaFIT
createReaderDescription does not discover type priorities. This may cause the
JCas to be incompletely initialised (i.e. without type priorities), e.g. when
only such a reader is used in a JCasIterable. A workaround is to add a No-op
analysis engine to the JCasIterable:
{code}
JCasIterable pipeline = SimplePipeline.iteratePipeline(readerDescription,
createEngineDescription(NoOpAnnotator.class));
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)