Unable to upgrade Bitbucket in Docker Image.

プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム

この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。

*Fisheye および Crucible は除く

要約

Attempting to upgrade Bitbucket in a Docker image, you receive an error tÜnable to start the plugin container."

環境

  • Docker

診断

Attempting to upgrade Bitbucket in a Docker image and you receive the following error:

ERROR [ThreadPoolAsyncTaskExecutor::Thread 1] c.a.plugin.osgi.factory.OsgiPlugin Unable to start the plugin container for plugin 'com.atlassian.support.stp' org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'action-factory' defined in URL [bundle://117.0:0/META-INF/spring/atlassian-plugins-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.support.tools.action.impl.DefaultSupportActionFactory]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Illegal version b11 at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325) at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.lang.Thread.run(Thread.java:748) ... 10 frames trimmed Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.atlassian.support.tools.action.impl.DefaultSupportActionFactory]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Illegal version b11 at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154) ... 9 common frames omitted Caused by: java.lang.IllegalArgumentException: Illegal version b11 at com.atlassian.support.tools.spi.Version.of(Version.java:46) at com.atlassian.support.tools.action.impl.DefaultSupportActionFactory.<init>(DefaultSupportActionFactory.java:32) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142) ... 9 common frames omitted

原因

The BUILD_VERSION in your Docker image is set as your Java container build variable and is being picked up by Bitbucket, which causes it to fail.

ソリューション

Change the variable name from BUILD_VERSION to JAVA_BUILD_VERSION or something similar for your Java variable.

更新日時: September 26, 2025

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。