Issue #2 resolved
Radosław Antoniuk
created an issue

Plugin version : 5.0.13

Add on gets installed but no plugins (0 out of 6) are enabled. Trying to turn them on results in:

2014-12-03 04:46:23,440 ERROR [ajp-bio-8009-exec-345] [ThrowableExceptionMapper] Uncaught exception thrown by REST service: null java.lang.NullPointerException

Comments (15)

  1. Radosław Antoniuk reporter

    Some more logs: {code} 2014-12-04 00:35:09,036 WARN [localhost-startStop-1] [OsgiPlugin] Because of this exception com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.bamboo.plugin.agent-smith-wallboard at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:483) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:273) at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:116) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:101) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:900) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:291) at com.atlassian.bamboo.container.BambooContainer.init(BambooContainer.java:177) at com.atlassian.bamboo.container.BambooContainer.initialise(BambooContainer.java:160) at com.atlassian.bamboo.upgrade.UpgradeLauncher.initialiseBambooContainer(UpgradeLauncher.java:188) at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:93) at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4887) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5381) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.bamboo.plugin.agent-smith-wallboard [29]: Unable to resolve 29.0: missing requirement [29.0] package; (package=com.atlassian.bamboo.plugin.graphiteconnector) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409) at org.apache.felix.framework.Felix.startBundle(Felix.java:1709) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:459) ... 19 more {code}

  2. Radosław Antoniuk reporter

    Hmmm, does the Atlassian SDK provide any plugin dependency management? I mean, shouldn't the plugin decline to install unless graphite-connector-plugin is installed beforehand? Otherwise, I think using graphite is optional with regards to the basic role of this plugin (as the graphite plugin is not available via UPM). What do you think?

  3. Chandler Zhang

    Currently Agent-Smith is coupled with Graphite plugin. I am not sure if Atlassian SDK can decline the install. However I can publish the graphite plugin to Marketplace to make users' life easier.

  4. Chandler Zhang

    I actually find another solution which I think is better. I can decouple the dependency between agent smith and graphite plugin (Well, sort of). After this pr is merged, agent smith does not require graphite any more.

  5. Chandler Zhang

    I have

    1. released a new version agent smith (6.0.0) to make the dependency to graphite connector plugin optional. The new version requires bamboo to run on jdk 8
    2. uploaded the graphite plugin to marketplace, and it is pending approval. If your bamboo is not on jdk 1.8 you should install graphite connector plugin before agent smith.
  6. Radosław Antoniuk reporter

    Thanks for that. I can confirm that it installs now fine, all plugins are enabled, with Bamboo 5.9.4. Here comes a stupid question, how do I access it? The plugin installed fine, but I cannot see any new option anywhere (in the obvious places..:)

  7. Log in to comment