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

NullPointerException when calling EntityQuery#getFieldList

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 16.11.04
    • framework
    • None
    • 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

              jleroux Jacques Le Roux
              tlaufkoetter Tobias Laufkötter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: