I got error message when I tried to delete a repository in Bitbucket

Miss Maha February 13, 2022

I'm Admin in Bitbucket, and when I tried to delete a repository I got this error message: An error occurred while processing the request. Check the server logs for more information.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 13, 2022

What do the logs say the problem is?

Miss Maha February 13, 2022

2022-02-13 17:06:22,740 ERROR [http-nio-7990-exec-533] M.Abuhayah @4GGPEAx1026x77835065x5 ohyzv2 172.25.70.250 "DELETE /users/m.albrahim/repos/test-may HTTP/1.1" c.a.e.i.AsynchronousAbleEventDispatcher There was an exception thrown trying to dispatch event [com.atlassian.bitbucket.event.repository.RepositoryDeletionRequestedEvent[source=com.atlassian.stash.internal.repository.DefaultRepositoryService@5df8c597]] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.bitbucket.internal.webhook.WebhookCleanupService.onRepositoryDeleted(com.atlassian.bitbucket.event.repository.RepositoryDeletionRequestedEvent), listener=com.atlassian.bitbucket.internal.webhook.WebhookCleanupService@48736a95} (monitored)]
2022-02-13 17:06:22,757 DEBUG [http-nio-7990-exec-533] M.Abuhayah @4GGPEAx1026x77835065x5 ohyzv2 172.25.70.250 "DELETE /users/m.albrahim/repos/test-may HTTP/1.1" c.a.s.i.e.TransactionAwareEventPublisher Deferring publishing for RepositoryDeletedEvent until AFTER_COMMIT
2022-02-13 17:06:22,759 ERROR [http-nio-7990-exec-533] M.Abuhayah @4GGPEAx1026x77835065x5 ohyzv2 172.25.70.250 "DELETE /users/m.albrahim/repos/test-may HTTP/1.1" c.a.s.i.r.e.DefaultUnhandledExceptionMapperHelper Unhandled exception while processing REST request: "DELETE /users/m.albrahim/repos/test-may HTTP/1.1"
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 14, 2022

This sort of error happens when you hit the wrong URL for the action.

How were you trying to delete the repository?

Miss Maha February 15, 2022

From the repository settings 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 15, 2022

Bother, I was hoping it was something that would be hitting the wrong URL, but the admin UI (including repository settings) should not be able to do that.

Are there more bits of log in this area that might be relevant?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events