This app could not be loaded. It has one or more errors that prevent it from being enabled.

Issue #12 resolved
Rowell Ching created an issue

After upgrading Bamboo version from 7.2.3 to 8.1.2, The App remains in “disabled“ and cannot be re-enabled.

Re-installation logs will show the following:

2022-02-09 07:33:01,869 INFO [UpmAsynchronousTaskManager:thread-1] [PluginDownloadServiceImpl] Downloading plugin artifact from [_https://marketplace.atlassian.com/download/apps/1216287/version/1000040%5D... _
2022-02-09 07:33:02,550 INFO [UpmAsynchronousTaskManager:thread-1] [ExtenderConfiguration] Application context succesfully closed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin, config=osgibundle:/META-INF/spring/.xml))
2022-02-09 07:33:02,712 INFO [UpmAsynchronousTaskManager:thread-1] [DefaultOsgiApplicationContextCreator] Discovered configurations {osgibundle:/META-INF/spring/.xml} in bundle [Bamboo Queue Priority plugin (com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin)]
2022-02-09 07:33:02,743 INFO [ThreadPoolAsyncTaskExecutor::Thread 28] [DependencyWaiterApplicationContextExecutor] No outstanding OSGi service dependencies, completing initialization for NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin, config=osgibundle:/META-INF/spring/.xml)
2022-02-09 07:33:02,780 WARN [ThreadPoolAsyncTaskExecutor::Thread 29] [OsgiPlugin] Ignoring the bean container that was just created for plugin com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin. The plugin is in an invalid state, DISABLED,that doesn't support a transition to enabled. Most likely, it was disabled due to a timeout.
2022-02-09 07:33:02,787 INFO [ThreadPoolAsyncTaskExecutor::Thread 29] [ExtenderConfiguration] Application context successfully refreshed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin, config=osgibundle:/META-INF/spring/.xml))
2022-02-09 07:33:03,762 ERROR [UpmAsynchronousTaskManager:thread-1] [DefaultPluginManager] There was an error loading the descriptor 'Build Priority Configuration' of plugin 'com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin'. Disabling.
java.lang.NoClassDefFoundError: com/atlassian/bamboo/v2/build/configuration/MiscellaneousBuildConfigurationPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2410)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2194)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1607)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
……….. 139 more
2022-02-09 07:33:03,777 INFO [UpmAsynchronousTaskManager:thread-1] [BambooEventListenerModuleDescriptor] Unregistered Event Listener: com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin:buildQueuedListener
2022-02-09 07:33:03,812 INFO [UpmAsynchronousTaskManager:thread-1] [PluginSettingsAuditLogService] Wed Feb 09 07:33:03 UTC 2022 Rowell.Ching@XXXX: Installed app Bamboo Queue Priority plugin (com.atlassianlab.bamboo.plugins.bamboo-queue-priority-plugin version 0.4)

Comments (3)

  1. Alexey Chystoprudov

    thank you for reporting. Will release new version compatible with Bamboo 8+ today. Updated 0.4 version compatibility accordingly.

  2. Log in to comment