Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

atlas-run: Unable to scan for host components in plugin clases

I've searched through all available topics in the Atlassian community and couldn't find a resolution.

The error message is:


[INFO] [talledLocalContainer] com.atlassian.plugin.PluginParseException: Unable to scan for host components in plugin classes
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.execute(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.transform.DefaultPluginTransformer.transform(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.createOsgiPluginJar(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.OsgiPluginFactory.create(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.manager.DefaultPluginManager.init(
[INFO] [talledLocalContainer]   at com.atlassian.bamboo.container.BambooContainer.init(
[INFO] [talledLocalContainer]   at com.atlassian.bamboo.container.BambooContainer.initialise(
[INFO] [talledLocalContainer]   at com.atlassian.bamboo.upgrade.UpgradeLauncher.initialiseBambooContainer(
[INFO] [talledLocalContainer]   at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(
[INFO] [talledLocalContainer]   at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContext.listenerStart(
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardContext.startInternal(
[INFO] [talledLocalContainer]   at org.apache.catalina.util.LifecycleBase.start(
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ContainerBase.addChildInternal(
[INFO] [talledLocalContainer]   at org.apache.catalina.core.ContainerBase.addChild(
[INFO] [talledLocalContainer]   at org.apache.catalina.core.StandardHost.addChild(
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig.deployWAR(
[INFO] [talledLocalContainer]   at org.apache.catalina.startup.HostConfig$
[INFO] [talledLocalContainer]   at java.util.concurrent.Executors$
[INFO] [talledLocalContainer]   at
[INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor.runWorker(
[INFO] [talledLocalContainer]   at java.util.concurrent.ThreadPoolExecutor$
[INFO] [talledLocalContainer]   at
[INFO] [talledLocalContainer] Caused by: Error parsing class file
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.util.ClassBinaryScanner.scanClassBinary(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.findUsedHostComponents(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.factory.transform.stage.HostComponentSpringStage.execute(
[INFO] [talledLocalContainer]   ... 26 more
[INFO] [talledLocalContainer] Caused by: java.lang.ArrayIndexOutOfBoundsException: 18
[INFO] [talledLocalContainer]   at aQute.lib.osgi.Clazz.parseClassFile(
[INFO] [talledLocalContainer]   at aQute.lib.osgi.Clazz.parseClassFile(
[INFO] [talledLocalContainer]   at aQute.lib.osgi.Clazz.parseClassFileWithCollector(
[INFO] [talledLocalContainer]   at com.atlassian.plugin.osgi.util.ClassBinaryScanner.scanClassBinary(
[INFO] [talledLocalContainer]   ... 28 more

Could anyone help in identifying what is the cause of this?

1 answer

0 votes

Hi Dani,

Which java source level are you using to compile your plugin? I'm asking you that because a very similar problem was observed when we were switching from Java 1.7. to 1.8


Hey @Gabriel Ribeiro

I couldn't find any Java version specified in the pom file, could it be the problem?

Hi Dani,

Usually, if don't specify the Java version, Maven will use the default JDK option, you can check what's the default version running mvn -version in the terminal.

To specify which JDK version you want Maven to use to compile your project, you can set the -source and -target options in the compiler or, you can add the following parameters to the POM file:









You will find more details in the Apache Maven Plugin documentation. 


So I have been using JDK 1.8 to compile, But Bamboo says that for that specific version they support 1.8 JDK version.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events