开发者

javax.el.PropertyNotFoundException: Target Unreachable, 'ManagedBean' returned null [duplicate]

This question already has answers here: Identifying and solving javax.el.PropertyNotFoundException: Target Unreachable (18 answers) Closed 6 years ago.

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 

Mana开发者_JAVA百科gedBean --- 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)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜