jQuery in Action, 3rd edition
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
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: 17410

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.

An IDE is no substitute for an Intelligent Developer.
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: returned null;
It's not a secret anymore!