Could not find any valid decoders for license string

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Problem

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)

Cause

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.

Workaround

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.



Last modified on Aug 17, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.