On 2/1/11 11:56 PM, [email protected] wrote:
Now to get to my problem: My event stream sometimes contains events,  which
consist of an outcome and a context String array containing only ONE
String! When this event gets processed, a null pointer exception occurs
and I managed to trace back, why this happens:
The method opennlp.model.AbstractDataIndexer.sortAndMerge(List,boolean)
returns, if numEvents<= 1 resulting in 'contexts' to stay null.

Sounds like a bug to me, would you mind to contribute a test?
Anyway please open a jira issue.

Jörn

Reply via email to