You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sandipp <sa...@yahoo.com> on 2007/06/11 13:54:36 UTC

Base null error is it with tomcat ?


Hi,

I am using tomcat apache-tomcat-5.5.17,Exadel,JDK 1.5.I am depoying my
application(war file) to external tomcat by running my ant script.
I am getting following error when I try to login to my application.


where loginFormBean is my bean name.

javax.servlet.ServletException: Base is null: loginFormBean
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)

org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)


root cause 

javax.faces.el.PropertyNotFoundException: Base is null: loginFormBean

org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
	org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)

com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
	javax.faces.component.UIInput.getConvertedValue(UIInput.java:713)
	javax.faces.component.UIInput.validate(UIInput.java:638)
	javax.faces.component.UIInput.executeValidate(UIInput.java:849)
	javax.faces.component.UIInput.processValidators(UIInput.java:412)
	javax.faces.component.UIForm.processValidators(UIForm.java:170)

javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)

org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)
	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)

org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122


On google I found something related to contextlistener from this link

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5034433

which says remove everything from apache-tomcat-5.5.17\work directory.I
removed everything but still I am getting above error ?



Thanks
Sandip

-- 
View this message in context: http://www.nabble.com/Base-null-error-is-it-with-tomcat---tf3901121.html#a11059178
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Base null error is it with tomcat ?

Posted by sandipp <sa...@yahoo.com>.
can anybody help me in above?

sandip


sandipp wrote:
> 
> 
> Hi,
> 
> I am using tomcat apache-tomcat-5.5.17,Exadel,JDK 1.5.I am depoying my
> application(war file) to external tomcat by running my ant script.
> I am getting following error when I try to login to my application.
> 
> 
> where loginFormBean is my bean name.
> 
> javax.servlet.ServletException: Base is null: loginFormBean
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:202)
> 
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
> 
> 
> root cause 
> 
> javax.faces.el.PropertyNotFoundException: Base is null: loginFormBean
> 
> org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:455)
> 	org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:169)
> 
> com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
> 	javax.faces.component.UIInput.getConvertedValue(UIInput.java:713)
> 	javax.faces.component.UIInput.validate(UIInput.java:638)
> 	javax.faces.component.UIInput.executeValidate(UIInput.java:849)
> 	javax.faces.component.UIInput.processValidators(UIInput.java:412)
> 	javax.faces.component.UIForm.processValidators(UIForm.java:170)
> 
> javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912)
> 	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342)
> 
> org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)
> 	org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
> 
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122
> 
> 
> On google I found something related to contextlistener from this link
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5034433
> 
> which says remove everything from apache-tomcat-5.5.17\work directory.I
> removed everything but still I am getting above error ?
> 
> 
> 
> Thanks
> Sandip
> 
> 

-- 
View this message in context: http://www.nabble.com/Base-null-error-is-it-with-tomcat---tf3901121.html#a11095732
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org