HTTP Status 500 - Unexpected end of file reached.


type Exception report

message Unexpected end of file reached.

description The server encountered an internal error that prevented it from fulfilling this request.

exception

freemarker.core.ParseException: Unexpected end of file reached.
Unclosed if directive.

	freemarker.core.FMParser.generateParseException(FMParser.java:4697)
	freemarker.core.FMParser.jj_consume_token(FMParser.java:4568)
	freemarker.core.FMParser.If(FMParser.java:1206)
	freemarker.core.FMParser.FreemarkerDirective(FMParser.java:2372)
	freemarker.core.FMParser.Content(FMParser.java:2618)
	freemarker.core.FMParser.OptionalBlock(FMParser.java:2786)
	freemarker.core.FMParser.Root(FMParser.java:2958)
	freemarker.template.Template.<init>(Template.java:149)
	freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:448)
	freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:361)
	freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235)
	freemarker.template.Configuration.getTemplate(Configuration.java:487)
	freemarker.template.Configuration.getTemplate(Configuration.java:452)
	com.eazytec.common.web.springmvc.SimpleFreeMarkerView.renderMergedTemplateModel(SimpleFreeMarkerView.java:114)
	org.springframework.web.servlet.view.AbstractTemplateView.renderMergedOutputModel(AbstractTemplateView.java:167)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
	com.eazytec.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.39 logs.


Apache Tomcat/6.0.39