You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Error 2012-12-11 17:58:19,705 [http-bio-8090-exec-10] ERROR mongodb.MongoDomainClass - Could not get instance from DB
Message: invalid ObjectId [null]
Line | Method
->> 128 | in org.bson.types.ObjectId
| 122 | in ''
| 554 | _checkedId . . . in grails.plugins.mongodb.MongoPluginSupport
| 240 | doCall in grails.plugins.mongodb.MongoPluginSupport$_addStaticMethods_closure13
| 34 | show . . . . . . in mongotest.DummyBController
| 195 | doFilter in grails.plugin.cache.web.filter.PageFragmentCachingFilter
| 63 | doFilter . . . . in grails.plugin.cache.web.filter.AbstractFilter
| 46 | doFilterInternal in org.grails.jaxrs.web.JaxrsFilter
| 886 | runTask . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 680 | run . . . . . . in java.lang.Thread
packagemongotestimportcom.google.code.morphia.annotations.Entityimportgrails.plugins.mongodb.ast.TransformationConfiguration@Entity@TransformationConfiguration(injectId=true, injectVersion=true)
classDummyB {
transient mongo // spring bean, dependency injectionString b
Date dateCreated
Date lastUpdated
static constraints = {
b nullable: false
}
defvalidate() {
returntrue;
}
StringtoString() {
'DummyB: '+ id +'::'+ b
}
}
There is a dummy validate() function to work around the previous issue I submitted where the validate() function is not found on the domain objects.
The text was updated successfully, but these errors were encountered:
| Error 2012-12-11 17:58:19,705 [http-bio-8090-exec-10] ERROR mongodb.MongoDomainClass - Could not get instance from DB
Message: invalid ObjectId [null]
Line | Method
->> 128 | in org.bson.types.ObjectId
| 122 | in ''
| 554 | _checkedId . . . in grails.plugins.mongodb.MongoPluginSupport
| 240 | doCall in grails.plugins.mongodb.MongoPluginSupport$_addStaticMethods_closure13
| 34 | show . . . . . . in mongotest.DummyBController
| 195 | doFilter in grails.plugin.cache.web.filter.PageFragmentCachingFilter
| 63 | doFilter . . . . in grails.plugin.cache.web.filter.AbstractFilter
| 46 | doFilterInternal in org.grails.jaxrs.web.JaxrsFilter
| 886 | runTask . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 680 | run . . . . . . in java.lang.Thread
There is a dummy validate() function to work around the previous issue I submitted where the validate() function is not found on the domain objects.
The text was updated successfully, but these errors were encountered: