myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From luis.ro...@att.net
Subject Re: Base is null error in JSF
Date Tue, 29 May 2007 13:38:14 GMT
I have seeing this errors happing when I call a jsp and the backing bean is not instantiated
by JSF, meaning, it wasn't defined in my faces config xml.  

Luis

-------------- Original message ----------------------
From: sandipp <sandip_patil01@yahoo.com>
>
> 
> Hi ,
> 
> Do you have any idea/clue why its not finding "instance of beanName", as its
> finding in my first project.
> 
> Thanks
> Sandip
> 
> 
> sandipp wrote:
> > 
> > Hi Thanks for your reply,
> > 
> > I checked for typo mistake many times.But it is 100% correct(Bean name 
> > in my JSp.)
> > Also you said its realted to Exadel configuration.Can you please tell 
> > me what need to do while configuring in Exdel.
> > 
> > Thanks
> > sandip
> > 
> > 
> > 
> > 
> > sandipp wrote:
> >> 
> >> 
> >> can anybody hep me in above ?Still I am not able to solve this problem.
> >> 
> >> Thanks
> >> sandip
> >> 
> >> 
> >> sandipp 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(ExtensionsFilte
> r.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#a10849064
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
> 



Mime
View raw message