Unable to load the Jira Hooks for Stash plugin - Error "There was an error loading the descriptor 'Merge check' of plugin"

I am getting the following error when trying to load the 2.1 plugin to Stash 3.2.4.  I am uploading the JAR manually as we don't have access to the Marketplace from our instance of Stash.  Any ideas on how to resolve?

 

2015-09-23 11:51:10,529 ERROR [UpmAsynchronousTaskManager:thread-4] mmowry @17KTAWYx711x79870x0 nit52 0:0:0:0:0:0:0:1 "POST /rest/plugins/1.0/ HTTP/1.1" c.a.p.manager.DefaultPluginManager There was an error loading the descriptor 'Merge check' of plugin 'com.lb.software.stash.jira.connector.lb-software-stash-jira-connector'. Disabling. java.lang.NoClassDefFoundError: com/atlassian/stash/idx/CommitIndex  at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.7.0_55]  at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) ~[na:1.7.0_55]  at java.lang.Class.getConstructors(Unknown Source) ~[na:1.7.0_55]  at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_55]  at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32) ~[atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:100) ~[atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.plugin.module.PrefixDelegatingModuleFactory$$FastClassBySpringCGLIB$$e05be356.invoke(<generated>) ~[spring-core-4.0.5.RELEASE.jar:na]  at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-4.0.5.RELEASE.jar:4.0.5.RELEASE]  at com.atlassian.stash.internal.plugin.OsgiSafeProxyProvider$1.invoke(OsgiSafeProxyProvider.java:93) ~[stash-platform-3.2.4.jar:na]  at com.atlassian.plugin.module.PrefixDelegatingModuleFactory$$EnhancerBySpringCGLIB$$7d7c6ca0.createModule(<generated>) ~[spring-core-4.0.5.RELEASE.jar:na]  at com.atlassian.stash.internal.plugin.RepositoryHookModuleDescriptor.enabled(RepositoryHookModuleDescriptor.java:145) ~[stash-platform-3.2.4.jar:na]  at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1915) [atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1707) [atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1674) [atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1071) [atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.stash.internal.plugin.StashPluginManager.addPlugins(StashPluginManager.java:66) [stash-platform-3.2.4.jar:na]  at com.atlassian.plugin.manager.DefaultPluginManager.scanForNewPlugins(DefaultPluginManager.java:745) [atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.plugin.manager.DefaultPluginManager.installPlugins(DefaultPluginManager.java:644) [atlassian-plugins-core-3.2.6.jar:na]  at com.atlassian.stash.internal.plugin.ClusteredPluginController.installPlugins(ClusteredPluginController.java:95) [stash-platform-3.2.4.jar:na]  at com.atlassian.upm.core.install.PluginArtifactInstallerImpl$1.doInTransaction(PluginArtifactInstallerImpl.java:55) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.install.PluginArtifactInstallerImpl$1.doInTransaction(PluginArtifactInstallerImpl.java:50) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) [sal-core-2.12.1.jar:na]  at com.atlassian.stash.internal.sal.spi.HostContextAccessorImpl.doInTransaction(HostContextAccessorImpl.java:27) [stash-platform-3.2.4.jar:na]  at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) [sal-core-2.12.1.jar:na]  at com.atlassian.upm.core.install.PluginArtifactInstallerImpl.installPlugins(PluginArtifactInstallerImpl.java:49) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.install.AbstractPluginInstallHandler.installSingleArtifact(AbstractPluginInstallHandler.java:94) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.install.JarPluginInstallHandler.installPluginInternal(JarPluginInstallHandler.java:47) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.install.AbstractPluginInstallHandler.installPlugin(AbstractPluginInstallHandler.java:48) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:111) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:87) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:94) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.rest.resources.install.InstallTask.installFromFile(InstallTask.java:123) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.rest.resources.install.InstallFromFileTask.executeTask(InstallFromFileTask.java:38) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:60) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:34) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:78) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:73) [atlassian-universal-plugin-manager-plugin-2.17.8_1408626918000.jar:na]  at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:42) [sal-core-2.12.1.jar:na]  at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.7.0_55]  at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_55]  at java.lang.Thread.run(Unknown Source) [na:1.7.0_55]  ... 100 frames trimmed Caused by: java.lang.ClassNotFoundException: com.atlassian.stash.idx.CommitIndex  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720) ~[catalina.jar:7.0.54]  ... 42 common frames omitted

2 answers

I am having the same problem as well. Any ideas on how to resolve?

"POST /rest/plugins/1.0/ HTTP/1.1" c.a.p.manager.DefaultPluginManager There was an error loading the descriptor 'Merge check' of plugin 'com.lb.software.stash.jira.connector.lb-software-stash-jira-connector'. Disabling.
java.lang.NoClassDefFoundError: com/atlassian/stash/idx/CommitIndex
	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_60]
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[na:1.8.0_60]
	at java.lang.Class.getConstructors(Class.java:1651) ~[na:1.8.0_60]
	at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_60]
	at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32) ~[ClassPrefixModuleFactory.class:na]
0 votes
Nick Wade Atlassian Team Nov 24, 2015

Hi @Michael Mowry and @Sam Lee, 

This is a supported plugin - can you ask the vendor for assistance directly? I'm sure you'll get a much quicker response: 

https://marketplace.atlassian.com/plugins/com.lb.software.stash.jira.connector.lb-software-stash-jira-connector/server/support

Thanks! -nick wade
Head of Ecosystem 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

442 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you