You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Reza Haydarlou (JIRA)" <de...@uima.apache.org> on 2017/07/14 13:41:00 UTC
[jira] [Created] (UIMA-5492) Unpredictable update of engine.xml
associated with a Ruta script
Reza Haydarlou created UIMA-5492:
------------------------------------
Summary: Unpredictable update of engine.xml associated with a Ruta script
Key: UIMA-5492
URL: https://issues.apache.org/jira/browse/UIMA-5492
Project: UIMA
Issue Type: Bug
Components: Ruta
Reporter: Reza Haydarlou
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)