[jboss-jira] [JBoss JIRA] (DROOLS-34) IllegalArgumentException while creating a new JPA knowledge session
Ivo Bek (JIRA)
jira-events at lists.jboss.org
Mon Feb 11 08:34:56 EST 2013
Ivo Bek created DROOLS-34:
-----------------------------
Summary: 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: Mark Proctor
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