Torque
  1. Torque
  2. TORQUE-90

NPE in Criteria.equals when joins is null

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3-RC2
    • Fix Version/s: 3.3-RC3
    • Component/s: Runtime
    • Labels:
      None
    • Environment:
      Mac OS X 10.4, Java 5.0, PostgreSQL

      Description

      Criteria.equals needs to check that member "joins" is not null before calling joins.equals
      A patch (with additional unit test) is attached.

        Activity

        Hide
        Sean Gilligan added a comment -

        This should fix the problem and add a unit test method to check for it in th efuture.

        Show
        Sean Gilligan added a comment - This should fix the problem and add a unit test method to check for it in th efuture.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sean Gilligan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development