javax.el.PropertyNotFoundException: /view.xhtml @13,75 listener="#{viewBean.preRenderView}": Target Unreachable, identifier 'viewBean' resolved to null

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by javaone9, 1 year ago
/view.xhtml @13,75 listener="#{viewBean.preRenderView}": Target Unreachable, identifier 'viewBean' resolved to null
via Oracle Community by javaone9, 1 year ago
/view.xhtml @13,75 listener="#{viewBean.preRenderView}": Target Unreachable, identifier 'viewBean' resolved to null
via Stack Overflow by Dave
, 2 years ago
/view.xhtml @13,75 listener="#{viewBean.preRenderView}": Target Unreachable, identifier 'viewBean' resolved to null
via Stack Overflow by Unknown author, 2 years ago
/jsf/AddPlayer.xhtml @14,50 listener="#{addPlayerCtrl.onScreenLoad}": Target Unreachable, identifier 'addPlayerCtrl' resolved to null
via Stack Overflow by Julius
, 2 years ago
/WEB-INF/common/createOrEdit.xhtml @14,72 listener="#{Bean.initialiseLists}": Target Unreachable, identifier 'Bean' resolved to null
via Stack Overflow by user5620472
, 1 year ago
/login.xhtml @9,113 listener="#{loginBean.authorizedUserControl}": Target Unreachable, identifier 'loginBean' resolved to null
javax.el.PropertyNotFoundException: /view.xhtml @13,75 listener="#{viewBean.preRenderView}": Target Unreachable, identifier 'viewBean' resolved to null
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:107)
at javax.faces.component.UIComponent$ComponentSystemEventListenerAdapter.processEvent(UIComponent.java:2486)
at com.sun.faces.application.ApplicationImpl.processListeners(ApplicationImpl.java:2168)
at com.sun.faces.application.ApplicationImpl.invokeComponentListenersFor(ApplicationImpl.java:2116)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:288)
at com.sun.faces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:246)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)

Users with the same issue

2 times, 4 months ago
2 times, 11 months ago
Once, 1 year ago
7 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.