[jboss-jira] [JBoss JIRA] (DROOLS-2559) Drools 7 KieServices.Factory.get() returns null

Tom Dalbo (JIRA) issues at jboss.org
Thu May 17 17:48:00 EDT 2018


Tom Dalbo created DROOLS-2559:
---------------------------------

             Summary: Drools 7 KieServices.Factory.get() returns null
                 Key: DROOLS-2559
                 URL: https://issues.jboss.org/browse/DROOLS-2559
             Project: Drools
          Issue Type: Bug
          Components: kie server
    Affects Versions: 7.5.0.Final
         Environment: JBoss Fuse 6.3.0.redhat-187
Drools version: 7.5.0.Final-redhat-4
            Reporter: Tom Dalbo
            Assignee: Edson Tirelli


It seems that there might be a regression from Drools 6.x.  This line in my code worked fine:

```KieServices ks = KieServices.Factory.get()```

But now does not.  The only thing I did was upgrade these dependencies in my pom.xml (as well as updated my OSGi features to install the right bundles)

org.drools.drools-core
org.drools.drools-compiler
org.kie.kie-api
org.kie.soup.kie-soup-project-datamodel-api
org.kie.soup.kie-soup-commons
org.kie.soup.kie-soup-project-datamodel-commons

Lastly, there have been a few StackOverflows related to this, but none of the answers are overwhelmingly positive:

https://stackoverflow.com/questions/49295671/kieservices-factory-get-returns-null-in-kie-api7-6-0
https://stackoverflow.com/questions/47556233/drools-7-4-1-kieservices-factory-get-returns-null
https://groups.google.com/forum/#!topic/jbpm-usage/aD58UTCqu-c



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list