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!

@PostConstruct running *before* setters. Why?

jwglistaOct 3 2012 — edited Oct 3 2012
I have a page fragment, with two ADF components that are bound to objects in a backing bean. In my @PostConstruct backing bean method, I need to access these objects. However, I initially received null pointer exceptions. I debugged the application, only to find that the setters for these backing bean bound objects are running after the @PostConstruct method. The things I've read online say that this is not what should be happening. Anyone have any ideas?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 31 2012
Added on Oct 3 2012
5 comments
1,382 views