[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:05:00 EST 2015
[ https://issues.jboss.org/browse/DROOLS-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alejo Jara updated DROOLS-980:
------------------------------
Description:
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)
was:
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)
The my_rules-1.jar and my_rules-2.jar is in ~/.m2/repository
> 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