Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo fails in starting up

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.

image.png

4 answers

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.

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)

Hi @Yogesh Mude here are the logsimage.png

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

251 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you