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

Mario Fusco (JIRA) issues at jboss.org
Wed Aug 5 06:53:03 EDT 2015


     [ https://issues.jboss.org/browse/DROOLS-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-513.
--------------------------------
    Fix Version/s: 6.3.0.Final
       Resolution: Done


Fixed by https://github.com/droolsjbpm/drools/commit/678696296

> 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
>             Fix For: 6.3.0.Final
>
>
> 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.3.15#6346)


More information about the jboss-jira mailing list