Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RichInputText setValue

user1831824Dec 4 2016 — edited Dec 5 2016

I have a init method in a managed bean. This method is being called from bounded taskflow default activity.  I need to set the values of the RichInputText fileds inside the method. I have the following code in my init method. I get null pointer exception. Please help.

                String lastName= "test";

                this.familyname.setValue((Object) lastname);

               

I am getting null pointer exception

Caused by: java.lang.NullPointerException at com.oim.view.UpdateUserBean.init(UpdateUserBean.java:1495)

This post has been answered by Habib Eslami on Dec 4 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 2 2017
Added on Dec 4 2016
12 comments
688 views