jfrog / bamboo-artifactory-plugin

Atlassian Bamboo plugin that enables traceable build artifacts with Artifactory
https://plugins.atlassian.com/plugin/details/27818
Apache License 2.0
42 stars 55 forks source link

Artifactory Plugin causes Bamboo 5.6.0 to not start #6

Open GrantGochnauer opened 10 years ago

GrantGochnauer commented 10 years ago

It looks like the version of Guava changed in Bamboo 5.6.0 and so on startup with this plugin installed, there is a NoClassDefFound exception.

org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.build.logger.DefaultBuildLoggerManager]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.bamboo.build.logger.DefaultBuildLoggerManager]: Constructor threw exception; nested exception is java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;
Caused by: java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;
    at com.atlassian.bamboo.build.logger.DefaultBuildLoggerManager.<init>(DefaultBuildLoggerManager.java:37)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
elig commented 10 years ago

Thank you for reporting, they released the 5.6 version after we finished the QA on the plugin, this is why it is only state as compatible with 5.5.1 in the market place.

R&D is on it, hopefully we could have a fix for 5.6 soon

Cheers

GrantGochnauer commented 10 years ago

Thanks - I just forked the repo and did a quick check on updating bamboo build info, recompiled, deployed, and it loaded. Haven't QA'd it yet.

I created a JIRA for tracking as well (discovered JIRA after github issues): https://www.jfrog.com/jira/browse/BAP-218

sopel commented 9 years ago

@elig - The mirror issue BAP-218 is resolved, so this one can be closed too I guess?!