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 Hibernate JIRA by rudi_wijaya, 1 year ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction
via Hibernate JIRA by Rudi Wijaya, 2 years ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction
via atlassian.net by Unknown author, 2 years ago
via Stack Overflow by Gopi
, 2 years ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
via nabble.com by Unknown author, 2 years ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
via camel-users by martin11, 2 years ago
Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Transaction marked as rollbackOnly
org.springframework.transaction.TransactionSystemException: Could not commit JPA transaction; nested exception is javax.persistence.RollbackException: Error while committing the transaction at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:524)[spring-orm-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:757)[spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:726)[spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:150)[spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE] at id.co.bippo.cart.JpaCartManagerImpl.expireCartLine(JpaCartManagerImpl.java:789)[classes/:na] at id.co.bippo.cart.ExpireCartLineJob.doExecute(ExpireCartLineJob.java:81)[classes/:na] at org.soluvas.schedule.TenantJob.execute(TenantJob.java:117)[classes/:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202)[quartz-2.2.1.jar:na] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)[quartz-2.2.1.jar:na]Caused by: javax.persistence.RollbackException: Error while committing the transaction at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:94)[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] at org.springframework.orm.jpa.JpaTransactionManager.doCommit(JpaTransactionManager.java:515)[spring-orm-4.1.0.RELEASE.jar:4.1.0.RELEASE] ... 8 moreCaused by: org.hibernate.AssertionFailure: Unable to perform beforeTransactionCompletion callback at org.hibernate.engine.spi.ActionQueue$BeforeTransactionCompletionProcessQueue.beforeTransactionCompletion(ActionQueue.java:721)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] at org.hibernate.engine.spi.ActionQueue.beforeTransactionCompletion(ActionQueue.java:389)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] at org.hibernate.internal.SessionImpl.beforeTransactionCompletion(SessionImpl.java:516)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] at org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.beforeTransactionCommit(JdbcTransaction.java:105)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.commit(AbstractTransactionImpl.java:177)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] at org.hibernate.jpa.internal.TransactionImpl.commit(TransactionImpl.java:77)[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final] ... 9 moreCaused by: java.lang.NullPointerException: null at org.hibernate.action.internal.EntityVerifyVersionProcess.doBeforeTransactionCompletion(EntityVerifyVersionProcess.java:59)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] at org.hibernate.engine.spi.ActionQueue$BeforeTransactionCompletionProcessQueue.beforeTransactionCompletion(ActionQueue.java:715)[hibernate-core-4.3.6.Final.jar:4.3.6.Final] ... 14 more