Exalate blocking error - since Jira Upgrade
Asked by Daniel Schillig:

Hi,

Jira Service Management 5.12

Exalate 5.7.0-j8

Since we upgrade our Jira SM installation we got the following error:

**Exalate blocking error**

Exalate plugin is blocked from performing synchronization because of some blocking

---  

### Error Stack Trace {#toc-hId-2089350470}

java.util.concurrent.ExecutionException: Boxed Error at scala.concurrent.impl.Promise$.resolver(Promise.scala:87) at scala.concurrent.impl.Promise$.scala$concurrent$impl$Promise$$resolveTry(Promise.scala:79) at scala.concurrent.impl.Promise$KeptPromise$.apply(Promise.scala:406) at scala.concurrent.Promise$.fromTry(Promise.scala:142) at scala.concurrent.Future$.fromTry(Future.scala:640) at com.exalate.replication.services.replication.mapping.MappingService.executeOutScriptRule(MappingService.scala:361) at com.exalate.replication.services.replication.mapping.MappingService.$anonfun$send$4(MappingService.scala:92) at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307) at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64) at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63) at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85) at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48) at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source) at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) Caused by: BUG! exception in phase 'semantic analysis' in source unit 'Script934.groovy' Unsupported class file major version 61 at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:969) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:642) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:591) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:401) at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:89) at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:341) at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:338) at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:336) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:320) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:262) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:331) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:153) at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source) at com.exalate.processor.ExalateProcessor.execute(ExalateProcessor.java:96) at com.exalate.processor.ExalateProcessor.executeProcessor(ExalateProcessor.java:55) at com.exalate.replication.services.replication.mapping.MappingService.$anonfun$executeOutScriptRule$1(MappingService.scala:355) at scala.util.Try$.apply(Try.scala:213) at com.exalate.replication.services.replication.mapping.MappingService.executeOutScriptRule(MappingService.scala:353) ... 16 more Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 61 at groovyjarjarasm.asm.ClassReader.(ClassReader.java:196) at groovyjarjarasm.asm.ClassReader.(ClassReader.java:177) at groovyjarjarasm.asm.ClassReader.(ClassReader.java:163) at groovyjarjarasm.asm.ClassReader.(ClassReader.java:284) at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81) at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:251) at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:189) at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:169) at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:125) at org.codehaus.groovy.control.ResolveVisitor.resolveToOuter(ResolveVisitor.java:853) at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:467) at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:629) at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:612) at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:586) at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:465) at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:428) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:343) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:424) at org.codehaus.groovy.control.ResolveVisitor.visitCatchStatement(ResolveVisitor.java:1538) at org.codehaus.groovy.ast.stmt.CatchStatement.visit(CatchStatement.java:41) at org.codehaus.groovy.ast.CodeVisitorSupport.visitTryCatchFinally(CodeVisitorSupport.java:135) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitTryCatchFinally(ClassCodeVisitorSupport.java:232) at org.codehaus.groovy.ast.stmt.TryCatchStatement.visit(TryCatchStatement.java:42) at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:86) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106) at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1553) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.control.ResolveVisitor.transformClosureExpression(ResolveVisitor.java:1240) at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:881) at org.codehaus.groovy.control.ResolveVisitor.transformMethodCallExpression(ResolveVisitor.java:1266) at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:879) at org.codehaus.groovy.control.ResolveVisitor.transformDeclarationExpression(ResolveVisitor.java:1291) at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:875) at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:142) at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:40) at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:86) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106) at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1553) at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:69) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClassCodeContainer(ClassCodeVisitorSupport.java:110) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructorOrMethod(ClassCodeVisitorSupport.java:121) at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitConstructorOrMethod(ClassCodeExpressionTransformer.java:53) at org.codehaus.groovy.control.ResolveVisitor.visitConstructorOrMethod(ResolveVisitor.java:257) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:132) at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1103) at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:54) at org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:1465) at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:230) at org.codehaus.groovy.control.CompilationUnit$13.call(CompilationUnit.java:700) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:965) ... 34 more  
-----  
We already asked the Exalate support and did checks around the JAVA installation with no outcome.  
Is there somebody who could help with a hint what could cause this issue?  
Thank you!  
DS


Answers:
author: Nic Brough -Adaptavist-
body: This looks like Exalate may be calling a groovy script that is failing.

If, for example, you were using scriptrunner to provide a scripted field, and your code behind the field is no longer valid because of the upgrade, then when Exalate tries to read that field, you would get an error like this.

Do you have any apps that might be doing groovy scripts? If so, where are they configured? Do you get similar errors anywhere else?


author: Christophe De Beule
body: Hi [@Daniel Schillig](/t5/user/viewprofilepage/user-id/5108207)

I hope you are doing well.

Appologies for the delayed responce, for this specific issue I would suggest you create a support ticket via our [portal](https://exalate.atlassian.net/servicedesk/customer/portal/5/group/22).  

Thank you.

Kind regards,

Christophe De Beule


Tags: jira-service-management

jira-service-management-server

server