Skip to content

OrderBy throws NullPointerException using EclipseLink JPA #292

Open
@pkfryer

Description

@pkfryer

OrderBy in a query throws an exception. EclipseLink appears to have a bug. The getOrderList implementation of CriteriaQuery returns null when uninitialised rather than the specifications empty array.

The getOrderList is used as constructor initialisation of new ArrayList. If we add a check for null before using can prevent this exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions