[jboss-jira] [JBoss JIRA] (DROOLS-513) KnowledgeBuilderFactory.newKnowledgBuilder(KnowledgeBase) doesn't work

Craig West (JIRA) issues at jboss.org
Tue Jun 3 15:46:15 EDT 2014


Craig West created DROOLS-513:
---------------------------------

             Summary: KnowledgeBuilderFactory.newKnowledgBuilder(KnowledgeBase) doesn't work
                 Key: DROOLS-513
                 URL: https://issues.jboss.org/browse/DROOLS-513
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.1.Final
         Environment: JBoss AS 7.1.1 on Mac OS-X
            Reporter: Craig West
            Assignee: Mark Proctor


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



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jboss-jira mailing list