File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "returned null;" Watch "returned null;" New topic
Author

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: 16305
    
  21



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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: returned null;