[rules-users] Rete Tree does not load in the plugin

2008-12-02 Thread Anil
I don't know whether this is the right place for this question. The Rete Tree view of the Eclipse drl editor does fails for the example drl fild, with Rete Tree Build Error. I tried the suggestion given in http://www.nabble.com/Problems-with-drools-4.0.7-examples-tp18091849p18095457.html as

Re: [rules-users] Inline eval problem!

2008-12-02 Thread M.DILIP KUMAR
Hi ,    i can suggest one more way to solve it. Dont create instance in when part. Instead of better you convert that helper class method as static methods. So that u can call that method directly . but before that u should import that helper class in drl file.    Or second way u can directly

RE: [rules-users] ClassCastException when firing rules

2008-12-02 Thread seemamani
Thanks Dean, we have removed the AOP implementation to check if that is the source of the problem. Edson, Is there any chance for a ClassCastException if the fact classes in the application were changed, but the fact model classes that are part of the compiled rule package were not updated to

Re: [rules-users] Proper termination of a CommandService

2008-12-02 Thread Kris Verlaenen
Michal, I'll add a dispose method to the SingleSessionCommandService. Don't think using a command for this would be a good idea as it would leave the session in a disposed state so future commands would fail. Regarding your earlier question, SingleSessionCommandService now also has

Re: [rules-users] Re: [drools-user] The Eclipse JDT Core jar is not inthe classpath error

2008-12-02 Thread Kris Verlaenen
Eclipse 3.4.x is not supported for Drools 4.0.x. So you should either - use Eclipse 3.3.x or 3.2.x with the corresponding Drools 4.0.7 plugin - use the Drools 5.x plugin with Eclipse 3.4.x Even though large parts of the Drools 4.0.7 plugin might still work under Eclipse 3.4.x, some things like

Re: [rules-users] Rete Tree does not load in the plugin

2008-12-02 Thread Kris Verlaenen
The Rete Tree view of the Eclipse drl editor does fails for the example drl fild, with Rete Tree Build Error. Which version of the Drools plugin and which version of Eclipse are you using? I know the Rete Tree was broken for a while but should be working again in the latest release. Kris

[rules-users] New features in Guvnor

2008-12-02 Thread seemamani
Is there some documentation which summarizes the new features in Guvnor that were not in the older version of the BRMS? I saw a blog http://blog.athico.com/2008/04/brms-for-drools-5.html which had information on the Guvnor, but not sure if all the new features were discussed in that. Thanks,

Re: [rules-users] ClassCastException when firing rules

2008-12-02 Thread Edson Tirelli
Yes, that is correct. If the underlying class interface changed, java will raise CCE. Rulebase must be recompiled in that case. []s Edson 2008/12/2 seemamani [EMAIL PROTECTED] Thanks Dean, we have removed the AOP implementation to check if that is the source of the problem. Edson,

Re: [rules-users] NullPointerException with float field

2008-12-02 Thread techy
Hello Mark, Is this a bug? techy wrote: I use 4.0.7. Mark Proctor wrote: techy wrote: I have rule that logical comparison with two Float fields(like price bidPrice || price = bidPrice ). I get following exception if one of field is null. Is this expected behaviour? Please

Re: [rules-users] Proper termination of a CommandService

2008-12-02 Thread Michal Bali
Thank you Kris ! That is perfect. I was a bit worried If I was asking wrong questions, since I wasn't getting any answers. I have a follow up question though :) I have an asynchronous ruleflow (by asynchronous I mean ruleflow that has some asynchronous nodes like a human task). Would it be OK

Re: [rules-users] NullPointerException with float field

2008-12-02 Thread Edson Tirelli
Seems like a bug, yes. Wanna try to fix and provide patch? drools-core/src/main/java/org/drools/base/extractors/BaseObjectClassFieldExtractor.java []s Edson 2008/12/2 techy [EMAIL PROTECTED] Hello Mark, Is this a bug? techy wrote: I use 4.0.7. Mark Proctor wrote:

[rules-users] NoClassDefFoundError: BaseObjectClassFieldReader

2008-12-02 Thread keithnielsen
I have the following rule: rule Retrieve CID Presentation Model ruleflow-group RetrieveCID when CIDPresentationModel($cidValue:cidValue,$cidExpirationDate:expirationDate) then boolean cidResult =

[rules-users] The Eclipse JDT Core jar is not in the classpath

2008-12-02 Thread Sascha
sorry for asking simple question. i try to run a drools test under eclipse but it get following error: The Eclipse JDT Core jar is not in the classpath what might be the error? i already added janino.jar and org.eclipse.jdt.core_3.3.0.v_0771jar to classpath with no

Re: [rules-users] NoClassDefFoundError: BaseObjectClassFieldReader

2008-12-02 Thread keithnielsen
It appears that the field assignment issues happen when the class is in a different plugin. If the class is in the same plugin as the rules engine it works fine, but the minute you try and use a class from a different plugin it chokes. keithnielsen wrote: I have the following rule: rule

Re: [rules-users] NoClassDefFoundError: BaseObjectClassFieldReader

2008-12-02 Thread keithnielsen
Further testing shows that while the rules engine can locate facts from other plug-ins (facts located in the same plugin as the rules engine work fine, but not realistic to expect that all facts will be co-located in the same plugin), an attempt to reconstitute them using the ByteArrayClassloader