Can you also post the HTML Form? May be it has some syntax errors.

Someone has reported a bug that looks a bit similar but is not the same:
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200401.mbox/[EMAIL 
PROTECTED]

-Rashmi

On 4/9/07, Rahul Thakur <[EMAIL PROTECTED]> wrote:
root cause java.lang.NullPointerException
        java.util.Hashtable.get(Hashtable.java:333)
        
org.apache.tomcat.util.http.Parameters.getParameterValues(Parameters.java:193)
        org.apache.tomcat.util.http.Parameters.getParameter(Parameters.java:238)
        org.apache.catalina.connector.Request.getParameter(Request.java:1007)
        
org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:353)
        
eluminet.wlp.modules.users.servlet.tags.UserLoginTag.doStartTag(UserLoginTag.java:101)
        org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:81)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

----- End of Error -----


Also, here is the relevant snippet from the taglib handler
implementation which is blowing up on the first call to
pageContext.getRequest ().getParameter (username).

----- quote ----

            username = pageContext.getRequest ().getParameter (username);
            System.out.println ("param : 'username' , value: '" +
username + "'");
            password = pageContext.getRequest ().getParameter (password);
            System.out.println ("param : 'password' , value: '" +
password + "'");
            logout = pageContext.getRequest ().getParameter (logout);
            System.out.println ("param : 'logout' , value: '" + logout + "'");

------ end quote -----

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

Reply via email to