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

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -