0

I am new in ADF JSF please assist, I am trying to map my Managed bean scope like request ,pageFlow and backingBean . but getting following errors,

ManagedBean -- Scope =  request 
Error -- javax.el.PropertyNotFoundException: Target Unreachable, 'ManagedBean' returned null 

ManagedBean --- scope = backingBean or pageFlow
Error --- An invalid object operation was invoked on type View Object with name EmployeeViewImpl_0

This is the exception:

javax.el.ELException: oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name EmployeeViewImpl_0
  at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
  at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java­:72)
  at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
ROMANIA_engineer
  • 54,432
  • 29
  • 203
  • 199
Kunwar Tomar
  • 9
  • 1
  • 1
  • 4
  • please mention the environment and log details.. – Pedantic Apr 01 '11 at 09:38
  • 1
    @ Abhishek thanks I m using JDeveloper / ADF 11.1.1.3.0, log details as bellow javax.el.ELException: oracle.jbo.InvalidObjAccessException: JBO-25036: An invalid object operation was invoked on type View Object with name EmployeeViewImpl_0 at javax.el.BeanELResolver.getValue(BeanELResolver.java:266) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) at com.sun.el.parser.AstValue.getValue(AstValue.java:118) – Kunwar Tomar Apr 01 '11 at 09:50
  • Is your ManagedBean declared in taskflow definition file? –  Apr 04 '11 at 08:18
  • 1
    @Juanmi thanks for your reply.Yes i have declared ManagedBean in adfc-config.xml, I have resolved this problem , i have mapped scope of manageBean as backingBean and declared the parameter setter/getter in implementation class which is my managedBean, now i can able to pass my parameter from one jsf page to database query and retrieve the query values in second jsf page. – Kunwar Tomar Apr 05 '11 at 07:59

1 Answers1

2

I have had the same issue and I have solved. My stack trace was similar and my problem was that I was invoking an action method of a Managed Bean from a task flow, but in the managed bean, this method had as return: void. And this was my mistake.

I change the type of return to String and all works fine.

I hope this help you. Marcos.

markosca
  • 136
  • 6