WorklogPro not starting after updating to v2.31.0

Description

Just updated WorklogPro to v2.31.0 on my Jira Software Server v7.12.1 installation.

After updating the plugin, the plugin got disabled and I am unable to enable it again.

Looking at the atlasian-jira.log, I can see the following:

2018-09-22 17:09:29,538 ThreadPoolAsyncTaskExecutor::Thread 17 ERROR [c.a.p.osgi.factory.OsgiPlugin] Unable to start the plugin container for plugin 'com.deniz.jira.worklog'
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'wp-scripting-service' defined in URL [bundle://181.0:0/META-INF/spring/atlassian-plugins-components.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.deniz.jira.worklog.scripting.ScriptingService]: Constructor threw exception; nested exception is java.lang.IllegalAccessError: tried to access class groovy.lang.GroovyShell$1 from class groovy.lang.GroovyShell
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.deniz.jira.worklog.scripting.ScriptingService]: Constructor threw exception; nested exception is java.lang.IllegalAccessError: tried to access class groovy.lang.GroovyShell$1 from class groovy.lang.GroovyShell
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 18 more
Caused by: java.lang.IllegalAccessError: tried to access class groovy.lang.GroovyShell$1 from class groovy.lang.GroovyShell
at groovy.lang.GroovyShell.<init>(GroovyShell.java:79)
at com.deniz.jira.worklog.scripting.ScriptingService.<init>(SourceFile:24)
... 3 filtered
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 20 more

Environment

None

Priority

Blocker

Assignee

Deniz Oğuz

Reporter

Pall Bjornsson

Affects versions

Fix versions

Labels

None

Source

None

Jira Version

None

Database Type/Version

None

Browser Type/Version

None
Configure