This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
The moose likes JSF and the fly likes returned null; Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "returned null;" Watch "returned null;" New topic

returned null;

leonardo ginting
Ranch Hand

Joined: Jul 25, 2011
Posts: 48
dear master..

i have a problem with jsf and richfaces..
so when i clicked edit button it would be show pop up panel,,,
and then when i try update the data from the table and press save button
then i got this error

this is my code in edit.xhtml

so when press save button on edit.xhtml (this is the code)

it would be navigate to
this backbean

would you please tell me where i should fix the error,, please correct my code thanks a lot GB
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16542

What the error is indicating is that the property named "biaya" in masterBiayaBean should be returning an object from its "getKelompokbiayaid" method and instead it's returning null. Or, in other words, biaya doesn't appear to be fully initialized.

Customer surveys are for companies who didn't pay proper attention to begin with.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Why are you doing this:

Instead of:

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Have you tried LearnNowOnline?
subject: returned null;