playframework - RuntimeException occured : java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to com.mongodb.DBRef -
i have been using play few months on ubuntu servers , on google app engine using siena module. have application on ubuntu server following versions:
play framework - 1.1 morphia - morphia-1.2beta3
my code throwing strange error:
runtimeexception occured : java.lang.runtimeexception: java.lang.classcastexception: java.lang.string cannot cast com.mongodb.dbref
for line inside app/models/playlist.java:
list items = playlistitem.filter("playlist", this).aslist();
"playlist" field in playlistitem , it's defined as:
@required @reference public playlist playlist;
the weird thing same application (i have code in source control , pull both machines) works on laptop not work on ubuntu server. know why may happening?
you may want check this bug report. seems issue.
Comments
Post a Comment