Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when attempting to register #8

Open
mrkev opened this issue Jan 22, 2016 · 0 comments
Open

Exception when attempting to register #8

mrkev opened this issue Jan 22, 2016 · 0 comments

Comments

@mrkev
Copy link

mrkev commented Jan 22, 2016

org.apache.jasper.JasperException: An exception occurred processing JSP page /save-profile-changes.jsp at line 21

18:    User u = UserController.findUser(em, netId);
19:    if (request.getParameter("NewUser")!=null && 
20:            request.getParameter("NewUser").length() > 0 && 
21:            s.getName() != request.getParameter("NewUser")){
22:        StudentController.editName(em, s, request.getParameter("NewUser"));
23:    }
24:    if (request.getParameter("email").length() > 0 && 


Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
root cause

java.lang.NullPointerException
    org.apache.jsp.save_002dprofile_002dchanges_jsp._jspService(save_002dprofile_002dchanges_jsp.java:82)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

screen shot 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant