网站公告列表

  没有公告

加入收藏
设为首页
联系站长
您现在的位置: 网络学院 >> 程序设计 >> Java编程 >> 文章正文
  null id in entry (dont flush the Session after an exception occurs)            【字体:
null id in entry (dont flush the Session after an exception occurs)
作者:佚名    文章来源:不详    点击数:    更新时间:2007-7-8    
正在装载数据……

exception

javax.servlet.ServletException: null id in entry (don't flush the Session after an exception occurs) org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.shop.struts.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:32)

 

root cause

org.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs) org.hibernate.event.def.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:49) org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:82) org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:190) org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:70) org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:39) org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:711) org.hibernate.impl.SessionImpl.divpareQueries(SessionImpl.java:895) org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:885) org.hibernate.impl.SessionImpl.list(SessionImpl.java:834) org.hibernate.impl.QueryImpl.list(QueryImpl.java:74) org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:603) com.shop.model.DAO.NcategoryDAO.findByCount(NcategoryDAO.java:141) com.shop.struts.action.ProductAction.doList(ProductAction.java:480) com.shop.struts.action.ProductAction.execute(ProductAction.java:88) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:689) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.shop.struts.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:32)

 

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

 


本文来源:http://blog.csdn.net/kt400_hhx/archive/2007/06/07/1641517.aspx
站内文章搜索 高级搜索
文章录入:admin    责任编辑:admin 
  • 上一篇文章:

  • 下一篇文章:
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    最新热点 最新推荐 相关文章
     用java实现web服务器
     用java快速开发linux gu…
     正则表达式分解siemens交…
     [portal参考手册]目录
     jsp中调用oracle存储过程…
  • page、request、session、ap…

  • HashTable和HashMap; Vecto…

  • 设计模式之--Bridge

  • Ant入门-配置和使用     选…

  • Jsp 应用之自定义标签库(tag…

  • 根据sessionid找回session

  • Cookie又见Cookie-使用Html…

  • 摘:主题:   using springmo…

  • JavaWeb中的Session、Sessio…

  • JSP Tag Library

  •   网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    网络学院©2007 www.23book.net
    为您提供web编程,vb编程,vc编程,服务器架设管理,数据库设计等方面的知识 站长:David