Hi Thomas
Can you please find out if your code is reading the correct drl file ? Is your drl file
loaded properly. I got the same error when I was trying to load a file from a dir and
forgot to add drl file in that dir ?
Thanks
Gaurav
--- On Mon, 6/30/08, thomas kukofka <thomaskukofka(a)web.de> wrote:
From: thomas kukofka <thomaskukofka(a)web.de>
Subject: [rules-users] Unexpected global error
To: rules-users(a)lists.jboss.org
Date: Monday, June 30, 2008, 5:37 PM
Hello,
I get this exception: Exception in thread "main" java.lang.RuntimeException:
Unexpected global [service]
That's the global declaration in the drl: global java.util.HashMap service
And ther I set teh global in teh Java-class:
HashMap<String, AIOObject> service = new HashMap<String, AIOObject>();
workingMemory.setGlobal("service", service);
Appreciate your help!
Kind Regards
Thomas
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users