Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » WTP JSF with MyFaces
WTP JSF with MyFaces [message #581979] Wed, 08 February 2006 16:10
Chris Gage is currently offline Chris GageFriend
Messages: 27
Registered: July 2009
Junior Member
I have been using JSF with WSAD and RAD6 for 18 months so I know my way
around reasonably well, but I have clearly become accustomed to the comfy
chair that RAD puts you in. I am now having a rather basic problem getting
it to work on WTP.

I installed all the WTP pieces from scratch and WTP itself appears to be
working as designed. I then added the JSF support but chose to use MyFaces
instead of Sun RI, seeing as everyone says it is a better implementation.

I have a simple app that has one page with an input "name" field and a
button, and the navigation passes to another page which says "hello name" -
it is a tutorial out there on the Web I found. The backing bean is
correctly defined in faces-config.xml as far as I can see. I run the
initial page, and it displays, but when I type in a name and press the
button, expecting it to invoke the backing bean called PersonBean, instead I
get the following which I think means it cannot find my backing bean.

HTTP Status 500 -
type Exception report
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception javax.servlet.ServletException: Base is null: PersonBean
javax.faces.webapp.FacesServlet.service( 2)

root cause
javax.faces.el.PropertyNotFoundException: Base is null: PersonBean
org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndPrope rty( org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingI tConvertedValue( javax.faces.component.UIInput.getConvertedValue( :713) javax.faces.component.UIInput.validate( javax.faces.component.UIInput.executeValidate( 49) javax.faces.component.UIInput.processValidators( :412) javax.faces.component.UIForm.processValidators( 70) javax.faces.component.UIComponentBase.processValidators(UICo javax.faces.component.UIViewRoot.processValidators(UIViewRoo org.apache.myfaces.lifecycle.LifecycleImpl.processValidation s( org.apache.myfaces.lifecycle.LifecycleImpl.execute(Lifecycle javax.faces.webapp.FacesServlet.service( 7)note The full stack trace of the root cause is available in the ApacheTomcat/5.0.30 logs.Apache Tomcat/5.0.30
Previous Topic:How can I contribute to this project?
Next Topic:WTP JSF now with Sun RI
Goto Forum:

Current Time: Sun Jun 24 01:57:05 GMT 2018

Powered by FUDForum. Page generated in 0.01741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top