Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
If an aggregate descriptor's <fixedFlow> references a delegate key that's not defined anywhere, you get a NullPointerException instead of a helpful error message.
org.apache.uima.analysis_engine.AnalysisEngineProcessException
at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:574)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:393)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:326)
at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:259)
at org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:202)
at org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.processNext(ProcessingUnit.java:1221)
at org.apache.uima.collection.impl.cpm.engine.ProcessingUnit.run(ProcessingUnit.java:668)
Caused by: java.lang.NullPointerException
at org.apache.uima.flow.impl.FixedFlowController$FixedFlowObject.next(FixedFlowController.java:181)
at org.apache.uima.analysis_engine.asb.impl.FlowContainer.next(FlowContainer.java:83)
at org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:506)
... 6 more