]
Mario Fusco reassigned DROOLS-513:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
KnowledgeBuilderFactory.newKnowledgBuilder(KnowledgeBase) doesn't
work
----------------------------------------------------------------------
Key: DROOLS-513
URL:
https://issues.jboss.org/browse/DROOLS-513
Project: Drools
Issue Type: Bug
Affects Versions: 6.0.1.Final
Environment: JBoss AS 7.1.1 on Mac OS-X
Reporter: Craig West
Assignee: Mario Fusco
Using the legacy adapter, Calling
KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBase kbase) throws:
java.lang.ClassCastException:
org.drools.impl.adapters.KnowledgeBaseAdapter cannot be cast to
org.drools.core.impl.KnowledgeBaseImpl
The unit tests for this do not seem to include a case for this