Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error during model data update.

 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Akbar Basha R
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for more than 30 minutes
Can you please clarify? This sounds like an ordinary session timeout.
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh well, this way
 
S.Hema Malini
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic