Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1310

java.lang.NullPointerException at org.drools.rule.builder.dialect.java.JavaConsequenceBuilder.build(JavaConsequenceBuilder.java:54)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: 4.0.3
    • Fix Version/s: 4.0.4, 5.0.0.M1
    • Component/s: drools-compiler
    • Labels:
      None
    • Environment:

      OS: Windows
      hardware : Pentium Duo Core2,
      Server: JBOSS4.X
      Drools: 4.0.3

      Description

      when i am using drools 3.x jars then rules are getting fired in a proper manner and working perfectly.
      I have tried to migrate from 3.x to 4.0.3 then i am getting the following error.
      I have tried changing jars and so on....
      2007-10-31 16:20:48,120 ERROR [STDERR] java.lang.NullPointerException
      2007-10-31 16:20:48,120 ERROR [STDERR] at org.drools.rule.builder.dialect.java.JavaConsequenceBuilder.build(JavaConsequenceBuilder.java:54)
      2007-10-31 16:20:48,120 ERROR [STDERR] at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:67)
      2007-10-31 16:20:48,120 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:446)
      2007-10-31 16:20:48,120 ERROR [STDERR] at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:304)
      2007-10-31 16:20:48,120 ERROR [STDERR] at com.ess.framework.service.remote.rules.RulesEngineInvoker.readRule(RulesEngineInvoker.java :103)
      2007-10-31 16:20:48,120 ERROR [STDERR] at com.ess.framework.service.RuleService.doProcess(RuleService.java:318)
      2007-10-31 16:20:48,120 ERROR [STDERR] at com.ess.framework.service.FetchFSSData.invokeRuleService (FetchFSSData.java:140)
      2007-10-31 16:20:48,120 ERROR [STDERR] at com.ess.framework.service.FetchFSSData.triggerData(FetchFSSData.java:68)
      2007-10-31 16:20:48,120 ERROR [STDERR] at com.ess.framework.service.FetchFSSData$1.run (FetchFSSData.java:84)
      2007-10-31 16:20:48,120 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512)
      2007-10-31 16:20:48,120 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                shivakatula Shiva Shankar Reddy
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: