First of all, either use the myfaces jars or the sun jars.   You
cannot use both.
I'm guessing you probably have the wrong listener (or multiple
listeners) defined in your web.xml file.

So choose one JSF implementation and make sure your web.xml file is
correct.   If you're still having problems, post which implementation
you're using (and if you're asking here, it should be the myfaces
one), and then post your web.xml file.


On 5/28/07, sandipp <[EMAIL PROTECTED]> 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(FacesServlet.java:202)
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

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


--
View this message in context: 
http://www.nabble.com/Base-is-null-error-in-JSF-tf3827381.html#a10834516
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Reply via email to