最新beplay官网下载app-首页


Type Exception Report

Message An exception occurred processing [/news/detail.jsp] at line [211]

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: An exception occurred processing [/news/detail.jsp] at line [211]

208: 		<div class="ptf"><br/>
209: 			<p style="font-size:30px;"><%=n.getName() %></p><br/>
210: 			<hr/><br/>
211: 			<p>作者: <%=st.getEmployee(n.getAuthor()).getName() %></p><br/>
212: 			<p>类型: <%=n.getType() %></p><br/>
213: 			<p>简介: <%=n.getInfo() %></p><br/>
214: 		</div>


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:617)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:514)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

java.lang.NullPointerException
	org.apache.jsp.news.detail_jsp._jspService(detail_jsp.java:454)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/8.5.54