Forum

This content is now out of date.

Visit Our Community

Example login page errors

Hi.

I just upgraded to YF 7.1 latest build and the example login page is causing the error below. The file is called index_mi_FF1.jsp but i haven't changed anything in it yet.

Error: org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 153 in the jsp file: /index_mi_FF1.jsp
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
150: if (objForm.password.value == "")
151: strMissingInfo += "n - <%=UtilString.getResourceString("error.logon.enter.password")%>";
152: else if(objForm.password.value.length < <%= vm.getMinimumPasswordLength() %>)
153: strMissingInfo += "n - <%= UtilString.getResourceString("error.logon.password.length", new Object[]{ vm.getMinimumPasswordLength() }) %>";
154:
155: }
156:


Stacktrace:
At:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1083)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:396)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:232)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
com.hof.servlet.BrowserHeaderFilter.doFilter(BrowserHeaderFilter.java:43)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Unknown Source)
Hey Chris,

This is a bit odd, especially since you haven't modified this file. Which build did you upgrade to? Are you able to send this file
through to us? If you prefer, you can send it via our support email and just reference the subject line of this post.

I've also send you the standard YF login page for reference.

Thank you,

Kyle
My original file works now. I think I just needed to do a ctrl F5.

Sorry to have bothered you.

Cheers
Chris
Hi Chris,

No bother at all, that's what we are here for! Glad that it's all working for you now. Happy New Year!

Cheers,

Kyle

Thanks for trying Yellowfin

Please complete the form below to request your copy of Yellowfin today.