Help: Getting java.lang.ClassCastException in runNamedQuery on the script console

See posts like this:

Or just look for runNamedQuery in the v8 beta category.