java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • (Using On Demand Cloud version of Bamboo, I'm not sure of version) Case: 1) somebody on your build team decides to be funny and change their git name to be several hundred characters long, with quotes and special characters 2) commit / push change to repo using the funny name 3) Bamboo sees change, tries to compile the code commits lists for the summary tab, fails with the following exception. Issue: java.lang.RuntimeException: Could not create a new author record for committer 'Robert Thomas Pohlman #1 Coder in the World how long can I make my git name? It's letting me continue to make it really long so I'm just testing out how long this name can really be because as Jason would say, 'What kind of asshole would do that?'. There's really no limit? This is very strange and I'm stopping now <rpohlman@runding.com>' at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createAuthorIfMissingWithoutTransactionCheck(AuthorCreatorServiceImpl.java:93) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createMissingAuthors(AuthorCreatorServiceImpl.java:59) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.createMissingAuthors(ChainExecutionManagerImpl.java:623) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.access$200(ChainExecutionManagerImpl.java:109) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:236) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:281) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy143.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1$1.run(PlanExecutionManagerImpl.java:430) at com.atlassian.bamboo.util.CacheAwareness$2.call(CacheAwareness.java:83) at com.atlassian.bamboo.util.CacheAwareness$2.call(CacheAwareness.java:79) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:101) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:78) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:118) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:425) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:417) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:85) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:800) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$300(PlanExecutionManagerImpl.java:129) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1.run(PlanExecutionManagerImpl.java:411) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into AUTHOR (LINKED_USER_NAME, AUTHOR_EMAIL, AUTHOR_NAME, AUTHOR_ID) values (?, ?, ?, ?)]; nested exception is org.hibernate.exception.DataException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:663) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:799) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:669) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy25.commit(Unknown Source) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:478) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:272) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy57.createAndSaveAuthor(Unknown Source) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl$1.call(AuthorCreatorServiceImpl.java:85) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl$1.call(AuthorCreatorServiceImpl.java:78) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createAuthorIfMissingWithoutTransactionCheck(AuthorCreatorServiceImpl.java:77) ... 35 more Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:661) ... 53 more Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into AUTHOR (LINKED_USER_NAME, AUTHOR_EMAIL, AUTHOR_NAME, AUTHOR_ID) values ('rpohlman', 'rpohlman@runding.com', 'Robert Thomas Pohlman #1 Coder in the World how long can I make my git name? It''s letting me continue to make it really long so I''m just testing out how long this name can really be because as Jason would say, ''What kind of asshole would do that?''. There''s really no limit? This is very strange and I''m stopping now <rpohlman@runding.com>', '18677916') was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2586) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1811) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2725) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 61 more
    via by jsargeant NA,
  • (Using On Demand Cloud version of Bamboo, I'm not sure of version) Case: 1) somebody on your build team decides to be funny and change their git name to be several hundred characters long, with quotes and special characters 2) commit / push change to repo using the funny name 3) Bamboo sees change, tries to compile the code commits lists for the summary tab, fails with the following exception. Issue: java.lang.RuntimeException: Could not create a new author record for committer 'Robert Thomas Pohlman #1 Coder in the World how long can I make my git name? It's letting me continue to make it really long so I'm just testing out how long this name can really be because as Jason would say, 'What kind of asshole would do that?'. There's really no limit? This is very strange and I'm stopping now <rpohlman@runding.com>' at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createAuthorIfMissingWithoutTransactionCheck(AuthorCreatorServiceImpl.java:93) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createMissingAuthors(AuthorCreatorServiceImpl.java:59) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.createMissingAuthors(ChainExecutionManagerImpl.java:623) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.access$200(ChainExecutionManagerImpl.java:109) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:236) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:281) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy143.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1$1.run(PlanExecutionManagerImpl.java:430) at com.atlassian.bamboo.util.CacheAwareness$2.call(CacheAwareness.java:83) at com.atlassian.bamboo.util.CacheAwareness$2.call(CacheAwareness.java:79) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:101) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:78) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:118) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:425) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:417) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:85) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:800) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$300(PlanExecutionManagerImpl.java:129) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1.run(PlanExecutionManagerImpl.java:411) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into AUTHOR (LINKED_USER_NAME, AUTHOR_EMAIL, AUTHOR_NAME, AUTHOR_ID) values (?, ?, ?, ?)]; nested exception is org.hibernate.exception.DataException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:663) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:799) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:669) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy25.commit(Unknown Source) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:478) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:272) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy57.createAndSaveAuthor(Unknown Source) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl$1.call(AuthorCreatorServiceImpl.java:85) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl$1.call(AuthorCreatorServiceImpl.java:78) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createAuthorIfMissingWithoutTransactionCheck(AuthorCreatorServiceImpl.java:77) ... 35 more Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:661) ... 53 more Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into AUTHOR (LINKED_USER_NAME, AUTHOR_EMAIL, AUTHOR_NAME, AUTHOR_ID) values ('rpohlman', 'rpohlman@runding.com', 'Robert Thomas Pohlman #1 Coder in the World how long can I make my git name? It''s letting me continue to make it really long so I''m just testing out how long this name can really be because as Jason would say, ''What kind of asshole would do that?''. There''s really no limit? This is very strange and I''m stopping now <rpohlman@runding.com>', '18677916') was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2586) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1811) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2725) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 61 more
    via by jsargeant NA,
  • Could not execute JDBC batch update;
    via Stack Overflow by Sthogari
    ,
  • I'm trying to modify an existing project. When trying to save the change, I get "unknown error ocurred". Here's the log of ehour : 11-18@12:21:30 DEBUG net.rrm.ehour.user.service.UserServiceImpl - Finding users on role 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 142 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1672 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1586 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 418 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 722 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 94 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 114 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2361 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1582 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2259 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 432 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 694 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2252 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 146 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2283 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1051 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 3537 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 4097 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1652 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1660 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 3547 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 205 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 122 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 41 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1043 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 284 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1597 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 631 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 3214 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 342 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1668 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 3961 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 3474 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1030 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1035 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2468 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 126 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1891 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2332 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1936 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2263 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 138 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1664 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 735 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2348 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 3772 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 134 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 375 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 118 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1578 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 130 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 654 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2336 11-18@12:21:31 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 2678 11-18@12:21:32 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1656 11-18@12:21:32 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 1940 11-18@12:21:32 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 106 11-18@12:21:32 DEBUG net.rrm.ehour.project.service.ProjectAssignmentServiceImpl - Default assignment is already assigned as assignmentId 704 11-18@12:21:32 WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505 11-18@12:21:32 ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 4 insert into USER_TO_USERROLE (USER_ID, ROLE) values ('204', 'ROLE_PROJECTMANAGER') was aborted. Call getNextException to see the cause. 11-18@12:21:32 WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505 11-18@12:21:32 ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: duplicate key value violates unique constraint "user_to_userrole_pkey" 11-18@12:21:32 WARN net.sf.ehcache.hibernate.strategy.AbstractReadWriteEhcacheAccessStrategy - Cache net.rrm.ehour.domain.Project Key net.rrm.ehour.domain.Project#15 Lockable : null A soft-locked cache entry was expired by the underlying Ehcache. If this happens regularly you should consider increasing the cache timeouts and/or capacity limits 11-18@12:21:32 ERROR net.rrm.ehour.ui.common.panel.AbstractFormSubmittingPanel - While trying to persist/delete org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into USER_TO_USERROLE (USER_ID, ROLE) values (?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy57.persistProject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:414) at org.apache.wicket.proxy.$Proxy4.persistProject(Unknown Source) at net.rrm.ehour.ui.admin.project.panel.ProjectFormPanel.persistProject(ProjectFormPanel.java:204) at net.rrm.ehour.ui.admin.project.panel.ProjectFormPanel.processFormSubmit(ProjectFormPanel.java:191) at net.rrm.ehour.ui.common.panel.AbstractFormSubmittingPanel.ajaxEventReceived(AbstractFormSubmittingPanel.java:72) at net.rrm.ehour.ui.common.event.EventPublisher.recursivePublishAjaxEvent(EventPublisher.java:50) at net.rrm.ehour.ui.common.event.EventPublisher.publishAjaxEvent(EventPublisher.java:41) at net.rrm.ehour.ui.common.form.FormUtil$1.onSubmit(FormUtil.java:118) at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:421) at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:378) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509) at java.lang.Thread.run(Thread.java:679) Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:187) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:656) ... 57 more Caused by: java.sql.BatchUpdateException: Batch entry 4 insert into USER_TO_USERROLE (USER_ID, ROLE) values ('204', 'ROLE_PROJECTMANAGER') was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2598) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2737) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:293) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 65 more
    via by claude,
  • 02-06@15:57:46 ERROR net.rrm.ehour.ui.common.panel.AbstractFormSubmittingPanel - While trying to persist/delete org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into USER_TO_USERROLE (USER_ID, ROLE) values (?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy51.persistProject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:414) at org.apache.wicket.proxy.$Proxy60.persistProject(Unknown Source) at net.rrm.ehour.ui.admin.project.panel.ProjectFormPanel.persistProject(ProjectFormPanel.java:204) at net.rrm.ehour.ui.admin.project.panel.ProjectFormPanel.processFormSubmit(ProjectFormPanel.java:191) at net.rrm.ehour.ui.common.panel.AbstractFormSubmittingPanel.ajaxEventReceived(AbstractFormSubmittingPanel.java:72) at net.rrm.ehour.ui.common.event.EventPublisher.recursivePublishAjaxEvent(EventPublisher.java:50) at net.rrm.ehour.ui.common.event.EventPublisher.publishAjaxEvent(EventPublisher.java:41) at net.rrm.ehour.ui.common.form.FormUtil$1.onSubmit(FormUtil.java:118) at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1824) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:187) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:656) ... 61 more Caused by: java.sql.BatchUpdateException: Batch entry 4 insert into USER_TO_USERROLE (USER_ID, ROLE) values ('374', 'ROLE_PROJECTMANAGER') was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2621) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1837) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2754) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:293) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 69 more 02-06@15:58:28 INFO net.rrm.ehour.ui.login.page.Login - User already signed in, logging out and redirecting to class net.rrm.ehour.ui.timesheet.page.MonthOverviewPage 02-06@15:58:28 INFO net.rrm.ehour.ui.common.session.EhourWebSession - Logout by user 'routca'. 02-06@15:58:28 DEBUG net.rrm.ehour.ui.common.session.EhourWebSession - Setting locale to French 02-06@15:59:19 DEBUG net.rrm.ehour.ui.common.session.EhourWebSession - Setting locale to French 02-06@15:59:30 DEBUG net.rrm.ehour.persistence.dao.AbstractGenericDaoHibernateImpl$1 - Found thread-bound Session for HibernateTemplate 02-06@15:59:30 DEBUG net.rrm.ehour.persistence.dao.AbstractGenericDaoHibernateImpl$1 - Not closing pre-bound Hibernate Session after HibernateTemplate 02-06@15:59:30 INFO net.rrm.ehour.ui.common.session.EhourWebSession - Login by user 'routca'. 02-06@15:59:30 DEBUG net.rrm.ehour.ui.login.page.Login - User 'routca' redirected to net.rrm.ehour.ui.timesheet.page.MonthOverviewPage 02-06@15:59:30 DEBUG net.rrm.ehour.ui.common.panel.calendar.CalendarPanel - Constructing navCalendar for userId: 2677 and month Mon Feb 06 15:59:30 EST 2012 02-06@15:59:30 DEBUG net.rrm.ehour.timesheet.service.TimesheetServiceImpl - Getting booked days overview for userId 2677 in range date start: Wed Feb 01 00:00:00 EST 2012, date end: Wed Feb 29 23:59:59 EST 2012 02-06@15:59:30 DEBUG net.rrm.ehour.timesheet.service.TimesheetServiceImpl - Booked days found for userId 2677: 0 02-06@15:59:30 DEBUG net.rrm.ehour.timesheet.service.TimesheetServiceImpl - Total booked days found for userId 2677: 0 02-06@15:59:30 DEBUG net.rrm.ehour.timesheet.service.TimesheetServiceImpl - Getting timesheet overview for userId 2677 in range date start: Wed Feb 01 00:00:00 EST 2012, date end: Wed Feb 29 23:59:59 EST 2012 02-06@15:59:30 DEBUG net.rrm.ehour.timesheet.service.TimesheetServiceImpl - Getting project status for 0 assignments 02-06@15:59:30 DEBUG net.rrm.ehour.timesheet.service.TimesheetServiceImpl - Timesheet entries found for userId 2677 in range date start: Wed Feb 01 00:00:00 EST 2012, date end: Wed Feb 29 23:59:59 EST 2012: 0 02-06@15:59:30 DEBUG net.rrm.ehour.ui.timesheet.panel.monthoverview.MonthOverviewPanel - Creating month overview calendar for Sun Jan 29 15:59:30 EST 2012 02-06@15:59:36 DEBUG net.rrm.ehour.project.service.ProjectServiceImpl - Finding all active projects 02-06@16:00:28 WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505 02-06@16:00:28 ERROR org.hibernate.util.JDBCExceptionReporter - Batch entry 4 insert into USER_TO_USERROLE (USER_ID, ROLE) values ('374', 'ROLE_PROJECTMANAGER') was aborted. Call getNextException to see the cause. 02-06@16:00:28 WARN org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 23505 02-06@16:00:28 ERROR org.hibernate.util.JDBCExceptionReporter - ERROR: duplicate key value violates unique constraint "user_to_userrole_pkey" 02-06@16:00:28 ERROR net.rrm.ehour.ui.common.panel.AbstractFormSubmittingPanel - While trying to persist/delete org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into USER_TO_USERROLE (USER_ID, ROLE) values (?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:637) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:793) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:664) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:754) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:723) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:393) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:120) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy51.persistProject(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:414) at org.apache.wicket.proxy.$Proxy60.persistProject(Unknown Source) at net.rrm.ehour.ui.admin.project.panel.ProjectFormPanel.persistProject(ProjectFormPanel.java:204) at net.rrm.ehour.ui.admin.project.panel.ProjectFormPanel.processFormSubmit(ProjectFormPanel.java:191) at net.rrm.ehour.ui.common.panel.AbstractFormSubmittingPanel.ajaxEventReceived(AbstractFormSubmittingPanel.java:72) at net.rrm.ehour.ui.common.event.EventPublisher.recursivePublishAjaxEvent(EventPublisher.java:50) at net.rrm.ehour.ui.common.event.EventPublisher.publishAjaxEvent(EventPublisher.java:41) at net.rrm.ehour.ui.common.form.FormUtil$1.onSubmit(FormUtil.java:118) at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101) at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1824) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:96) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:187) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:656) ... 61 more Caused by: java.sql.BatchUpdateException: Batch entry 4 insert into USER_TO_USERROLE (USER_ID, ROLE) values ('374', 'ROLE_PROJECTMANAGER') was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2621) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1837) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2754) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:293) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 69 more 02-06@16:00:47 DEBUG net.rrm.ehour.user.service.UserServiceImpl - Finding users on role
    via by DTI,
    • java.lang.RuntimeException: Could not create a new author record for committer 'Robert Thomas Pohlman #1 Coder in the World how long can I make my git name? It's letting me continue to make it really long so I'm just testing out how long this name can really be because as Jason would say, 'What kind of asshole would do that?'. There's really no limit? This is very strange and I'm stopping now <rpohlman@runding.com>' at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createAuthorIfMissingWithoutTransactionCheck(AuthorCreatorServiceImpl.java:93) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createMissingAuthors(AuthorCreatorServiceImpl.java:59) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.createMissingAuthors(ChainExecutionManagerImpl.java:623) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.access$200(ChainExecutionManagerImpl.java:109) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:236) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:281) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:217) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy143.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1$1.run(PlanExecutionManagerImpl.java:430) at com.atlassian.bamboo.util.CacheAwareness$2.call(CacheAwareness.java:83) at com.atlassian.bamboo.util.CacheAwareness$2.call(CacheAwareness.java:79) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:101) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:78) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:118) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:425) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1$1.call(PlanExecutionManagerImpl.java:417) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:85) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:800) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$300(PlanExecutionManagerImpl.java:129) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$2$1.run(PlanExecutionManagerImpl.java:411) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into AUTHOR (LINKED_USER_NAME, AUTHOR_EMAIL, AUTHOR_NAME, AUTHOR_ID) values (?, ?, ?, ?)]; nested exception is org.hibernate.exception.DataException: Could not execute JDBC batch update at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:663) at org.springframework.orm.hibernate3.HibernateTransactionManager.convertHibernateAccessException(HibernateTransactionManager.java:799) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:669) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726) at sun.reflect.GeneratedMethodAccessor102.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201) at com.sun.proxy.$Proxy25.commit(Unknown Source) at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:478) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:272) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy57.createAndSaveAuthor(Unknown Source) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl$1.call(AuthorCreatorServiceImpl.java:85) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl$1.call(AuthorCreatorServiceImpl.java:78) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.author.AuthorCreatorServiceImpl.createAuthorIfMissingWithoutTransactionCheck(AuthorCreatorServiceImpl.java:77) ... 35 more Caused by: org.hibernate.exception.DataException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:275) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:268) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:184) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1216) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:383) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:133) at org.springframework.orm.hibernate3.HibernateTransactionManager.doCommit(HibernateTransactionManager.java:661) ... 53 more Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into AUTHOR (LINKED_USER_NAME, AUTHOR_EMAIL, AUTHOR_NAME, AUTHOR_ID) values ('rpohlman', 'rpohlman@runding.com', 'Robert Thomas Pohlman #1 Coder in the World how long can I make my git name? It''s letting me continue to make it really long so I''m just testing out how long this name can really be because as Jason would say, ''What kind of asshole would do that?''. There''s really no limit? This is very strange and I''m stopping now <rpohlman@runding.com>', '18677916') was aborted. Call getNextException to see the cause. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2586) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1811) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:407) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2725) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268) ... 61 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    6 more bugmates