Skip to content

Instantly share code, notes, and snippets.

@bryanboza
Created June 14, 2013 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanboza/5784283 to your computer and use it in GitHub Desktop.
Save bryanboza/5784283 to your computer and use it in GitHub Desktop.
error
[14/06/13 12:49:07:961 CST] INFO business.ESContentletAPIImpl: UserId : dotcms.org.1 : delete : User trying to delete the following contents[0ac5149d-466d-4c94-bcb5-6a87ca42285e]
[14/06/13 12:49:08:214 CST] ERROR menubuilders.RefreshMenus: Folder id :c4289bed-ee85-4108-b22c-4d58817cc9c3 has no host
[14/06/13 12:49:08:224 CST] ERROR menubuilders.RefreshMenus: Folder id :6afe0732-640e-4ad5-8ccb-4b1c20cc6e40 has no host
[14/06/13 12:49:08:231 CST] ERROR menubuilders.RefreshMenus: Folder id :c85faec9-796b-4929-8677-23a82e7ef7d7 has no host
[14/06/13 12:49:08:596 CST] ERROR menubuilders.RefreshMenus: Folder id :1c03ddc6-787f-4962-a37a-cf434ffa558e has no host
[14/06/13 12:49:08:605 CST] ERROR menubuilders.RefreshMenus: Folder id :bd87a5cb-fb15-48ba-a0c5-d27f9cf874dd has no host
[14/06/13 12:49:08:613 CST] ERROR menubuilders.RefreshMenus: Folder id :77e211aa-ee3e-4372-9338-149d573d2dce has no host
[14/06/13 12:49:08:622 CST] ERROR menubuilders.RefreshMenus: Folder id :feefbf9e-5af3-4233-b880-7f5a8ce9e4b9 has no host
[14/06/13 12:49:08:655 CST] ERROR menubuilders.RefreshMenus: Folder id :caa01db1-ee77-4078-a411-bae99bfecb5b has no host
[14/06/13 12:49:08:665 CST] ERROR menubuilders.RefreshMenus: Folder id :428ab553-42ed-4fd3-9d5b-ed52f293f3da has no host
[14/06/13 12:49:08:674 CST] ERROR menubuilders.RefreshMenus: Folder id :3f8aa6e7-7742-4bc6-a7f4-4b2cd3b4d65b has no host
[14/06/13 12:49:08:683 CST] ERROR menubuilders.RefreshMenus: Folder id :4abed784-b6d7-4cf4-ba5a-976347f5293b has no host
[14/06/13 12:49:08:693 CST] ERROR menubuilders.RefreshMenus: Folder id :d5bac807-a0dc-4c9c-be68-521e798a9333 has no host
[14/06/13 12:49:08:703 CST] ERROR menubuilders.RefreshMenus: Folder id :7681bc13-6078-4a05-8ee3-6efa96cb8b51 has no host
[14/06/13 12:49:08:718 CST] INFO business.DotGuavaCacheAdministratorImpl: *** Building Cache : templatecache, size:500, toDisk:false,Concurrency:32
[14/06/13 12:49:09:096 CST] INFO business.ESContentletAPIImpl: UserId : dotcms.org.1 : delete : User trying to delete the following contents[56084606-cb0f-4ca1-8962-4fda4bf9dd1c]
[14/06/13 12:49:09:126 CST] WARN util.JDBCExceptionReporter: SQL Error: 1146, SQLState: 42S02
[14/06/13 12:49:09:126 CST] ERROR util.JDBCExceptionReporter: Table 'dotcms23.cannot_delete_as_this_path_has_children' doesn't exist
[14/06/13 12:49:09:127 CST] ERROR impl.SessionImpl: Could not synchronize database state with session
[14/06/13 12:49:09:127 CST] ERROR business.HostAPIImpl: Error deleting object
com.dotmarketing.exception.DotHibernateException: Error deleting object
at com.dotmarketing.db.HibernateUtil.delete(HibernateUtil.java:210)
at com.dotcms.content.elasticsearch.business.ESContentFactoryImpl.delete(ESContentFactoryImpl.java:585)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.delete(ESContentletAPIImpl.java:1134)
at com.dotcms.content.elasticsearch.business.ESContentletAPIImpl.delete(ESContentletAPIImpl.java:991)
at com.dotmarketing.portlets.contentlet.business.ContentletAPIInterceptor.delete(ContentletAPIInterceptor.java:471)
at com.dotmarketing.portlets.contentlet.business.HostAPIImpl$1DeleteHostThread.deleteHost(HostAPIImpl.java:599)
at com.dotmarketing.portlets.contentlet.business.HostAPIImpl$1DeleteHostThread.run(HostAPIImpl.java:509)
Caused by: net.sf.hibernate.exception.SQLGrammarException: could not delete: [com.dotmarketing.portlets.contentlet.business.Contentlet#c1512913-306a-4722-a6d4-d354990cbd25]
at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:69)
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
at net.sf.hibernate.persister.AbstractEntityPersister.convert(AbstractEntityPersister.java:1331)
at net.sf.hibernate.persister.NormalizedEntityPersister.delete(NormalizedEntityPersister.java:595)
at net.sf.hibernate.impl.ScheduledDeletion.execute(ScheduledDeletion.java:29)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449)
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435)
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2397)
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261)
at com.dotmarketing.db.HibernateUtil.delete(HibernateUtil.java:208)
... 6 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'dotcms23.cannot_delete_as_this_path_has_children' doesn't exist
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4120)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4052)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2503)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2664)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2794)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
at net.sf.hibernate.persister.NormalizedEntityPersister.delete(NormalizedEntityPersister.java:583)
... 12 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment