Skip to content

ClassCastException from ConditionalEvaluator.evaluateEmpty #80

Open
@dcrissman

Description

@dcrissman
public static boolean evaluateEmpty(IfFieldEmpty fe, RDBMSContext rdbmsContext) {
    return ((Collection)fe.getField()).isEmpty();
}

In the above code snippet, com.redhat.lightblue.util.Path is being cast to a java.util.Collection, which it is not, causing a ClassCastException.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions