type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 46 in the jsp file: /upollresults.jsp user cannot be resolved 43: } 44: catch (Exception e) { 45: 46: contestid = contest.getLatestRelease(user.getUserID()); 47: 48: 49: if (contestid < 1) { An error occurred at line: 65 in the jsp file: /upollresults.jsp user cannot be resolved 62: boolean blnISContestMember = false; 63: if (contest.getStatus() == 6 || contest.getStatus() == 7) { 64: 65: blnISContestMember = contest.isContestCommitteeMember(user.getUserID()); 66: 67: if (blnISContestMember == false) { 68: out.print("<center><table border=0 width=660 bgcolor=white><td>A voting booth is not available for this contest. The contest was determined by the contest committee.</td></table></center>"); An error occurred at line: 76 in the jsp file: /upollresults.jsp user cannot be resolved 73: 74: 75: if (contest.getStatus() != 4) { 76: if (user.getUserID() != 1) { 77: if (contest.hasVoted(contestid, user.getUserID()) == 0) { 78: out.print("<center><table border=0 width=660 bgcolor=white><td>Sorry, you have not yet voted. Poll results can be shown after you have voted or when the voting has ended.</td></table></center>"); 79: return; An error occurred at line: 77 in the jsp file: /upollresults.jsp user cannot be resolved 74: 75: if (contest.getStatus() != 4) { 76: if (user.getUserID() != 1) { 77: if (contest.hasVoted(contestid, user.getUserID()) == 0) { 78: out.print("<center><table border=0 width=660 bgcolor=white><td>Sorry, you have not yet voted. Poll results can be shown after you have voted or when the voting has ended.</td></table></center>"); 79: return; 80: } An error occurred at line: 187 in the jsp file: /upollresults.jsp stats cannot be resolved 184: 185: <% } else { %> 186: by <a href=mypage.jsp?userid=<%=story.getAuthorID()%>> 187: <% String NameRead = stats.getName(story.getAuthorID()); 188: out.print(NameRead);%> 189: </a> 190: An error occurred at line: 250 in the jsp file: /upollresults.jsp stats cannot be resolved 247: 248: 249: by <a href=mypage.jsp?userid=<%=story.getAuthorID()%>> 250: <% String NameRead = stats.getName(story.getAuthorID()); 251: out.print(NameRead);%> 252: </a> 253: <% } %> Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:494) org.apache.jasper.compiler.Compiler.compile(Compiler.java:379) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.76 logs.