[jboss-jira] [JBoss JIRA] (DROOLS-34) IllegalArgumentException while creating a new JPA knowledge session
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Tue Feb 12 07:16:57 EST 2013
[ https://issues.jboss.org/browse/DROOLS-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco reassigned DROOLS-34:
---------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> IllegalArgumentException while creating a new JPA knowledge session
> -------------------------------------------------------------------
>
> Key: DROOLS-34
> URL: https://issues.jboss.org/browse/DROOLS-34
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.Alpha1
> Reporter: Ivo Bek
> Assignee: Mario Fusco
>
> Here (https://github.com/droolsjbpm/drools/blob/master/drools-persistence-jpa/src/main/java/org/drools/persistence/jpa/KnowledgeStoreServiceImpl.java#L127) is incompatible constructor with KnowledgeBase instead of KieBase which causes the exception. Other methods that are using the constructor should be fixed as well.
> FYI I create the session this way:
> ksession = JPAKnowledgeService.newStatefulKnowledgeSession(kbase, null, env); // where kbase is instance of injected KieBase
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list