I found the error by commenting out all the code and carefully uncommenting bits of it
error occurred again.
It turned out to be a function in the DRL that called Knowledgehelper.clearAgenda(). From
the Javadocs I assume this has been replaced by Workingmemory.clearAgenda(). With that
DRL compiled OK. I hate to whine, but couldn't we have deprecated the old method
instead of just
1)I would really appreciate it if someone could point me to a list of all the API changes
2)Is the plugin supposed to be working as it is, not telling me where there are errors?
Scott Reed's message received 8/17/2007 1:50 PM:
It appears that the plugin is not recompiling the file when I edit
but it says it is "Unable to parse rules to build Rete tree" if I select
I could really use some help here.
Shouldn't the compiler be telling mere where the syntax errors are?
Scott Reed's message received 8/17/2007 1:20 PM:
> By the way, the Eclipse plugin is not complaining about this file.
> Scott Reed's message received 8/17/2007 1:15 PM:
>> I have converted my 3.1 DRL to 4.0, think I have the dependencies
>> worked out (removed antlr-30ea8.jar) and now I am getting a cryptic
>> error message from the DRL compiler:
>> Rules.getRuleBase. org.drools.compiler.FunctionError@191394e
>> at org.drools.rule.Package.checkValidity(Package.java:412)
>> Am I missing something with the plugin, is my DRL so badly munged the
>> compiler can't explain what's wrong, or what?
>> rules-users mailing list
> rules-users mailing list
rules-users mailing list