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

Filescanner throws NPE when there's a compile error.

    XMLWordPrintable

    Details

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

      os x, drools 4.0.4

      Description

      Loading a .drl file via the FileScanner, if there is a compile error in the file the FileScanner throws an NPE rather than throwing the compile exception. I had to download the source and examine the exception by setting a breakpoint to figure out what was going on.

      This is in:

      org.drools.agent.FileScanner:98-101

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michaelneale Michael Neale
                Reporter:
                amccarri Alex McCarrier
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: