myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: Is problem with myfaces ?
Date Wed, 30 May 2007 20:09:12 GMT
"Base is null" means that the base object of the EL expression is
null. In this case, #{loginFormBean} is evaluating to null. So the
variable resolver is not finding "loginFormBean" in any of the JSF
contexts and is not auto-creating it.

Could you post how you register this bean?

Also, as for jars make sure you don't have jsf-api, jsf-impl as you
mentioned, but also make sure myfaces-api and myfaces-impl are the
only myfaces jars in your classpath.

Also make sure you have this in your web.xml:


On 5/28/07, Sandip Patil <> wrote:
> Hi All,
> I am facing some strange problem while working with JSF.
> I have created one project which is running fine.If I create another project
> with another name(but same src/JSP's files) its giving me below error
> I am getting error as,Base is null Error.
> I am trying to login my application by entering username & password & then
> click on login button.
> But its showing me error as,
> javax.servlet.ServletException: Base is null: loginFormBean
> javax.faces.webapp.FacesServlet.service(
> org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(
> where loginFormBean is name of my Bean in faces-config to accept username &
> password values from client side.
> ----------------------------------------------------------------------------------------------------------------------------------
> I am using JDK1.5,Tomcat 5.5,Exadel
> Also I have jar files in my lib folder as,
> jsf-api.jar,jsf-impl.jar,myfaces-api.jar,myfaces-impl.jar,tomahawk.jar
> If I remove jsf-api.jar,jsf-impl.jar these jar files its not showing Base is
> null error.
> But It is creating another problem.
> I have edit link ,If i remove above two jar files then I have to double clik
> that edit link then & then only edit page is opening.(It is not opening in
> one click)
> Similar case happening for buttons.I need to double click buttons.
> But if above( jsf-api.jar,jsf-impl.jar ) jar files there then its showing
> Base is null error.
> --------------------------------------------------------------------------------------------------------------------------------
> Then I ,removed myfaces-api.jar,myfaces-impl.jar with
> myfaces-api-1.1.5.jar,myfaces-impl-1.1.5.jar.
> I removed jsf-api.jar,jsf-impl.jar files.
> Now Base is null error is not coming.Also I do not need to double click on
> edit link,buttons.
> But to access menus I need to double click on menus.
> Can anybody help me in this "Base is null" error.What need to do ?
> Thanks
> Sandip
>  ________________________________
> Park yourself in front of a world of choices in alternative vehicles.
> Visit the Yahoo! Auto Green Center.

View raw message