HTTP Status 500 -


type Exception report

message

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

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.reflect.UndeclaredThrowableException
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:958)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

java.lang.reflect.UndeclaredThrowableException
	$Proxy35.getEntityById(Unknown Source)
	com.ibpd.henuocms.web.controller.web.WebContent.index(WebContent.java:36)
	sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:444)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:432)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

java.lang.reflect.InvocationTargetException
	sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy35.getEntityById(Unknown Source)
	com.ibpd.henuocms.web.controller.web.WebContent.index(WebContent.java:36)
	sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:444)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:432)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

org.hibernate.exception.JDBCConnectionException: could not load an entity: [com.ibpd.henuocms.entity.ContentEntity#1145]
	org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:97)
	org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
	org.hibernate.loader.Loader.loadEntity(Loader.java:1895)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
	org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
	com.ibpd.dao.impl.DaoImpl.getEntity(DaoImpl.java:52)
	com.ibpd.service.BaseServiceImpl.getEntityById(BaseServiceImpl.java:50)
	sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy35.getEntityById(Unknown Source)
	com.ibpd.henuocms.web.controller.web.WebContent.index(WebContent.java:36)
	sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:444)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:432)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

java.sql.SQLTransientConnectionException: connection exception: connection failure: java.lang.RuntimeException: unsupported internal operation: Result
	org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
	org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
	org.hsqldb.jdbc.JDBCPreparedStatement.close(Unknown Source)
	com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.close(NewProxyPreparedStatement.java:1811)
	org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:563)
	org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:291)
	org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:307)
	org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:234)
	org.hibernate.loader.Loader.getResultSet(Loader.java:1822)
	org.hibernate.loader.Loader.doQuery(Loader.java:697)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
	org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
	com.ibpd.dao.impl.DaoImpl.getEntity(DaoImpl.java:52)
	com.ibpd.service.BaseServiceImpl.getEntityById(BaseServiceImpl.java:50)
	sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy35.getEntityById(Unknown Source)
	com.ibpd.henuocms.web.controller.web.WebContent.index(WebContent.java:36)
	sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:444)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:432)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

root cause

org.hsqldb.HsqlException: connection exception: connection failure: java.lang.RuntimeException: unsupported internal operation: Result
	org.hsqldb.error.Error.error(Unknown Source)
	org.hsqldb.error.Error.error(Unknown Source)
	org.hsqldb.ClientConnection.execute(Unknown Source)
	org.hsqldb.jdbc.JDBCPreparedStatement.close(Unknown Source)
	com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.close(NewProxyPreparedStatement.java:1811)
	org.hibernate.jdbc.AbstractBatcher.closePreparedStatement(AbstractBatcher.java:563)
	org.hibernate.jdbc.AbstractBatcher.closeStatement(AbstractBatcher.java:291)
	org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:307)
	org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:234)
	org.hibernate.loader.Loader.getResultSet(Loader.java:1822)
	org.hibernate.loader.Loader.doQuery(Loader.java:697)
	org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
	org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
	org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
	org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
	org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
	org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
	org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
	com.ibpd.dao.impl.DaoImpl.getEntity(DaoImpl.java:52)
	com.ibpd.service.BaseServiceImpl.getEntityById(BaseServiceImpl.java:50)
	sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	com.ibpd.service.ServiceProxy.invoke(ServiceProxy.java:19)
	$Proxy35.getEntityById(Unknown Source)
	com.ibpd.henuocms.web.controller.web.WebContent.index(WebContent.java:36)
	sun.reflect.GeneratedMethodAccessor448.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	java.lang.reflect.Method.invoke(Unknown Source)
	org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:444)
	org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:432)
	org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
	org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
	org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:946)
	org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:837)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:822)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	com.ibpd.henuocms.common.CustomDispatcherServlet.service(CustomDispatcherServlet.java:54)
	com.ibpd.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:27)

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


Apache Tomcat/6.0.18