[jboss-jira] [JBoss JIRA] (DROOLS-513) KnowledgeBuilderFactory.newKnowledgBuilder(KnowledgeBase) doesn't work
Craig West (JIRA)
issues at jboss.org
Tue Jun 10 16:39:15 EDT 2014
[ https://issues.jboss.org/browse/DROOLS-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975033#comment-12975033 ]
Craig West commented on DROOLS-513:
-----------------------------------
Looking into the code, it appears that incremental building is totally unsupported with the legacy adapter. For now, I would recommend throwing a NotSupportedException until it is...
> 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