Sorry, it seems that the exception concerned a typo somewhere else in my code.


Am 12.08.2010 15:44, schrieb Tina Vießmann:
Thank you, Edson. :)

Will collection without generic marker work?
For excample:
    valueSet : Set

Because if it should work, it doesn't do for me. I'm getting a NullPointerException:
    at org.drools.rule.builder.PatternBuilder.getDeclarationsMap(PatternBuilder.java:641)

Thank you :)
Tina



Am 12.08.2010 14:56, schrieb Edson Tirelli:
   No generics. Sorry.

   Edson

2010/8/12 Tina Vießmann <tviessmann@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




--
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users