You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
After Bamboo upgrade from 5.10.8 to 6.1.4, Bamboo fails with the following error message. It is not due to issue permission of files(all files have the correct permission), I cannot understand what is the cause of the error and how to fix it.
Hi @Fbusc,
If you see in the error log the plugin module is not able to initiate please check if the JDK got changed on your machine and if the correct JDK gets picked up. Do you have your set up JAVA_HOME
?
Hi @Yogesh Mude, I 've checked both JDK and JAVA_HOME variable. Both of them are correctly setup, but I continue to receive the same error message
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are the logs
2018-05-18 14:08:22,177 WARN [15-UpgradeTaskBackgroundThread:pool-24-thread-1] [UpgradeTask51406UseNewXmlFormatForRepositories] Could not find plugin com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash:stash-rep
2018-05-18 14:08:22,181 ERROR [15-UpgradeTaskBackgroundThread:pool-24-thread-1] [BambooPluginUtils] Unable to instantiate module com.atlassian.bamboo.plugin.descriptor.WebRepositoryViewerModuleDescriptorImpl
java.lang.NullPointerException: Plugin container accessor is null. Plugin: com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash. Module name: com.atlassian.bamboo.plugins.stash.StashWebRepositoryViewer.
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:250)
at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)
at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:88)
at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.createModule(AbstractBambooModuleDescriptor.java:26)
at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.access$000(AbstractBambooModuleDescriptor.java:17)
at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor$2.call(AbstractBambooModuleDescriptor.java:91)
at com.atlassian.bamboo.plugin.BambooPluginUtils.callUnsafeCode(BambooPluginUtils.java:53)
at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.getModule(AbstractBambooModuleDescriptor.java:99)
at com.atlassian.bamboo.webrepository.WebRepositoryViewerManagerImpl.getNewWebRepositoryViewerInstance(WebRepositoryViewerManagerImpl.java:49)
at com.atlassian.bamboo.upgrade.tasks.v5_14.UpgradeTask51406UseNewXmlFormatForRepositories.getNewConfiguration(UpgradeTask51406UseNewXmlFormatForRepositories.java:106)
at com.atlassian.bamboo.upgrade.tasks.v5_14.UpgradeTask51406UseNewXmlFormatForRepositories.convertXmlData(UpgradeTask51406UseNewXmlFormatForRepositories.java:141)
at com.atlassian.bamboo.upgrade.tasks.v5_14.UpgradeTask51406UseNewXmlFormatForRepositories.lambda$doUpgrade$0(UpgradeTask51406UseNewXmlFormatForRepositories.java:66)
at org.hibernate.jdbc.WorkExecutor.executeWork(WorkExecutor.java:37)
at org.hibernate.internal.SessionImpl$1.accept(SessionImpl.java:2321)
at org.hibernate.internal.SessionImpl$1.accept(SessionImpl.java:2318)
at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.coordinateWork(JdbcCoordinatorImpl.java:314)
at org.hibernate.internal.SessionImpl.doWork(SessionImpl.java:2340)
at org.hibernate.internal.SessionImpl.doWork(SessionImpl.java:2325)
at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate$2.doInHibernate(BambooTransactionHibernateTemplate.java:54)
at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:359)
at org.springframework.orm.hibernate5.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:326)
at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate$1.doInTransaction(BambooTransactionHibernateTemplate.java:43)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate.execute(BambooTransactionHibernateTemplate.java:35)
at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate.execute(BambooTransactionHibernateTemplate.java:40)
at com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate.doWork(BambooTransactionHibernateTemplate.java:50)
at com.atlassian.bamboo.upgrade.tasks.v5_14.UpgradeTask51406UseNewXmlFormatForRepositories.doUpgrade(UpgradeTask51406UseNewXmlFormatForRepositories.java:63)
at com.atlassian.bamboo.upgrade.AbstractUpgradeManager.runUpgradeTask(AbstractUpgradeManager.java:175)
at com.atlassian.bamboo.upgrade.UpgradeManagerImpl.doUpgrade(UpgradeManagerImpl.java:99)
at com.atlassian.bamboo.upgrade.UpgradeLauncher.lambda$upgradeAndStartBamboo$0(UpgradeLauncher.java:104)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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 com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:47)
at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
at java.lang.Thread.run(Thread.java:745)
2018-05-18 14:08:22,183 ERROR [15-UpgradeTaskBackgroundThread:pool-24-thread-1] [AbstractUpgradeManager] java.lang.NullPointerException: Plugin container accessor is null. Plugin: com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash. Module name: com.atlassian.bamboo.plugins.stash.StashWebRepositoryViewer.
java.lang.NullPointerException: Plugin container accessor is null. Plugin: com.atlassian.bamboo.plugins.stash.atlassian-bamboo-plugin-stash. Module name: com.atlassian.bamboo.plugins.stash.StashWebRepositoryViewer.
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:250)
at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)
at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:88)
at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.createModule(AbstractBambooModuleDescriptor.java:26)
at com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor.access$000(AbstractBambooModuleDescriptor.java:17)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Fbusc,
Might be the plugin has not been loaded while starting up the Bamboo server.
for more details about the error please see the bamboo server logs and attach the error log here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.