Oh, I just noticed this line in your stacktrace: at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
Which implies that somehow the RI is still deployed, I think(I may be wrong). Good luck, Eugene On 10/21/06, Eugene Marcotte <[EMAIL PROTECTED]> wrote:
I've fought this alot before. I'm not sure what causes it exactly. I'm using eclipse 3.2, with the webtools platform and sometimes I think it is just that eclipse is not properly updating the deployment to tomcat. I'm not sure what you're using for development but after some googling I found this: http://forum.java.sun.com/thread.jspa?threadID=694130&messageID=4054739 which suggests a couple things. Good luck, and if you figure it out let me know I'm trying to collect a whole bunch of "gotchas" On 10/21/06, Bjørn T Johansen <[EMAIL PROTECTED]> wrote: > I now get this exception when I try to logon...: > > javax.faces.el.PropertyNotFoundException: Base is null: loginBean > at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:460) > at org.apache.myfaces.el.ValueBindingImpl.getType(ValueBindingImpl.java:172) > at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111) > at javax.faces.component.UIInput.getConvertedValue(UIInput.java:713) > at javax.faces.component.UIInput.validate(UIInput.java:638) > at javax.faces.component.UIInput.executeValidate(UIInput.java:849) > at javax.faces.component.UIInput.processValidators(UIInput.java:412) > at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912) > at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912) > at javax.faces.component.UIForm.processValidators(UIForm.java:170) > at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:912) > at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:342) > at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262) > at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199) > at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) > at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) > at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684) > at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > > > this is how that bean is configure in faces-config..: > > <managed-bean> > <managed-bean-name>loginBean</managed-bean-name> > <managed-bean-class>no.havleik.dt.jsf.LoginBean</managed-bean-class> > <managed-bean-scope>request</managed-bean-scope> > </managed-bean> > > > And this is the relevant part of jsp that uses that bean..: > > <h:panelGrid columns="2" border="0" cellpadding="5" cellspacing="3" headerClass="login-header"> > <f:facet name="header"> > <h:outputText value="#{bundle.appLoginTitle}"/> > </f:facet> > <h:panelGroup/> > <h:messages globalOnly="true" styleClass="errors"/> <!> > <h:outputLabel value="Brukernavn:" for="username"></h:outputLabel> > <h:panelGroup> > <h:inputText id="username" size="30" maxlength="30" required="true" value="#{loginBean.j_username}"> > <f:validateLength minimum="2" maximum="30"/> > </h:inputText> > <h:message for="username" styleClass="errors"/> > </h:panelGroup> > <h:outputLabel value="Passord:" for="password"></h:outputLabel> > <h:panelGroup> > <h:inputSecret id="password" size="30" maxlength="40" required="true" value="#{loginBean.j_password}"> > <f:validateLength minimum="2" maximum="40"/> > </h:inputSecret> > <h:message for="password" styleClass="errors"/> > </h:panelGroup> > <h:panelGroup/> > <h:commandButton action="#{loginBean.login}" title="Logg inn" value="Logg inn"/> > </h:panelGrid> > </td> > > > And if you remove the two myfaces*.jar files and replace them with jsf*.jar it works... > > Can anyone shed any light? > > > btw, I am also using tiles but the tiles files is not used until after logon... not sure if this info is of any use but... > > > Regards, > > BTJ > > -- > ----------------------------------------------------------------------------------------------- > Bjørn T Johansen > > [EMAIL PROTECTED] > ----------------------------------------------------------------------------------------------- > Someone wrote: > "I understand that if you play a Windows CD backwards you hear strange Satanic messages" > To which someone replied: > "It's even worse than that; play it forwards and it installs Windows" > ----------------------------------------------------------------------------------------------- >

