Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

cannot delete old repositories - A database error has occurred.

Bernd Eichner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2023

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!

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.21
TAGS
AUG Leaders

Atlassian Community Events