Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-2559

Drools 7 KieServices.Factory.get() returns null

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 7.5.0.Final
    • kie server
    • None
    • RHPAM7-Iteration13
    • NEW
    • NEW

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              tdalbo Tom Dalbo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: