HTTP Status 500 – Internal Server Error


Type Exception Report

Message javax.servlet.ServletException: java.sql.SQLException: 将字符串转换为 uniqueidentifier 时失败。 Query: select * from ms_common_channel where uuid=? Parameters: []

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

Exception

org.apache.jasper.JasperException: javax.servlet.ServletException: java.sql.SQLException: 将字符串转换为 uniqueidentifier 时失败。 Query: select * from ms_common_channel where uuid=? Parameters: []
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:599)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:500)
	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:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
	com.hrada.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:47)

Root Cause

javax.servlet.ServletException: java.sql.SQLException: 将字符串转换为 uniqueidentifier 时失败。 Query: select * from ms_common_channel where uuid=? Parameters: []
	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:917)
	org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:846)
	org.apache.jsp.about_jsp._jspService(about_jsp.java:207)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	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:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
	com.hrada.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:47)

Root Cause

java.sql.SQLException: 将字符串转换为 uniqueidentifier 时失败。 Query: select * from ms_common_channel where uuid=? Parameters: []
	org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:392)
	org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:351)
	org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:270)
	com.hrada.util.dbutil.DBHelper.getMap(DBHelper.java:228)
	org.apache.jsp.about_jsp._jspService(about_jsp.java:91)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:477)
	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:728)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	org.tuckey.web.filters.urlrewrite.RewrittenUrl.doRewrite(RewrittenUrl.java:176)
	org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:728)
	com.hrada.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:47)

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


Apache Tomcat/7.0.106