[ https://issues.apache.org/jira/browse/OPENJPA-1315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on OPENJPA-1315 started by Donald Woods. > org.apache.openjpa.persistence.QueryImpl > ---------------------------------------- > > Key: OPENJPA-1315 > URL: https://issues.apache.org/jira/browse/OPENJPA-1315 > Project: OpenJPA > Issue Type: Sub-task > Affects Versions: 1.0.3, 1.1.0, 1.2.1, 1.3.0, 2.0.0-M2 > Reporter: Tim McConnell > Assignee: Donald Woods > Priority: Minor > Fix For: 2.0.0-M3 > > Attachments: OPENJPA-1315.patch > > > 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. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.