You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Christian (JIRA)" <de...@uima.apache.org> on 2017/05/11 08:58:04 UTC

[jira] [Created] (UIMA-5425) Rule crashes RUTA execution

Christian created UIMA-5425:
-------------------------------

             Summary: Rule crashes RUTA execution
                 Key: UIMA-5425
                 URL: https://issues.apache.org/jira/browse/UIMA-5425
             Project: UIMA
          Issue Type: Bug
    Affects Versions: 2.3.1ruta
            Reporter: Christian


I've created a rule that's able to crash the rule execution

{quote}
TYPESYSTEM BasicTypeSystem;

DECLARE Test;
DECLARE Cap;

(CW) {-> Cap};

(Cap{-IS(SW)})*? CW {-> Test};
{quote}

That looks for me like an endless loop:

{quote}
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
	at org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:214)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueMatch(ComposedRuleElement.java:193)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueOwnMatch(ComposedRuleElement.java:366)
	at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:442)
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
	at org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:214)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueMatch(ComposedRuleElement.java:193)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueOwnMatch(ComposedRuleElement.java:366)
	at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:442)
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
	at org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:214)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueMatch(ComposedRuleElement.java:193)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueOwnMatch(ComposedRuleElement.java:366)
	at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:442)
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
	at org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:214)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueMatch(ComposedRuleElement.java:193)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueOwnMatch(ComposedRuleElement.java:366)
	at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:442)
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
	at org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:214)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueMatch(ComposedRuleElement.java:193)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueOwnMatch(ComposedRuleElement.java:366)
	at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:442)
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
	at org.apache.uima.ruta.rule.RutaRuleElement.continueMatch(RutaRuleElement.java:214)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueMatch(ComposedRuleElement.java:193)
	at org.apache.uima.ruta.rule.ComposedRuleElement.continueOwnMatch(ComposedRuleElement.java:366)
	at org.apache.uima.ruta.rule.ComposedRuleElement.fallbackContinue(ComposedRuleElement.java:442)
	at org.apache.uima.ruta.rule.RutaRuleElement.stepbackMatch(RutaRuleElement.java:283)
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)