Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.3, 1.1.0, 1.2.1, 1.3.0, 2.0.0-M2
    • 1.3.0, 2.0.0-M3
    • None
    • None
    • Patch Available

    Description

      The org.apache.openjpa.persistence.QueryImpl hashcode() implementation does not ensure that recursive invocations of hashcode() on object(s) in that method will not result in a NullPointerException. I.e., in this specific case it does not check whether _query is null, and it should since there is no guarantee that _query will always be non-null.

      Attachments

        1. OPENJPA-1315.patch
          0.8 kB
          Tim McConnell

        Activity

          People

            drwoods Donald Woods
            mcconne Tim McConnell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: