Could not find any valid decoders for license string

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

Bamboo fails to start up and the following error appears in the logs

2016-02-08 15:19:04,543 FATAL [localhost-startStop-1] [BootstrapLoaderListener] An error was encountered while bootstrapping Bamboo (see below): 
Could not find any valid decoders in [com.atlassian.extras.decoder.v2.Version2LicenseDecoder@4261f7d9, com.atlassian.extras.decoder.v1.Version1LicenseDecoder@7d51e7ea] for license string < (license key) >
com.atlassian.extras.decoder.api.LicenseDecoderNotFoundException: Could not find any valid decoders in [com.atlassian.extras.decoder.v2.Version2LicenseDecoder@4261f7d9, com.atlassian.extras.decoder.v1.Version1LicenseDecoder@7d51e7ea] for license string < (license key) >
	at com.atlassian.extras.decoder.api.DelegatingLicenseDecoder.decode(DelegatingLicenseDecoder.java:47)
	at com.atlassian.extras.core.DefaultLicenseManager.decodeLicense(DefaultLicenseManager.java:77)
	at com.atlassian.extras.core.DefaultLicenseManager.getAtlassianLicense(DefaultLicenseManager.java:63)
	at com.atlassian.extras.core.DefaultLicenseManager.getLicense(DefaultLicenseManager.java:46)
	at com.atlassian.bamboo.license.BambooLicenseManagerImpl.getLicense(BambooLicenseManagerImpl.java:300)
	at com.atlassian.bamboo.license.BambooLicenseManagerImpl.getLicense(BambooLicenseManagerImpl.java:52)
	at com.atlassian.bamboo.setup.DefaultBootstrapManager.performPersistenceUpgrade(DefaultBootstrapManager.java:307)
	at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.init(DefaultAtlassianBootstrapManager.java:77)
	at com.atlassian.bamboo.setup.BootstrapLoaderListener.contextInitialized(BootstrapLoaderListener.java:98)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

原因

A license key which was used has invalid format and could not be parsed by Bamboo. Most common mistakes are:

  • copy-pasting only part of a license key
  • blank spaces in the beginning or at the end of the license key

Check if the license key used is exactly the same as stated on my.atlassian.com.

回避策

If everything else is failing, access the <bamboo-home-directory>/bamboo.cfg.xml file and try enclosing the license inside the following:

<property name="license.string"><![CDATA[yourlicensehere]]></property>

Note that this is not done via the Bamboo UI, you must access the bamboo.cfg.xml file to apply this.

Please make sure that the formatting of the license key matches what is found in your my.atlassian.com account. This includes whitespaces and line breaks.



最終更新日 2018 年 8 月 17 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.