Open mandrachek opened 8 years ago
And this occurred while trying to update to the current version? What version were you running previously?
Yes. Trying to upgrade to 2.7.0 (current version) from 2.6.0 (previous version).
I'd been waiting for a chance to enable the debug mode in order to get better details, but I haven't yet been able to get my admin to do so...
We also see failure when trying to enable 2.7.0 up from 2.6.0, though it's a different stack trace (and older Stash v2.12.1).
c.a.plugin.osgi.factory.OsgiPlugin Unable to start the plugin container for plugin com.nerdwin15.stash-stash-webhook-jenkins
java.lang.NoClassDefFoundError: org/apache/http/conn/scheme/SchemeSocketFactory
at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.7.0_51]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2493) ~[na:1.7.0_51]
at java.lang.Class.getConstructors(Class.java:1517) ~[na:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_51]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) ~[spring-context-4.0.2.RELEASE.jar:4.0.2.RELEASE]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) ~[na:1.7.0_51]
...
Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.scheme.SchemeSocketFactory not found by org.apache.httpcomponents.httpclient [18]
at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787) ~[org.apache.felix.framework-3.0.9.jar:na]
The same problem for me. I tried to install plugin (v 2.7.0) on a fresh Stash instance (v.3.3.0) and got the same error. I can install the previous version of a plugin without any problems.
I upgraded to Stash 3.11.1, and the plugin (v 2.7.0) works again. Unfortunately it appears that my links with jira have broken (diagnostics says everything is fine, but no issues are transitioned in jira, sigh.)
The same NoClassDefFoundError for SchemeSocketFactory occurs when trying to enable v2.7.1 in our Stash v2.12.1 instance.
Is it possible that the minimum supported Stash version is now higher due to some enhancement since 2.4.0?
Solved for me: Stash 3.3.0 Plugin versions 2.7.1 and 2.7.0 didn't work as the previous posters reported. I installed version 2.6.0 and it works.
I am supporting Stash for Atlassian and I've got another customer that downgraded and got it back working jast like @randywvt reported.
Tried upgradin on Stash 3.3.0, and I cannot enable the plugin. Here's what I get in the logs: