You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi,
I have an issue deleting old repos/projects on a Bitbucket server (version 7.21).
We get the "A database error has occurred" and the following in the atlassian-bitbucket.log:
2023-03-10 16:15:11,491 INFO [http-nio-127.0.0.1-7990-exec-5] .... "DELETE /projects/BTP/repos/pipeline-library HTTP/1.1" o.h.e.i.DefaultLoadEventListener HHH000327: Error performing load command
org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: : com.atlassian.stash.internal.user.InternalApplicationUser
...
2023-03-10 16:15:11,501 DEBUG [http-nio-127.0.0.1-7990-exec-5] ... "DELETE /projects/BTP/repos/pipeline-library HTTP/1.1" c.a.s.i.r.e.ServiceExceptionMapper Mapping ServiceException to REST response 500
com.atlassian.bitbucket.DataStoreException: A database error has occurred.
at com.atlassian.stash.internal.aop.ExceptionRewriteAdvice.afterThrowing(ExceptionRewriteAdvice.java:47)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
...
Caused by: org.hibernate.InstantiationException: Cannot instantiate abstract class or interface: : com.atlassian.stash.internal.user.InternalApplicationUser
I would highly appreciate any hint on how to fix this, thank you!