Skip to content

NullPointerException appears in PersistentPropertyPathExtension#equals #1164

@olexandrkucher

Description

@olexandrkucher

NullPointerException appears in PersistentPropertyPathExtension#equals, because field PersistentPropertyPathExtension#path is nullable and equals ignores that path can be null:

public boolean equals(Object o) {
    //...
    return entity.equals(that.entity) && path.equals(that.path);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionA regression from a previous release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions