Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-662

NullPointerException installing drools su

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      Installing a drools su with a simple drl file causes a NullPointerException. I'm using the AutoReply.drl file from the servicemix-drools unit tests, i.e. one simple rule:

      rule "Do Nothing"
      then
      end

      Caused by: java.lang.NullPointerException
      at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:47)
      at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:446)
      at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:304)
      at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:167)
      at org.drools.compiler.RuleBaseLoader.loadFromReader(RuleBaseLoader.java:38)
      at org.apache.servicemix.drools.DroolsEndpoint.start(DroolsEndpoint.java:205)
      ... 28 more

      Attachments

        1. SMXCOMP-622-bundles.patch
          6 kB
          Greg Lucas
        2. SMXCOMP-622-components.patch
          1 kB
          Greg Lucas
        3. SMXCOMP-622-features.patch
          2 kB
          Greg Lucas
        4. SMXCOMP-622-servicemix-drools.patch
          0.5 kB
          Greg Lucas

        Activity

          People

            gnodet Guillaume Nodet
            glucas Greg Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: