Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9624

NullPointerException when calling EntityQuery#getFieldList

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.04
    • Component/s: framework
    • Labels:
      None
    • Flags:
      Patch

      Description

      When performing EntityQuery#getFieldList without specifying distinct a NullPointerException is thrown, because of the condition if (this.distinct). It implicitly calls this.distinct.booleanValue() which throws the exception if distinct is null.

        Attachments

        1. OFBIZ-9624.patch
          0.8 kB
          Tobias Laufkötter

          Issue Links

            Activity

              People

              • Assignee:
                jacques.le.roux Jacques Le Roux
                Reporter:
                tlaufkoetter Tobias Laufkötter
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: