2012-07-05 00:00:39,210 ERROR net.sf.hibernate.AssertionFailure - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
net.sf.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)
at net.sf.hibernate.impl.SessionImpl.checkId(SessionImpl.java:2669)
at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2493)
at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2486)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2281)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2260)
at com.dotmarketing.db.HibernateUtil.closeSession(HibernateUtil.java:661)
at com.dotmarketing.listeners.ClickstreamListener.sessionDestroyed(ClickstreamListener.java:69)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:708)
at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:575)
at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:698)
at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:683)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1316)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:662)
2012-07-05 00:00:39,211 ERROR com.dotmarketing.listeners.ClickstreamListener - Unable to close Hibernate Session
com.dotmarketing.exception.DotHibernateException: Unable to close Hibernate Session
at com.dotmarketing.db.HibernateUtil.closeSession(HibernateUtil.java:679)
at com.dotmarketing.listeners.ClickstreamListener.sessionDestroyed(ClickstreamListener.java:69)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:708)
at org.apache.catalina.session.StandardSession.isValid(StandardSession.java:575)
at org.apache.catalina.session.ManagerBase.processExpires(ManagerBase.java:698)
at org.apache.catalina.session.ManagerBase.backgroundProcess(ManagerBase.java:683)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1316)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:662)
Caused by: net.sf.hibernate.AssertionFailure: null id in entry (don't flush the Session after an exception occurs)
at net.sf.hibernate.impl.SessionImpl.checkId(SessionImpl.java:2669)
at net.sf.hibernate.impl.SessionImpl.flushEntity(SessionImpl.java:2493)
at net.sf.hibernate.impl.SessionImpl.flushEntities(SessionImpl.java:2486)
at net.sf.hibernate.impl.SessionImpl.flushEverything(SessionImpl.java:2281)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2260)
at com.dotmarketing.db.HibernateUtil.closeSession(HibernateUtil.java:661)
... 11 more
...
These showed up several thousand (A search of the file revealed them 19574) times over the course of Friday (7-6) When we noticed the first site with issues.
They are almost as common on Saturday and Sunday as well, and lots today...Any idea how to fix those?
-----
dotCMS version 2.0.1 mySQL
everything was migrated from 2.0PR1