万博亚洲官网_万博亚洲客户端下载_新万博亚洲线上第一品牌

HTTP Status 500 - An exception occurred processing JSP page /xuexi/list.jsp at line 107

type Exception report

message An exception occurred processing JSP page /xuexi/list.jsp at line 107

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

exception

java.lang.RuntimeException: An exception occurred processing JSP page /xuexi/list.jsp at line 107

104: 			
105: 			ArrayList arraylist = new ArrayList();
106: 			//返回所有子栏目代码
107: 			arraylist = mgt.menuGetCode(Integer.parseInt(ctype),0);
108: 			for (int a=0 ;a<arraylist.size() ;a++ ) {
109: 				whereSql +=" or ctype='"+(String)arraylist.get(a)+"'";
110: 			}


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:578)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
	org.jdiy.core.JDiyLoadFilter.doFilter(JDiyLoadFilter.java:246)

root cause

java.lang.NullPointerException
	com.suneasy.web.menuType.MenuGetType.menuGetCode(MenuGetType.java:1072)
	org.apache.jsp.xuexi.list_jsp._jspService(list_jsp.java:298)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
	org.jdiy.core.JDiyLoadFilter.doFilter(JDiyLoadFilter.java:246)

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


Apache Tomcat/9.0.0.M1