org.springframework.dao.DataIntegrityViolationException: Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from cwd_group where id='3702785' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete from cwd_group where id='3702785' was aborted. Call getNextException to see the cause. 2015-07-23 09:22:32.873750500 at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100) 2015-07-23 09:22:32.873756500 at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) 2015-07-23 09:22:32.873757500 at org.springframework.orm.hibernate.HibernateTransactionManager.convertJdbcAccessException(HibernateTransactionManager.java:619) 2015-07-23 09:22:32.873758500 at org.springframework.orm.hibernate.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:605) 2015-07-23 09:22:32.873763500 at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:518) 2015-07-23 09:22:32.873764500 at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732) 2015-07-23 09:22:32.873765500 at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701) 2015-07-23 09:22:32.873867500 at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) 2015-07-23 09:22:32.873867500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015-07-23 09:22:32.873868500 at java.lang.reflect.Method.invoke(Method.java:483) 2015-07-23 09:22:32.873869500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2015-07-23 09:22:32.873892500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) 2015-07-23 09:22:32.873893500 at com.sun.proxy.$Proxy14.commit(Unknown Source) 2015-07-23 09:22:32.873893500 at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321) 2015-07-23 09:22:32.873898500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) 2015-07-23 09:22:32.873899500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2015-07-23 09:22:32.873900500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2015-07-23 09:22:32.873903500 at com.atlassian.crowd.directory.$Proxy3471.deleteCachedGroupsNotIn(Unknown Source) 2015-07-23 09:22:32.873904500 at com.atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations.deleteCachedGroupsNotIn(DirectoryCacheImplUsingChangeOperations.java:102) 2015-07-23 09:22:32.873905500 at com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher.synchroniseAllGroups(RemoteDirectoryCacheRefresher.java:113) 2015-07-23 09:22:32.873911500 at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:91) 2015-07-23 09:22:32.873911500 at com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseAll(EventTokenChangedCacheRefresher.java:67) 2015-07-23 09:22:32.873912500 at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:1122) 2015-07-23 09:22:32.873917500 at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:76) 2015-07-23 09:22:32.873918500 at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50) 2015-07-23 09:22:32.873919500 at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobRunner.runJob(DirectoryPollerJobRunner.java:93) 2015-07-23 09:22:32.873925500 at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153) 2015-07-23 09:22:32.873925500 at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118) 2015-07-23 09:22:32.873926500 at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97) 2015-07-23 09:22:32.873927500 at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Elisa Diel, 1 year ago
Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from cwd_group where id='3702785' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete
org.springframework.dao.DataIntegrityViolationException: Hibernate operation: Could not execute JDBC batch update; SQL []; Batch entry 0 delete from cwd_group where id='3702785' was aborted. Call getNextException to see the cause.; nested exception is java.sql.BatchUpdateException: Batch entry 0 delete from cwd_group where id='3702785' was aborted. Call getNextException to see the cause. 2015-07-23 09:22:32.873750500 at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:100) 2015-07-23 09:22:32.873756500 at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72) 2015-07-23 09:22:32.873757500 at org.springframework.orm.hibernate.HibernateTransactionManager.convertJdbcAccessException(HibernateTransactionManager.java:619) 2015-07-23 09:22:32.873758500 at org.springframework.orm.hibernate.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:605) 2015-07-23 09:22:32.873763500 at org.springframework.orm.hibernate.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:518) 2015-07-23 09:22:32.873764500 at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:732) 2015-07-23 09:22:32.873765500 at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:701) 2015-07-23 09:22:32.873867500 at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) 2015-07-23 09:22:32.873867500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2015-07-23 09:22:32.873868500 at java.lang.reflect.Method.invoke(Method.java:483) 2015-07-23 09:22:32.873869500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2015-07-23 09:22:32.873892500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) 2015-07-23 09:22:32.873893500 at com.sun.proxy.$Proxy14.commit(Unknown Source) 2015-07-23 09:22:32.873893500 at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:321) 2015-07-23 09:22:32.873898500 at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:116) 2015-07-23 09:22:32.873899500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2015-07-23 09:22:32.873900500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2015-07-23 09:22:32.873903500 at com.atlassian.crowd.directory.$Proxy3471.deleteCachedGroupsNotIn(Unknown Source) 2015-07-23 09:22:32.873904500 at com.atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations.deleteCachedGroupsNotIn(DirectoryCacheImplUsingChangeOperations.java:102) 2015-07-23 09:22:32.873905500 at com.atlassian.crowd.directory.ldap.cache.RemoteDirectoryCacheRefresher.synchroniseAllGroups(RemoteDirectoryCacheRefresher.java:113) 2015-07-23 09:22:32.873911500 at com.atlassian.crowd.directory.ldap.cache.AbstractCacheRefresher.synchroniseAll(AbstractCacheRefresher.java:91) 2015-07-23 09:22:32.873911500 at com.atlassian.crowd.directory.ldap.cache.EventTokenChangedCacheRefresher.synchroniseAll(EventTokenChangedCacheRefresher.java:67) 2015-07-23 09:22:32.873912500 at com.atlassian.crowd.directory.DbCachingRemoteDirectory.synchroniseCache(DbCachingRemoteDirectory.java:1122) 2015-07-23 09:22:32.873917500 at com.atlassian.crowd.manager.directory.DirectorySynchroniserImpl.synchronise(DirectorySynchroniserImpl.java:76) 2015-07-23 09:22:32.873918500 at com.atlassian.crowd.directory.DbCachingDirectoryPoller.pollChanges(DbCachingDirectoryPoller.java:50) 2015-07-23 09:22:32.873919500 at com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerJobRunner.runJob(DirectoryPollerJobRunner.java:93) 2015-07-23 09:22:32.873925500 at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153) 2015-07-23 09:22:32.873925500 at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118) 2015-07-23 09:22:32.873926500 at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97) 2015-07-23 09:22:32.873927500 at com.atlassian.scheduler.quartz1.Quartz1Job.execute(Quartz1Job.java:32)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$467(ConfluenceQuartzThreadPool.java:19)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.