[jboss-jira] [JBoss JIRA] (DROOLS-34) IllegalArgumentException while creating a new JPA knowledge session

Lukáš Petrovický (JIRA) issues at jboss.org
Mon Jan 4 06:58:16 EST 2016


     [ https://issues.jboss.org/browse/DROOLS-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Petrovický updated DROOLS-34:
-----------------------------------
    Labels: reported-by-qe  (was: )


> IllegalArgumentException while creating a new JPA knowledge session
> -------------------------------------------------------------------
>
>                 Key: DROOLS-34
>                 URL: https://issues.jboss.org/browse/DROOLS-34
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.0.0.Alpha9
>            Reporter: Ivo Bek
>            Assignee: Mario Fusco
>              Labels: reported-by-qe
>
> 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 was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list