We are getting below error while enabling/Installing Script runner plugin.
2017-02-20 19:16:29,241 ThreadPoolAsyncTaskExecutor::Thread 51 ERROR gargp1 1077x2299x4 1onddlq 10.52.214.245 /rest/plugins/1.0/available/featured [o.e.g.b.e.i.util.concurrent.RunnableTimedExecution] Closing runnable for context NonValidatingOsgiBundleXmlApplicationContext(bundle=com.onresolve.jira.groovy.groovyrunner, config=osgibundle:/META-INF/spring/*.xml) did not finish in 10000ms; consider taking a snapshot and then shutdown the VM in case the thread still hangs
2017-02-20 19:16:29,281 ThreadPoolAsyncTaskExecutor::Thread 51 ERROR gargp1 1077x2299x4 1onddlq 10.52.214.245 /rest/plugins/1.0/available/featured [o.e.g.b.e.internal.support.ExtenderConfiguration] Application context refresh failed (NonValidatingOsgiBundleXmlApplicationContext(bundle=com.onresolve.jira.groovy.groovyrunner, config=osgibundle:/META-INF/spring/*.xml))
java.lang.VerifyError: Stack map does not match the one at exception handler 761
Exception Details:
Location:
com/onresolve/scriptrunner/runner/ScriptRunnerImpl.getRelativePathInScriptRoots(Ljava/io/File;)Ljava/lang/String; @761: dup
Reason:
Type top (current frame, locals[0]) is not assignable to 'com/onresolve/scriptrunner/runner/ScriptRunnerImpl' (stack map, locals[0])
Current Frame:
bci: @759
flags: { }
locals: { top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }
stack: { 'java/lang/Throwable' }
Stackmap Frame:
bci: @761
flags: { }
locals: { 'com/onresolve/scriptrunner/runner/ScriptRunnerImpl', 'java/io/File', top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }
stack: { 'java/lang/Throwable' }
Bytecode:
0x0000000: 1306 c7b8 06ba 3a16 b800 514d 014e 2d57
0x0000010: 2c13 01e1 322c 1301 e232 2bb9 01e5 0200
0x0000020: 1301 e713 01e9 b901 ec04 003a 0419 0457
0x0000030: 2c13 01ed 322a b401 ef19 04b9 00cf 0300
0x0000040: b801 2099 001a 1904 b800 d3c0 00d5 3a05
0x0000050: 0000 1905 1916 b906 c001 0000 b0a7 0009
0x0000060: 3a06 00a7 0003 00a7 0008 3a07 1907 bfb2
0x0000070: 00af 9a00 0cb8 0075 9a00 06a7 013c 013a
0x0000080: 082c 1301 f232 2c13 01f3 322a b900 7c02
0x0000090: 00b9 00cc 0200 1301 f5b8 0069 c001 f53a
0x00000a0: 0919 09b9 01f8 0100 9901 0c19 09b9 01fc
0x00000b0: 0100 3a08 2c13 01fd 322b b900 f302 00b8
0x00000c0: 00d3 c000 d53a 0a19 0a57 2c13 01fe 322c
0x00000d0: 1301 ff32 1301 7919 0812 d5b8 019b c000
0x00000e0: d512 d5b8 019f b901 0303 00b9 00f3 0200
0x00000f0: b800 d3c0 00d5 3a0b 190b 572c 1302 0032
0x0000100: 190a 190b b900 cf03 00b8 0120 9900 6a2c
0x0000110: 1302 0132 190a 190b 1301 4db9 00bc 0400
0x0000120: 3a0c 190c b800 d3c0 00d5 4e19 0c57 2c13
0x0000130: 0202 322d 1301 e713 01e9 b900 bc04 003a
0x0000140: 0d19 0db8 00d3 c000 d54e 190d 572c 1302
0x0000150: 0332 2d13 0205 1301 4db9 00bc 0400 3a0e
0x0000160: 190e b800 d3c0 00d5 4e19 0e57 2d19 16b9
0x0000170: 06c0 0100 00b0 2c13 0206 322c 1302 0732
0x0000180: 1301 7919 0b2c 1302 0832 2bb9 00f3 0200
0x0000190: b902 0a04 00b9 00cc 0200 b801 2099 0014
0x00001a0: 1904 b800 d3c0 00d5 1916 b906 c001 0000
0x00001b0: b0a7 fef0 a701 3301 3a0f 2c13 020b 3219
0x00001c0: 00b6 020f b900 cc02 0013 01f5 b800 69c0
0x00001d0: 01f5 3a10 1910 b901 f801 0099 010c 1910
0x00001e0: b901 fc01 003a 0f2c 1302 1032 2bb9 00f3
0x00001f0: 0200 b800 d3c0 00d5 3a11 1911 572c 1302
0x0000200: 1132 2c13 0212 3213 0179 190f 12d5 b801
0x0000210: 9bc0 00d5 12d5 b801 9fb9 0103 0300 b900
0x0000220: f302 00b8 00d3 c000 d53a 1219 1257 2c13
0x0000230: 0213 3219 1119 12b9 00cf 0300 b801 2099
0x0000240: 006a 2c13 0214 3219 1119 1213 014d b900
0x0000250: bc04 003a 1319 13b8 00d3 c000 d54e 1913
0x0000260: 572c 1302 1532 2d13 01e7 1301 e9b9 00bc
0x0000270: 0400 3a14 1914 b800 d3c0 00d5 4e19 1457
0x0000280: 2c13 0216 322d 1302 0513 014d b900 bc04
0x0000290: 003a 1519 15b8 00d3 c000 d54e 1915 572d
0x00002a0: 1916 b906 c001 0000 b02c 1302 1732 2c13
0x00002b0: 0218 3213 0179 1912 2c13 0219 322b b900
0x00002c0: f302 00b9 020a 0400 b900 cc02 00b8 0120
0x00002d0: 9900 1419 04b8 00d3 c000 d519 16b9 06c0
0x00002e0: 0100 00b0 a7fe f001 b800 d3c0 00d5 1916
0x00002f0: b906 c001 0000 b000 bf59 1916 5fb9 06b4
0x0000300: 0200 1916 b906 c001 00bf
Exception Handler Table:
bci [48, 81] => handler: 96
bci [82, 96] => handler: 96
bci [48, 81] => handler: 106
bci [82, 96] => handler: 106
bci [96, 99] => handler: 106
bci [8, 761] => handler: 761
Stackmap Table:
full_frame(@93,{Object[#2],Object[#1743],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
same_locals_1_stack_item_frame(@96,Object[#497])
same_frame(@102)
same_locals_1_stack_item_frame(@106,Object[#160])
same_frame(@111)
same_frame(@126)
full_frame(@161,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Object[#4],Object[#501],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@374,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Object[#4],Object[#501],Object[#213],Object[#213],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
same_frame(@433)
full_frame(@436,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Object[#4],Object[#501],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@439,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@468,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#4],Object[#501],Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@681,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#4],Object[#501],Object[#213],Object[#213],Top,Top,Top,Object[#1724]},{})
same_frame(@740)
full_frame(@743,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@759,{Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{Object[#160]})
full_frame(@761,{Object[#2],Object[#1743],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{Object[#1745]})
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructors(Class.java:1651)
at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:518)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1040)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-02-20 19:16:29,285 ThreadPoolAsyncTaskExecutor::Thread 51 ERROR gargp1 1077x2299x4 1onddlq 10.52.214.245 /rest/plugins/1.0/available/featured [o.e.g.b.e.i.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [com.onresolve.jira.groovy.groovyrunner], unsatisfied dependencies: none
java.lang.VerifyError: Stack map does not match the one at exception handler 761
Exception Details:
Location:
com/onresolve/scriptrunner/runner/ScriptRunnerImpl.getRelativePathInScriptRoots(Ljava/io/File;)Ljava/lang/String; @761: dup
Reason:
Type top (current frame, locals[0]) is not assignable to 'com/onresolve/scriptrunner/runner/ScriptRunnerImpl' (stack map, locals[0])
Current Frame:
bci: @759
flags: { }
locals: { top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }
stack: { 'java/lang/Throwable' }
Stackmap Frame:
bci: @761
flags: { }
locals: { 'com/onresolve/scriptrunner/runner/ScriptRunnerImpl', 'java/io/File', top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, top, 'com/wily/introscope/agent/trace/IMethodTracer' }
stack: { 'java/lang/Throwable' }
Bytecode:
0x0000000: 1306 c7b8 06ba 3a16 b800 514d 014e 2d57
0x0000010: 2c13 01e1 322c 1301 e232 2bb9 01e5 0200
0x0000020: 1301 e713 01e9 b901 ec04 003a 0419 0457
0x0000030: 2c13 01ed 322a b401 ef19 04b9 00cf 0300
0x0000040: b801 2099 001a 1904 b800 d3c0 00d5 3a05
0x0000050: 0000 1905 1916 b906 c001 0000 b0a7 0009
0x0000060: 3a06 00a7 0003 00a7 0008 3a07 1907 bfb2
0x0000070: 00af 9a00 0cb8 0075 9a00 06a7 013c 013a
0x0000080: 082c 1301 f232 2c13 01f3 322a b900 7c02
0x0000090: 00b9 00cc 0200 1301 f5b8 0069 c001 f53a
0x00000a0: 0919 09b9 01f8 0100 9901 0c19 09b9 01fc
0x00000b0: 0100 3a08 2c13 01fd 322b b900 f302 00b8
0x00000c0: 00d3 c000 d53a 0a19 0a57 2c13 01fe 322c
0x00000d0: 1301 ff32 1301 7919 0812 d5b8 019b c000
0x00000e0: d512 d5b8 019f b901 0303 00b9 00f3 0200
0x00000f0: b800 d3c0 00d5 3a0b 190b 572c 1302 0032
0x0000100: 190a 190b b900 cf03 00b8 0120 9900 6a2c
0x0000110: 1302 0132 190a 190b 1301 4db9 00bc 0400
0x0000120: 3a0c 190c b800 d3c0 00d5 4e19 0c57 2c13
0x0000130: 0202 322d 1301 e713 01e9 b900 bc04 003a
0x0000140: 0d19 0db8 00d3 c000 d54e 190d 572c 1302
0x0000150: 0332 2d13 0205 1301 4db9 00bc 0400 3a0e
0x0000160: 190e b800 d3c0 00d5 4e19 0e57 2d19 16b9
0x0000170: 06c0 0100 00b0 2c13 0206 322c 1302 0732
0x0000180: 1301 7919 0b2c 1302 0832 2bb9 00f3 0200
0x0000190: b902 0a04 00b9 00cc 0200 b801 2099 0014
0x00001a0: 1904 b800 d3c0 00d5 1916 b906 c001 0000
0x00001b0: b0a7 fef0 a701 3301 3a0f 2c13 020b 3219
0x00001c0: 00b6 020f b900 cc02 0013 01f5 b800 69c0
0x00001d0: 01f5 3a10 1910 b901 f801 0099 010c 1910
0x00001e0: b901 fc01 003a 0f2c 1302 1032 2bb9 00f3
0x00001f0: 0200 b800 d3c0 00d5 3a11 1911 572c 1302
0x0000200: 1132 2c13 0212 3213 0179 190f 12d5 b801
0x0000210: 9bc0 00d5 12d5 b801 9fb9 0103 0300 b900
0x0000220: f302 00b8 00d3 c000 d53a 1219 1257 2c13
0x0000230: 0213 3219 1119 12b9 00cf 0300 b801 2099
0x0000240: 006a 2c13 0214 3219 1119 1213 014d b900
0x0000250: bc04 003a 1319 13b8 00d3 c000 d54e 1913
0x0000260: 572c 1302 1532 2d13 01e7 1301 e9b9 00bc
0x0000270: 0400 3a14 1914 b800 d3c0 00d5 4e19 1457
0x0000280: 2c13 0216 322d 1302 0513 014d b900 bc04
0x0000290: 003a 1519 15b8 00d3 c000 d54e 1915 572d
0x00002a0: 1916 b906 c001 0000 b02c 1302 1732 2c13
0x00002b0: 0218 3213 0179 1912 2c13 0219 322b b900
0x00002c0: f302 00b9 020a 0400 b900 cc02 00b8 0120
0x00002d0: 9900 1419 04b8 00d3 c000 d519 16b9 06c0
0x00002e0: 0100 00b0 a7fe f001 b800 d3c0 00d5 1916
0x00002f0: b906 c001 0000 b000 bf59 1916 5fb9 06b4
0x0000300: 0200 1916 b906 c001 00bf
Exception Handler Table:
bci [48, 81] => handler: 96
bci [82, 96] => handler: 96
bci [48, 81] => handler: 106
bci [82, 96] => handler: 106
bci [96, 99] => handler: 106
bci [8, 761] => handler: 761
Stackmap Table:
full_frame(@93,{Object[#2],Object[#1743],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
same_locals_1_stack_item_frame(@96,Object[#497])
same_frame(@102)
same_locals_1_stack_item_frame(@106,Object[#160])
same_frame(@111)
same_frame(@126)
full_frame(@161,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Object[#4],Object[#501],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@374,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Object[#4],Object[#501],Object[#213],Object[#213],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
same_frame(@433)
full_frame(@436,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Object[#4],Object[#501],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@439,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@468,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#4],Object[#501],Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@681,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#4],Object[#501],Object[#213],Object[#213],Top,Top,Top,Object[#1724]},{})
same_frame(@740)
full_frame(@743,{Object[#2],Object[#377],Object[#164],Null,Object[#4],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{})
full_frame(@759,{Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{Object[#160]})
full_frame(@761,{Object[#2],Object[#1743],Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Top,Object[#1724]},{Object[#1745]})
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
at java.lang.Class.getConstructors(Class.java:1651)
at org.springframework.beans.factory.support.AbstractBeanDefinition.getResolvedAutowireMode(AbstractBeanDefinition.java:518)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1040)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
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:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Can you please help us in fixing the same
Script Runner Version: 4.3.16
JIRA Version: 7.2.3
This is normally caused by app monitoring tools that rewrite bytecode - please see https://productsupport.adaptavist.com/browse/SRPLAT-2
If possible can you disable the tool, possibly on a staging instance, so we can confirm the cause.
Have you tried reinstalling ScriptRunner? Do you still get this error?
If you haven't already done so try opening a support request through our portal so we can investigate this further for you: https://productsupport.adaptavist.com/servicedesk/customer/portal/2
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.