HTTP Status 500 - javax.servlet.ServletException: org.codehaus.jettison.json.JSONException: JSONObject["column_name"] not found.

type Exception report

message javax.servlet.ServletException: org.codehaus.jettison.json.JSONException: JSONObject["column_name"] not found.

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

exception

org.apache.jasper.JasperException: javax.servlet.ServletException: org.codehaus.jettison.json.JSONException: JSONObject["column_name"] not found.
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:548)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:454)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	tjdz.net.com.filter.SqlFilter.doFilter(SqlFilter.java:52)

root cause

javax.servlet.ServletException: org.codehaus.jettison.json.JSONException: JSONObject["column_name"] not found.
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:908)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:837)
	org.apache.jsp.news.newsContent_jsp._jspService(newsContent_jsp.java:978)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	tjdz.net.com.filter.SqlFilter.doFilter(SqlFilter.java:52)

root cause

org.codehaus.jettison.json.JSONException: JSONObject["column_name"] not found.
	org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
	org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:487)
	org.apache.jsp.news.newsContent_jsp._jspService(newsContent_jsp.java:452)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:431)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	tjdz.net.com.filter.SqlFilter.doFilter(SqlFilter.java:52)

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


Apache Tomcat/8.0.20