Could you submit a test case to isolate and reproduce the issue?
Adding rules dynamically works in general and is a
fundamental feature of many applications, but there
may be bugs affecting some scenarios.
Thanks
Davide
On 08/01/2013 07:47 AM, vlad_konov wrote:
Hi,
nice to find this topic, I'm experiencing the same problem.
Actually I have that "complex scenario", that was mentioned, like "add
and
remove rules dynamically from a knowledge base".
Does it mean that there is a known bug and it's going to be fixed? At this
case is there any temporal workaround?
Or it means that adding or removing rules dynamically is not something that
should be used at all?
The Drools version is 5.5.0.Final
Thank you very much in advance,
Vlad.
Davide Sottara wrote
> The original thread was for a bug in 5.0.x, fixed in 5.1, but it would be
> a
> very serious issue in 5.5.
>
> Causes could be an invalid rule in the first place (running the engine
> without checking for compilation errors), a bug in the construction
> process
> (unlikely, unless the rule is a very rare edge case), or a complex
> scenario
> where you add and remove rules dynamically from a knowledge base....
--
View this message in context:
http://drools.46999.n3.nabble.com/java-lang-ClassCastException-org-drools...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users