Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stash Webhook to Jenkins fails to start

Randall Witlicki August 19, 2015

This is with Stash 3.3.0

In the log file I get:

2015-08-19 12:46:41,312 ERROR [ThreadPoolAsyncTaskExecutor::Thread 42]  MyLoginName @1LD8H9Ux766x2012x0 15w8qfg 10.12.0.34 "POST /rest/plugins/1.0/ HTTP/1.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_65]

        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2532) ~[na:1.7.0_65]

        at java.lang.Class.getConstructors(Class.java:1517) ~[na:1.7.0_65]

        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_65]

        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_65]

        at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_65]

        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) ~[AbstractApplicationContext.class:4.0.6.RELEASE]        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_65]

        at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_65]

        ... 47 frames trimmed

Caused by: java.lang.ClassNotFoundException: org.apache.http.conn.scheme.SchemeSocketFactory not found by org.apache.httpcomponents.httpclient [91]        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812) ~[ModuleI

mpl.class:na]        ... 10 common frames omitted

 

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Randall Witlicki August 20, 2015

Sorry for the delay responding. Atlassian Answers restricted me from more than 3 posts in 24 hours because I am a new user.

Solved for me:

Stash 3.3.0

Plugin versions 2.7.1 and 2.7.0 didn't work and generated Java stack dumps.

I installed version 2.6.0 and it works.

 

GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 20, 2015

As suspected, compatibility issue.

0 votes
GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 19, 2015

What is the version of your StashWebhook to Jenkins?

TAGS
AUG Leaders

Atlassian Community Events