Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5492

Unpredictable update of engine.xml associated with a Ruta script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ruta
    • None

    Description

      It is unpredictable for me to know when engine.xml associated with a Ruta script is updated. I noticed this when I was busy with my extension. I added the full path my extension class in "additionalExtensions". After, I changed the Ruta script where the my extension is called. No problem. But after a while (I don't know which change I had made in that Ruta script) I got the following error message:
      aused by: org.apache.uima.ruta.extensions.RutaParseRuntimeException: Error in NsubjDep, line 17, "(": expected RCURLY, but found LPAREN
      at org.apache.uima.ruta.parser.RutaParser.emitErrorMessage(RutaParser.java:380)
      at org.apache.uima.ruta.parser.RutaParser.emitErrorMessage(RutaParser.java:401)
      at org.apache.uima.ruta.parser.RutaParser.reportError(RutaParser.java:419)
      at org.antlr.runtime.BaseRecognizer.recoverFromMismatchedToken(BaseRecognizer.java:613)
      at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)
      at org.apache.uima.ruta.parser.RutaParser.ruleElementAnnotationType(RutaParser.java:5086)
      ... 21 more

      later, I realized that the associate engine.xml has automatically updated and the full path of my extension class name has been removed.

      PS: The error message is also very unlear.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rezahay@yahoo.com Reza Haydarlou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: