uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sondes Bannour <sondes.bann...@gmail.com>
Subject Ruta 2.0.1
Date Mon, 16 Sep 2013 14:30:34 GMT
Hi Peter,

I am trying to apply this rule on a text annotated with a Token type:

Token #{->MARKONCE(D├ętention1)} Token;

and i am getting this error message:

org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator
processing failed.
    at org.apache.uima.ruta.engine.RutaEngine.process(RutaEngine.java:279)
    at
org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
    at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375)
    at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:296)
    at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
    at
org.apache.uima.ruta.ide.launching.RutaLauncher.processFile(RutaLauncher.java:152)
    at
org.apache.uima.ruta.ide.launching.RutaLauncher.main(RutaLauncher.java:119)
Caused by: java.lang.NullPointerException
    at
org.apache.uima.ruta.rule.RutaTypeMatcher.getAnnotationsAfter(RutaTypeMatcher.java:93)
    at
org.apache.uima.ruta.rule.RutaRuleElement.getNextAnnotations(RutaRuleElement.java:373)
    at
org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:192)
    at
org.apache.uima.ruta.rule.WildCardRuleElement.tryWithNextType(WildCardRuleElement.java:244)
    at
org.apache.uima.ruta.rule.WildCardRuleElement.tryWithNextRuleElement(WildCardRuleElement.java:84)
    at
org.apache.uima.ruta.rule.WildCardRuleElement.continueMatch(WildCardRuleElement.java:64)
    at
org.apache.uima.ruta.rule.RutaRuleElement.startMatch(RutaRuleElement.java:79)
    at
org.apache.uima.ruta.rule.ComposedRuleElement.startMatch(ComposedRuleElement.java:58)
    at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:47)
    at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:40)
    at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:29)
    at org.apache.uima.ruta.RutaScriptBlock.apply(RutaScriptBlock.java:63)
    at org.apache.uima.ruta.RutaModule.apply(RutaModule.java:48)
    at org.apache.uima.ruta.engine.RutaEngine.process(RutaEngine.java:277)
    ... 6 more

Exception in thread "main"
org.apache.uima.analysis_engine.AnalysisEngineProcessException: Annotator
processing failed.
    at org.apache.uima.ruta.engine.RutaEngine.process(RutaEngine.java:279)
    at
org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
    at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375)
    at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:296)
    at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
    at
org.apache.uima.ruta.ide.launching.RutaLauncher.processFile(RutaLauncher.java:152)
    at
org.apache.uima.ruta.ide.launching.RutaLauncher.main(RutaLauncher.java:119)
Caused by: java.lang.NullPointerException
    at
org.apache.uima.ruta.rule.RutaTypeMatcher.getAnnotationsAfter(RutaTypeMatcher.java:93)
    at
org.apache.uima.ruta.rule.RutaRuleElement.getNextAnnotations(RutaRuleElement.java:373)
    at
org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:192)
    at
org.apache.uima.ruta.rule.WildCardRuleElement.tryWithNextType(WildCardRuleElement.java:244)
    at
org.apache.uima.ruta.rule.WildCardRuleElement.tryWithNextRuleElement(WildCardRuleElement.java:84)
    at
org.apache.uima.ruta.rule.WildCardRuleElement.continueMatch(WildCardRuleElement.java:64)
    at
org.apache.uima.ruta.rule.RutaRuleElement.startMatch(RutaRuleElement.java:79)
    at
org.apache.uima.ruta.rule.ComposedRuleElement.startMatch(ComposedRuleElement.java:58)
    at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:47)
    at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:40)
    at org.apache.uima.ruta.rule.RutaRule.apply(RutaRule.java:29)
    at org.apache.uima.ruta.RutaScriptBlock.apply(RutaScriptBlock.java:63)
    at org.apache.uima.ruta.RutaModule.apply(RutaModule.java:48)
    at org.apache.uima.ruta.engine.RutaEngine.process(RutaEngine.java:277)
    ... 6 more


Do you know what is the problem?

Best regards
Sondes

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message