com.mongodb.DBRef cannot be cast to java.io.Serializable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

com.mongodb.DBRef cannot be cast to java.io.Serializable

xunitc
Hi.

I use MongoDB GORM plugin at this: http://grails.org/plugin/mongodb
The version is 1.3.0

And I got this error:
org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: com.mongodb.DBRef cannot be cast to java.io.Serializable

I see this is a bug in JIRA, and be fixed in version 1.3.1, but I need it to run now.
How to make a patch for version 1.3.0 please? Like write a java or groovy file in app-dir?
Xunitc