org.apache.uima.resource.ResourceInitializationException: Initialization of annotator class "org.apache.uima.ruta.engine.RutaEngine" failed. (Descriptor: <unknown>)

  1. 0

    UIMA RUTA script with stringfunctions doesnt work when executing from UIMA-Fit

    Stack Overflow | 3 months ago | Himanshu Shivhare
    org.apache.uima.resource.ResourceInitializationException: Initialization of annotator class "org.apache.uima.ruta.engine.RutaEngine" failed. (Descriptor: <unknown>)
  2. 0

    UIMA ruta WORDTABLE

    Stack Overflow | 1 year ago | David
    org.apache.uima.resource.ResourceInitializationException: Initialization of annotator class "org.apache.uima.ruta.engine.RutaEngine" failed. (Descriptor: file:/home/david/soft/rutatest/test/descriptor/TableEngine.xml)

    Root Cause Analysis

    1. org.apache.uima.ruta.extensions.RutaParseRuntimeException

      Error in Example, line 28, "(": found no viable alternative

      at org.apache.uima.ruta.parser.RutaParser.emitErrorMessage()
    2. org.apache.uima
      RutaEngine.initialize
      1. org.apache.uima.ruta.parser.RutaParser.emitErrorMessage(RutaParser.java:358)
      2. org.apache.uima.ruta.parser.RutaParser.emitErrorMessage(RutaParser.java:372)
      3. org.apache.uima.ruta.parser.RutaParser.booleanExpression(RutaParser.java:19535)
      4. org.apache.uima.ruta.parser.RutaParser.actionAssign(RutaParser.java:14631)
      5. org.apache.uima.ruta.parser.RutaParser.action(RutaParser.java:11305)
      6. org.apache.uima.ruta.parser.RutaParser.actions(RutaParser.java:5085)
      7. org.apache.uima.ruta.parser.RutaParser.ruleElementType(RutaParser.java:4688)
      8. org.apache.uima.ruta.parser.RutaParser.ruleElement(RutaParser.java:3994)
      9. org.apache.uima.ruta.parser.RutaParser.ruleElementsRoot(RutaParser.java:3739)
      10. org.apache.uima.ruta.parser.RutaParser.simpleStatement(RutaParser.java:3250)
      11. org.apache.uima.ruta.parser.RutaParser.statement(RutaParser.java:1000)
      12. org.apache.uima.ruta.parser.RutaParser.statements(RutaParser.java:804)
      13. org.apache.uima.ruta.parser.RutaParser.blockDeclaration(RutaParser.java:2921)
      14. org.apache.uima.ruta.parser.RutaParser.statement(RutaParser.java:1010)
      15. org.apache.uima.ruta.parser.RutaParser.statements(RutaParser.java:804)
      16. org.apache.uima.ruta.parser.RutaParser.file_input(RutaParser.java:712)
      17. org.apache.uima.ruta.engine.RutaEngine.loadScript(RutaEngine.java:1087)
      18. org.apache.uima.ruta.engine.RutaEngine.initializeScript(RutaEngine.java:756)
      19. org.apache.uima.ruta.engine.RutaEngine.initialize(RutaEngine.java:530)
      19 frames
    3. Apache UIMA Base: ${project.artifactId}
      UIMAFramework.produceAnalysisEngine
      1. org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:266)
      2. org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
      3. org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
      4. org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
      5. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
      6. org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:407)
      7. org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_impl.java:256)
      8. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initASB(AggregateAnalysisEngine_impl.java:429)
      9. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.java:373)
      10. org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.initialize(AggregateAnalysisEngine_impl.java:186)
      11. org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:94)
      12. org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
      13. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279)
      14. org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:331)
      15. org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:448)
      15 frames
    4. org.apache.uima
      SimplePipeline.runPipeline
      1. org.apache.uima.fit.factory.AnalysisEngineFactory.createEngine(AnalysisEngineFactory.java:205)
      2. org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:82)
      2 frames
    5. example
      Annotate.main
      1. example.Annotate.main(Annotate.java:49)
      1 frame