GORM issues with Grails 2.0.M1

49 views
Skip to first unread message

Natraj Gujran

unread,
Aug 27, 2011, 2:55:43 PM8/27/11
to ig...@googlegroups.com

Hi, 

I'm having trouble with my domain object saving when I have a complex relationship. 

the offending class NativeEntryEntityPersister is in the jar grails-datastore-core-1.0.0.M7.jar. Does anybody know where I could get a hold of the sources for  this?


My grails installation's src folder doesn't have the sources. 

thanks, 

Natraj


java.lang.NullPointerException

at org.grails.datastore.mapping.engine.NativeEntryEntityPersister.persistEntity(NativeEntryEntityPersister.java:720)

at org.grails.datastore.mapping.engine.EntityPersister.persist(EntityPersister.java:130)

at org.grails.datastore.mapping.core.AbstractSession.persist(AbstractSession.java:464)

at org.grails.datastore.gorm.GormInstanceApi.doSave(GormInstanceApi.groovy:169)

at org.grails.datastore.gorm.GormInstanceApi$4.doInSession(GormInstanceApi.groovy:145)

at org.grails.datastore.mapping.core.DatastoreUtils.execute(DatastoreUtils.java:301)

at org.grails.datastore.gorm.AbstractDatastoreApi.execute(AbstractDatastoreApi.groovy:34)

at org.grails.datastore.gorm.GormInstanceApi.save(GormInstanceApi.groovy:143)

Reply all
Reply to author
Forward
0 new messages