HTTP Status 500 - Request processing failed; nested exception is org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/jsp/templates/mooc_template.jsp'.


type Exception report

message Request processing failed; nested exception is org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/jsp/templates/mooc_template.jsp'.

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

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/jsp/templates/mooc_template.jsp'.
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

root cause

org.apache.tiles.request.render.CannotRenderException: ServletException including path '/WEB-INF/jsp/templates/mooc_template.jsp'.
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:399)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:238)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:221)
	org.apache.tiles.renderer.DefinitionRenderer.render(DefinitionRenderer.java:59)
	org.springframework.web.servlet.view.tiles3.TilesView.renderMergedOutputModel(TilesView.java:145)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

root cause

java.io.IOException: ServletException including path '/WEB-INF/jsp/templates/mooc_template.jsp'.
	org.apache.tiles.request.servlet.ServletUtil.wrapServletException(ServletUtil.java:61)
	org.apache.tiles.request.servlet.ServletRequest.forward(ServletRequest.java:267)
	org.apache.tiles.request.servlet.ServletRequest.doForward(ServletRequest.java:228)
	org.apache.tiles.request.AbstractClientRequest.dispatch(AbstractClientRequest.java:57)
	org.apache.tiles.request.render.DispatchRenderer.render(DispatchRenderer.java:47)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:259)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:397)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:238)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:221)
	org.apache.tiles.renderer.DefinitionRenderer.render(DefinitionRenderer.java:59)
	org.springframework.web.servlet.view.tiles3.TilesView.renderMergedOutputModel(TilesView.java:145)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

root cause

java.lang.NullPointerException
	java.util.regex.Matcher.getTextLength(Matcher.java:1234)
	java.util.regex.Matcher.reset(Matcher.java:308)
	java.util.regex.Matcher.<init>(Matcher.java:228)
	java.util.regex.Pattern.matcher(Pattern.java:1088)
	org.apache.jsp.WEB_002dINF.jsp.templates.mooc_005ftemplate_jsp._jspService(mooc_005ftemplate_jsp.java:150)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	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)
	org.apache.tiles.request.servlet.ServletRequest.forward(ServletRequest.java:265)
	org.apache.tiles.request.servlet.ServletRequest.doForward(ServletRequest.java:228)
	org.apache.tiles.request.AbstractClientRequest.dispatch(AbstractClientRequest.java:57)
	org.apache.tiles.request.render.DispatchRenderer.render(DispatchRenderer.java:47)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:259)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:397)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:238)
	org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:221)
	org.apache.tiles.renderer.DefinitionRenderer.render(DefinitionRenderer.java:59)
	org.springframework.web.servlet.view.tiles3.TilesView.renderMergedOutputModel(TilesView.java:145)
	org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
	org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1208)
	org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

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


Apache Tomcat/Version