I added a couple of print statements for debugging purposes. The same Exception comes up when using the AnnotationPrinter as well, and if I use a different AE besides the MetaMap one with either of these consumers it doesn't have the problem, so the problem is in the MetaMap UIMA annotator, not Solrcas. Sorry about the false alarm. I have sent a question to the authors of MetaMap.
Best, Dave -----Original Message----- From: Jörn Kottmann <[email protected]> Date: Fri, 04 Feb 2011 10:06:36 To: <[email protected]> Reply-To: [email protected] Subject: Re: StringIndexOutOfBoundsException using Solrcas On 2/3/11 6:06 PM, David Thibault wrote: > Hello all, > > First off, I apologize for sending this to both the user and dev lists, but > I'm not sure which list should get it. This is my first email to either > list. > > I am working with UIMA and Solrcas and I'm getting this error: > org.apache.uima.analysis_engine.AnalysisEngineProcessException > at > org.apache.uima.solrcas.SolrCASConsumer.process(SolrCASConsumer.java:138) > at Looked at line 138 in SolrCasConsumer, but that is at the end of the file and not inside the process method as the stack trace says. That means that the code your are running and the trunk code is different. Did you change the code? Or are you using and older version? Jörn
