[rules-users] Exception: rule 'end_key' failed predicate

Edson Tirelli tirelli at post.com
Thu Aug 12 08:56:59 EDT 2010


   No generics. Sorry.

   Edson

2010/8/12 Tina Vießmann <tviessmann at stud.hs-bremen.de>

>  Hi,
>
> I'm receiving a exception when trying to run my application:
>  [ERR 103] Line 44:24 rule 'end_key' failed predicate:
> {(validateIdentifierKey(DroolsSoftKeywords.END))}? in  Watcher[55,0]: [ERR
> 101] Line 55:0 no viable alternative at input 'global' in rule end
>
> The relevant code is:
>
> declare Watcher
>     @role ( event )
>
>     triggeringValue : Value
>     numberOfContainedValues : int
>     valueSet : Set<Value>
> end
>
> global Logger LOG;    # Line 55
>
>
> I know the problem lies in the Watcher declaration, but I don't know what
> it is.
>
> Thanks for any help! :)
> Tina
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100812/e55a87fa/attachment.html 


More information about the rules-users mailing list