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

NPE in MVELDataProvider

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 4.0.5, 5.0.0.M1
    • Fix Version/s: 4.0.5, 5.0.0.M1
    • Component/s: None
    • Labels:
      None
    • Estimated Difficulty:
      Low

      Description

      After fix for 1446 bug, NPE can occur if the result in getResults() method is null.
      NPE occurs on line :
      63: else if ( result.getClass().isArray() ) {

      It occurs because you try to call getClass() on null object.

      i created a patch for 4.0.x that solves the problem

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tirelli Edson Tirelli
                Reporter:
                jboboli Jan Boboli
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: