I've tried to upgrade our Bitbucket DC instance to 9.6. It fails to start with this error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'getPluginIpdFactory' defined in com.atlassian.stash.internal.IpdWiring: Unsatisfied dependency expressed through method 'getPluginIpdFactory' parameter 1; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:794) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) at javax.servlet.GenericServlet.init(GenericServlet.java:143) at java.base/java.lang.Thread.run(Thread.java:840) ... 18 frames trimmed Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1801) ... 5 common frames omitted
I've no good idea where to look for the issue or what it could be.
I've noticed other this tons of these logs before this crash. Maybe related:
2025-03-24 05:10:49,104 DEBUG [spring-startup] c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class 2025-03-24 05:10:49,113 DEBUG [spring-startup] c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class 2025-03-24 05:10:49,113 DEBUG [spring-startup] c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class 2025-03-24 05:10:49,131 DEBUG [spring-startup] c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class 2025-03-24 05:10:49,132 DEBUG [spring-startup] c.a.s.i.e.SynchronousAwareAnnotatedMethodsListenerHandler Couldn't find any valid listener methods on class
Answer. It is a bug in Bitbucket 9.6. See here: https://jira.atlassian.com/browse/BSERV-20056
The work around is to remove `jmx.enabled=false` from the bitbucket.properties in the meantime as a work around.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.