HTTP Status 500 - org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.mingxing.vo.Product#77]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.mingxing.vo.Product#77]


type Exception report

message org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.mingxing.vo.Product#77]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.mingxing.vo.Product#77]

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

exception

javax.servlet.ServletException: org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.mingxing.vo.Product#77]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.mingxing.vo.Product#77]
	org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	com.mingxing.filter.UserFilter.doFilter(UserFilter.java:60)
	com.mingxing.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:21)

root cause

org.springframework.orm.hibernate3.HibernateObjectRetrievalFailureException: No row with the given identifier exists: [com.mingxing.vo.Product#77]; nested exception is org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.mingxing.vo.Product#77]
	org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:643)
	org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
	org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:377)
	org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:502)
	org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:496)
	com.mingxing.dao.Impl.ProductDaoImpl.find_ProductById(ProductDaoImpl.java:73)
	sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	$Proxy10.find_ProductById(Unknown Source)
	com.mingxing.struts.action.ProductAction.show_productInfo(ProductAction.java:318)
	sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
	org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	com.mingxing.filter.UserFilter.doFilter(UserFilter.java:60)
	com.mingxing.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:21)

root cause

org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.mingxing.vo.Product#77]
	org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
	org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:145)
	org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:179)
	org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
	org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
	org.hibernate.impl.SessionImpl.load(SessionImpl.java:795)
	org.hibernate.impl.SessionImpl.load(SessionImpl.java:788)
	org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:508)
	org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
	org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:502)
	org.springframework.orm.hibernate3.HibernateTemplate.load(HibernateTemplate.java:496)
	com.mingxing.dao.Impl.ProductDaoImpl.find_ProductById(ProductDaoImpl.java:73)
	sun.reflect.GeneratedMethodAccessor132.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
	org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
	org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
	org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
	org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	$Proxy10.find_ProductById(Unknown Source)
	com.mingxing.struts.action.ProductAction.show_productInfo(ProductAction.java:318)
	sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:597)
	org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
	org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
	org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
	org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
	org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
	org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	com.mingxing.filter.UserFilter.doFilter(UserFilter.java:60)
	com.mingxing.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:21)

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


Apache Tomcat/6.0.37