wood burning stoves 2.0*
The moose likes JSF and the fly likes Error during model data update. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Error during model data update." Watch "Error during model data update." New topic
Author

Error during model data update.

Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
I'm using myfaces 1.1.4 and been trying to solve the problem "Error during model data update." for more than 30 minutes. Until I finally noticed that my backing bean had a null value for the bean where I was trying to set the values into.

I hope fellow ranchers won't fall into the same problem I did.

Happy coding!


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Akbar Basha R
Greenhorn

Joined: Mar 11, 2002
Posts: 23
During the development stage, it is better to use <h:\messages \> tag which will display the list of fields whose values have been set to null.
This will help in finding out the problem.

Akbar
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
for more than 30 minutes
Can you please clarify? This sounds like an ordinary session timeout.
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Originally posted by Akbar Basha R:
During the development stage, it is better to use <h:\messages \> tag which will display the list of fields whose values have been set to null.
This will help in finding out the problem.

Akbar


Thanks for the tip! I'll definitely try this one.
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Originally posted by Bauke Scholtz:
Can you please clarify? This sounds like an ordinary session timeout.


What I wanted to say was, it took me more than 30 minutes to finally realize I had a null value object inside my backing bean.

Hope this clears out my original statement. ;)
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Oh well, this way
S.Hema Malini
Greenhorn

Joined: Oct 14, 2009
Posts: 1
Hi , I am new to JSF,i am getting this error as well , "{0}": Error during model data update.

what exactly did you do , To fix this ?
And My filed name is shown as {0} , how to fix this as well ??

PLease help ..


SHM
 
jQuery in Action, 2nd edition
 
subject: Error during model data update.
 
Similar Threads
JBOSS Seam registration problem
native SQL update in Hibernate
Number formatting in text input
s:autoUpdateDataTable
MyFaces - HtmlSelectOneMenu and ValueChangeEvent