[jboss-jira] [JBoss JIRA] (DROOLS-980) KieBase.getFactType should only be used to retrieve declared beans.

Alejo Jara (JIRA) issues at jboss.org
Thu Nov 12 10:06:00 EST 2015


    [ https://issues.jboss.org/browse/DROOLS-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128330#comment-13128330 ] 

Alejo Jara commented on DROOLS-980:
-----------------------------------

The my_rules-1.jar and my_rules-2.jar is in ~/.m2/repository

And droolsBug980.zip reproduce the error.

> KieBase.getFactType should only be used to retrieve declared beans.
> -------------------------------------------------------------------
>
>                 Key: DROOLS-980
>                 URL: https://issues.jboss.org/browse/DROOLS-980
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 6.3.0.Final
>            Reporter: Alejo Jara
>            Assignee: Mario Fusco
>         Attachments: droolsBug980.zip, my_rules-1.jar, my_rules-2.jar
>
>
> Error inesperado en la ejecucion del artefacto
> java.lang.UnsupportedOperationException: KieBase.getFactType should only be used to retrieve declared beans. Class com.example.types.Person exists outside DRL
> at org.drools.core.definitions.impl.KnowledgePackageImpl.getFactType(KnowledgePackageImpl.java:635)



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list