- changed status to open
Java Error PluginLicenseManager when using BoostTestTask
Hello, I'm testing the Boost Task Test module, however getting the following java error when trying to use it.
com.stellarity.bamboo.task.BoostTestTaskConfigurator': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/atlassian/upm/api/license/PluginLicenseManager
I've added a temporary license in and the plugin manager on our bamboo server seems to think the module is installed and licensed correctly. Bamboo Version: 5.6.2
Can you advise what is causing this error?
Comments (11)
-
-
Hi Sean,
Try restarting the Bamboo. Meanwhile I am updating the code to fix this issue.
-
reporter Hi Sergey, I restarted Bamboo however it didn't solve the problem. Still getting similar error.
20-Oct-2014 10:52:47 Error occurred while running Task 'test(3)' of type com.stellarity.bamboo.boosttest-task:boostTestTask. 20-Oct-2014 10:52:47 com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.stellarity.bamboo.task.BoostTestTaskConfigurator': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: com/atlassian/upm/api/license/PluginLicenseManager 20-Oct-2014 10:52:47 at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149) 20-Oct-2014 10:52:47 at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112) 20-Oct-2014 10:52:47 at com.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:87) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.plugin.descriptor.TaskModuleDescriptorImpl.getTaskConfigurator(TaskModuleDescriptorImpl.java:176) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.task.QuarantineTaskResultProcessor.recalculateTaskState(QuarantineTaskResultProcessor.java:41) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:230) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:98) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:75) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) 20-Oct-2014 10:52:47 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) 20-Oct-2014 10:52:47 at java.lang.Thread.run(Thread.java:744) 20-Oct-2014 10:52:47 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.stellarity.bamboo.task.BoostTestTaskConfigurator':
Thanks
Sean.
-
Sean, could you try this version?
-
reporter - attached SOT-SOTR0-SOTT-39.log
Log after newer version of Plugin
-
reporter Hi Sergey,
Thanks, I have installed newer version of Plugin, however I still get the same error. I restart both the Bamboo server and agent.
-
Thanks, Sean. I'll give you another version.
-
Ok, this one should work.
-
reporter Hi,
Many Thanks. This now works. Appreciate the quick response.
Sean.
-
Thank you too, Sean. I'll make that version public soon.
-
- changed status to resolved
Fixed in 1.0.2.
- Log in to comment