I've hit that one too - exactly the same thing, runs local but fails
deployed. Really annoying and I never got to the bottom of it. I
suspect it is caused by different versions of the JDK (eg OpenJDK
deployed and Oracle local). I now try and avoid the whole
BeanUtils/PropertyUtils libs.
I use Jackson for most of my JSON parsing and it allows you to update
beans from JSON like this: new
ObjectMapper().updatingReader(existingBean).readValue("{ \"name\" :
\"Jackson\"}"); ( from
http://jackson-users.ning.com/profiles/blogs/new-feature-ability-to-update
)
Perhaps there is something similar for GSON.
Tom
> --
>
>