Target Unreachable Bean returned null error
Hi All, Today we'll learn to solve the "Target Unreachable Error" which comes when we perform some operation on our page. If you focus on this error it mentions regarding the "Bean returned null" which means that bean is not able to work properly. Now the question arises !!!!!!Why ??? Well the reason is quiet simple..it is just because either you don't use the proper scope with your bean operation or you are not mentioning the scope. I'll show you what it means. Suppose you bind a bean method with an ADF button action. Then it will come like as : action="#{ DemoBean.createComponents}" // createComponents is a method name. now if you will run this page then it will throw the above error on click of a button. Why??????? Because we didn't mention the appropriate scope with the bean name. It must be like this (Suppose your bean scope is pageFlowScope) : action="#{pageFlowScope.DemoBean.createComp...