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

Tina Vießmann tviessmann at stud.hs-bremen.de
Thu Aug 12 05:40:50 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100812/0b606d03/attachment.html 


More information about the rules-users mailing list