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!

Target Unreachable, identifier '<ManagedBeanName>' resolved to null

829807Oct 8 2012 — edited Oct 9 2012
Hi All,

I am using jdeveloper 11.1.1.5.

I have 3 taskflow with pages:-
taskflow1- Page1.jspx
taskflow2- Page2.jspx
taskflow3- Page3.jspx

On Page1 I have 2 text boxes (First Name and Last Name) and 1 button Search1. Lets say User entered First Name and click on Search1, then I am navigating to Page2.
On Page2 I have 4 text boxes (First Name, Last Name, Email and address) and 1 button Search2. On click of Search2 I fetch data from database depending on the entered value(First Name, Last Name, Email and address) and display it in a table in Page3.
On Page3 I have a table which contains the results and a button select. And I have a selectBooleanRadio on each row of the table and I have a select button on this page.

On click of select button I get the selected row from table and after that I have to move back to Page1 directly, so I am doing following:-

On Click of select button on page3 I am getting the selected row from the table and navigating back to Page2 - On Page2 on returnListener of Search2 button I am again navigating back to Page1 - On Page1 on returnListener of Search1 button Finally I have to set the FirstName and LastName.

But I am getting following error while navigating from page3 to page2.

I have a beforePhase method on page2 which I have written in MyBean class. I have registered MyBean to my taskflows but I am getting following error:-

Scope of MyBean in TaskFlow1,TaskFlow2,TaskFlow3 is request.+

[WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ********] [ecid: eba90376339f6689:478bd658:13a4109f526:-8000-0000000000004b6e,0] [APP: I*************] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2[[
javax.el.PropertyNotFoundException: Target Unreachable, identifier 'MyBean' resolved to null


When I have changed the scope of MyBean in all the TF :-+
*Changed Scope of MyBean in TaskFlow1,TaskFlow2,TaskFlow3 as pageFlowScope so On Page2 I have page <f:view beforePhase="#{pageFlowScope.MyBean.myMethod}">*+

[WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ********] [ecid: eba90376339f6689:478bd658:13a4109f526:-8000-0000000000004b6e,0] [APP: I*************] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2[[
javax.el.PropertyNotFoundException: *Target Unreachable, identifier 'pageFlowScope' resolved to null*



If I am removing the beforePhase method on page2 I am getting following error:-


NullPointerException:-
*oracle.adfinternal.controller.application.AdfcDirtyPageHandler.getUncommittedDataWarning(AdfcDirtyPageHandler.java:38)*
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 6 2012
Added on Oct 8 2012
4 comments
880 views