org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only

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 Jens Schumacher, 1 year ago
Transaction has been rolled back because it has been marked as rollback-only
via Atlassian JIRA by Jens Schumacher, 1 year ago
Transaction has been rolled back because it has been marked as rollback-only
via spring.io by Unknown author, 2 years ago
Transaction has been rolled back because it has been marked as rollback-only
via Atlassian JIRA by David Peterson, 1 year ago
Transaction has been rolled back because it has been marked as rollback-only
via jira.com by Unknown author, 1 year ago
Transaction has been rolled back because it has been marked as rollback-only
org.springframework.transaction.UnexpectedRollbackException: Transaction has been rolled back because it has been marked as rollback-only
at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:469)
at org.springframework.transaction.interceptor.TransactionAspectSupport.doCommitTransactionAfterReturning(TransactionAspectSupport.java:266)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at undefined.$Proxy19.getUser(Unknown Source)
at com.atlassian.confluence.core.ConfluenceActionSupport.getUser(ConfluenceActionSupport.java:242)
at com.atlassian.confluence.core.ConfluenceActionSupport.getRemoteUser(ConfluenceActionSupport.java:229)
at com.atlassian.confluence.core.ConfluenceActionSupport.getLocale(ConfluenceActionSupport.java:546)
at com.atlassian.confluence.core.ConfluenceActionSupport.getI18n(ConfluenceActionSupport.java:600)
at com.atlassian.confluence.admin.actions.ViewSystemInfoAction.getUptime(ViewSystemInfoAction.java:270)
at com.atlassian.confluence.admin.actions.ViewSystemInfoAction.getBuildStats(ViewSystemInfoAction.java:126)
at _jsp._500page__jsp._jspService(500page.jsp:71)
at com.caucho.jsp.JavaPage.service(JavaPage.java:60)

Users with the same issue

66 times, 2 months ago
8 times, 1 year ago
5 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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