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

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

     [ https://issues.apache.org/jira/browse/UIMA-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl reassigned UIMA-5425:
---------------------------------

    Assignee: Peter Klügl

> 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
>            Assignee: Peter Klügl
>
> I've created a rule that's able to crash the rule execution
> {code}
> TYPESYSTEM BasicTypeSystem;
> DECLARE Test;
> DECLARE Cap;
> (CW) {-> Cap};
> (Cap{-IS(SW)})*? CW {-> Test};
> {code}
> That looks for me like an endless loop:
> {code}
> 	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)
> {code}



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