com.dotmarketing.exception.DotDataException: Unable to flush Hibernate Session

Google Groups | Billy Bacon | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    XML Sitemap plugin support

    Google Groups | 8 months ago | Billy Bacon
    com.dotmarketing.exception.DotDataException: identifier is null
  2. 0

    Moved dotCMS 2.5.6 to another AWS EC2 instance

    Google Groups | 2 months ago | Billy Bacon
    com.dotmarketing.exception.DotDataException: Unable to flush Hibernate Session
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException

    Duplicate entry '/XMLSitemaps/-XMLSitemapGenerated1.xml.gz-48190c8c-42c4-46af-8d1' for key 'parent_path'

    at sun.reflect.GeneratedConstructorAccessor138.newInstance()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.GeneratedConstructorAccessor138.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:534)
    3 frames
  3. MySQL jdbc
    PreparedStatement.executeUpdate
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
    2. com.mysql.jdbc.Util.getInstance(Util.java:386)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1040)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
    9. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
    10. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
    11. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
    12. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
    12 frames
  4. org.apache.tomcat
    DelegatingPreparedStatement.executeUpdate
    1. org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
    1 frame
  5. net.sf.hibernate
    SessionImpl.flush
    1. net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22)
    2. net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462)
    3. net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:436)
    4. net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37)
    5. net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
    6. net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
    7. net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2392)
    8. net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
    8 frames
  6. com.dotmarketing.db
    HibernateUtil.saveWithPrimaryKey
    1. com.dotmarketing.db.HibernateUtil.saveWithPrimaryKey(HibernateUtil.java:867)
    1 frame
  7. com.dotmarketing.business
    IdentifierAPIImpl.createNew
    1. com.dotmarketing.business.IdentifierFactoryImpl.createNewIdentifier(IdentifierFactoryImpl.java:295)
    2. com.dotmarketing.business.IdentifierFactoryImpl.createNewIdentifier(IdentifierFactoryImpl.java:232)
    3. com.dotmarketing.business.IdentifierAPIImpl.createNew(IdentifierAPIImpl.java:136)
    4. com.dotmarketing.business.IdentifierAPIImpl.createNew(IdentifierAPIImpl.java:129)
    4 frames
  8. com.dotmarketing.portlets
    FileAPIImpl.saveFile
    1. com.dotmarketing.portlets.files.business.FileFactoryImpl.saveFile(FileFactoryImpl.java:145)
    2. com.dotmarketing.portlets.files.business.FileAPIImpl.saveFile(FileAPIImpl.java:473)
    3. com.dotmarketing.portlets.files.business.FileAPIImpl.saveFile(FileAPIImpl.java:437)
    3 frames
  9. org.dotcms.plugins
    XMLSitemapThread.<init>
    1. org.dotcms.plugins.XMLSitemap.thread.XMLSitemapThread.closeFileWriter(XMLSitemapThread.java:445)
    2. org.dotcms.plugins.XMLSitemap.thread.XMLSitemapThread.generateSitemapPerHost(XMLSitemapThread.java:277)
    3. org.dotcms.plugins.XMLSitemap.thread.XMLSitemapThread.<init>(XMLSitemapThread.java:92)
    3 frames
  10. Java RT
    Class.newInstance
    1. sun.reflect.GeneratedConstructorAccessor187.newInstance(Unknown Source)
    2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    3. java.lang.reflect.Constructor.newInstance(Constructor.java:534)
    4. java.lang.Class.newInstance(Class.java:379)
    4 frames
  11. quartz
    QuartzSchedulerThread.run
    1. org.quartz.simpl.SimpleJobFactory.newJob(SimpleJobFactory.java:55)
    2. org.quartz.core.JobRunShell.initialize(JobRunShell.java:140)
    3. org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:364)
    3 frames