My annotator's process method begins like this:

        public void process(JCas jcas) throws AnalysisEngineProcessException {
                FSIndexRepository repo = jcas.getFSIndexRepository();

I'm getting a NullPointerException at the line after that, because repo is null. How can this happen?

Possibly relevant: the CAS I'm processing was loaded by the CVD from an XMI file. In the CVD I see an index called blah.blah.blah.MyType_GeneratedIndex, whereas I expected to see an index called MyTypeIndex that we defined.

-Aaron

Reply via email to