[rules-users] Unexpected global error
Gaurav Anand
ygaurav at yahoo.com
Tue Jul 1 04:58:48 EDT 2008
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 at web.de> wrote:
From: thomas kukofka <thomaskukofka at web.de>
Subject: [rules-users] Unexpected global error
To: rules-users at 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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080701/12c5acd0/attachment.html
More information about the rules-users
mailing list