in grails 2.0.2 the following has become broken...
In the site object... subItems list is null, and the account instance is null; though null was not passed in for either.
subItems was a simple (non persistent) list. Account is a persistent object though pulled from http session so it is detached.

I'm getting this with 2.0.3 as well. transient domain properties cannot be set in the Domain objects constructor. this is causing my app to null pointer unless i re-code how i construct domain objects. is there a workaround?

Trevor Samaroo
added a comment - 04/May/12 5:23 PM I'm getting this with 2.0.3 as well. transient domain properties cannot be set in the Domain objects constructor. this is causing my app to null pointer unless i re-code how i construct domain objects. is there a workaround?
thanks.

Rodrigo Rosenfeld Rosas
added a comment - 11/May/12 4:56 AM @Trevor, take a look at this related reported bug:
http://jira.grails.org/browse/GRAILS-9098
Unfortunately it was marked as "won't fix", but I guess you can set your transient properties as bindable as a workaround.

Your fieldValue is not statically typed. Only statically typed properties which are not transient and not static are bindable by default. In order for fieldValue to be bindable it needs to be configued with bindable: true, or you need to assign the value explicitly like this:

Jeff Scott Brown
added a comment - 24/May/13 5:31 AM Harald,
Your fieldValue is not statically typed. Only statically typed properties which are not transient and not static are bindable by default. In order for fieldValue to be bindable it needs to be configued with bindable: true, or you need to assign the value explicitly like this:
x.fieldValue = 3.0

Harald L
added a comment - 24/May/13 6:08 AM First off all I'm impressed of the response time! Many thanks for it.
And you are right, after configuring the Object property as bindable true it was working.
Many thanks