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

NPE Building Rule with inexistent field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.GA
    • Fix Version/s: 4.0.1
    • Component/s: drools-compiler
    • Labels:
      None
    • Estimated Difficulty:
      Low

      Description

      Create a rule that references a field that does not exist. The code at line 105 of package org.drools.base.ClassFieldExtractorFactory is not checking for nulls.

      The problem is that there is no error message and no way to know what the problem is except using the trial and error method.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                ydewit Yuri de Wit
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: