The error occurs on the this line specifically: ksession.retract(fact); -- View this message in context: http://drools.46999.n3.nabble.com/java-lang-ClassCastException-java-lang-Boolean-Drools-5-4-tp4019924p4019925.html Sent from the Drools: User forum mailing list archive at Nabble.com.