Hi Taylor,
I must say I took a while to reproduce this problem. I knew there could be
something wrong because I couldn't reproduce it neither on the 5.5.x
(master) branch nor on the 5.4.x one and that was weird because I pushed the
fix linked by Davide on the master branch but I didn't backport it
Great! Thanks so much Davide (and laune).
Cheers,
Taylor
--
View this message in context:
http://drools.46999.n3.nabble.com/Issue-with-From-Clause-Class-Cast-Error-tp4019846p4019854.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
__
Well.. if you remove that line you are not including your rules in the
knowledge base :)
But the problem is as suspected, a fix was not back-ported. You can either
use 5.5 or
wait for Mario to follow up shortly with the patched 5.4
Best
Davide
--
View this message in context:
http://drools.469
So, this had everything to do with:
kb.addKnowledgePackages(kbBuilder.getKnowledgePackages());
If I remove this line, all is fine.
Fortunately, in my project I do not actually need to state specific packages
(I am using a ruleflow to control the flow instead).
However, this should be noted as a
I am using 5.4.0 Final
Downloaded about a month ago.
>From drools-core-5.4.0.Final.jar:
Specification-Title: Drools :: Core
Specification-Version: 5.4.0.Final
--
View this message in context:
http://drools.46999.n3.nabble.com/Issue-with-From-Clause-Class-Cast-Error-tp4019846p4019850.htm
It reminds me of a bug which surfaced a couple of weeks ago. Mario Fusco
should have already fixed it, at least in the latest version... which
version are you using? The fix may need backporting.
Davide
--
View this message in context:
http://drools.46999.n3.nabble.com/Issue-with-From-Clause-Cl
Thanks for the fast response! I'll attempt to post as much as I can, splicing
out any case specific info.
The Java code surrounding my invocation is as follows:
=
//Get a list of all knowledgebase resources
List kbList = config.getCompleteKBList(); //Note that this is
The stack trace is suggestive of more complexity than you describe
with this simple rule and class.
mergePackage, removeRule: these methods aren't called due to a
simple fireAllRules() after inserting a few facts.
What's really going on here - some dynamic reconfiguration of the KB?
-W
On 19/0
Hi All,
I am having a very strange issue with my knowledge base... I have the
following Rule:
...
rule "root_host"
no-loop true
ruleflow-group 'initialize-appliance-definitions'
when
$app:ApplianceType
(
type == ApplianceTypeIdentifier.APPLIANCE_ROOT
);