首页 > Java

org.apache.jasper.JasperException: An exception occurred processing JSP page /playlistedit/pltagpage.jsp at line 52

发表于2014-09-16 17:51:20| --次阅读| 来源webkfa| 作者小豆豆

摘要:org.apache.jasper.JasperException: An exception occurred processing JSP page /playlistedit/pltagpage.jsp at line 52

type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /playlistedit/pltagpage.jsp at line 52

49:   </tr>
50:   </form>
51:   <%
52:   for(int i=0;i<pltaglst.size();i++){
53:   PlTagTab tagobj=(PlTagTab)pltaglst.get(i);
54:   %>
55:   <tr>


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
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)
root cause
java.lang.NullPointerException
org.apache.jsp.playlistedit.pltagpage_jsp._jspService(pltagpage_jsp.java:104)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
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)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.

解决办法:
pltaglst集合为空
if判断一下pltaglst集合是否为空,为空就不走环循

相关文章

猜你喜欢

学到老在线代码浏览器 关闭浏览
友情链接: hao123 360导航 搜狗网址导航 114啦网址导航 博客大全
Copyright © 1999-2014, WEBKFA.COM, All Rights Reserved  京ICP备14034497号-1