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.