Project

General

Profile

Bug #8586

Server Startup Fail : WARNING: Can't load the admin script file: scripts/admin/ForceLicenceRetrieval.groovy

Added by 達人 劉 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Database:
MongoDB
Applicable version:
8.0.0-RC1
Source Code Disclaimer:

Description

componentInfo{Title=Tigase XML Tools, Version=4.0.0-b267/e1b03b84(2018-10-16/17:25:46), Class=tigase.xml.XMLUtils}
componentInfo{Title=Tigase Utils, Version=4.0.0-b381/464620bc(2018-10-16/17:31:38), Class=tigase.util.ClassUtil}
componentInfo{Title=Tigase XMPP Server, Version=8.0.0-RC1, Class=tigase.server.XMPPServer}
2019-02-08 20:57:35.757 [main]             ConfiguratorAbstract.parseArgs()        CONFIG:   Setting defaults: -c = /etc/tigase/tigase-server.xml
2019-02-08 20:57:35.806 [main]             OldConfigHolder.detectPathAndFormat()   FINEST:   No property file not specified! Using default one etc/init.properties
2019-02-08 20:57:35.807 [main]             OldConfigHolder.detectPathAndFormat()   FINEST:   Provided property file /home/tigase-server-8.0.0-RC1-b9961/etc/init.properties does NOT EXISTS! Trying to use default one etc/init.properties
2019-02-08 20:57:35.812 [main]             ConfigHolder.loadFromDSLFiles()         CONFIG:   Loading configuration from file: etc/config.tdsl
2019-02-08 20:57:35.839 [main]             ConfigHolder.loadConfiguration()        CONFIG:   Loaded configuration:
'config-type' = 'default'
'default-virtual-host' = 'im-2.dajinsoft.com'
dataSource {
    default () {
        uri = 'mongodb://root:djs1234qwer@172.16.1.105/Tigase'
    }
}
userRepository {
    default () {}
}
authRepository {
    default () {}
}
http () {
    setup () {
        'admin-password' = 'tigase'
        'admin-user' = 'admin'
    }
}

20:57:37.120 [ForkJoinPool-1-worker-3] INFO  org.mongodb.driver.cluster - Cluster created with settings {hosts=[172.16.1.105:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
20:57:37.146 [ForkJoinPool-1-worker-3] DEBUG org.mongodb.driver.cluster - Updating cluster description to  {type=UNKNOWN, servers=[{address=172.16.1.105:27017, type=UNKNOWN, state=CONNECTING}]
20:57:37.291 [cluster-ClusterId{value='5c5d7cc1e5a42828fc22de66', description='null'}-172.16.1.105:27017] INFO  org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:285}] to 172.16.1.105:27017
20:57:37.291 [cluster-ClusterId{value='5c5d7cc1e5a42828fc22de66', description='null'}-172.16.1.105:27017] DEBUG org.mongodb.driver.cluster - Checking status of 172.16.1.105:27017
20:57:37.293 [cluster-ClusterId{value='5c5d7cc1e5a42828fc22de66', description='null'}-172.16.1.105:27017] INFO  org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=172.16.1.105:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 22]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, roundTripTimeNanos=823294}
20:57:37.294 [cluster-ClusterId{value='5c5d7cc1e5a42828fc22de66', description='null'}-172.16.1.105:27017] DEBUG org.mongodb.driver.cluster - Updating cluster description to  {type=STANDALONE, servers=[{address=172.16.1.105:27017, type=STANDALONE, roundTripTime=0.8 ms, state=CONNECTED}]
2019-02-08 20:57:37.328 [main]             DNSResolverDefault.<init>()             WARNING:  Resolving default host name: localhost took: 1
20:57:37.431 [ForkJoinPool-2-worker-3] INFO  org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:286}] to 172.16.1.105:27017
20:57:37.435 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {find : BsonString{value='tig_schema_versions'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.438 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.441 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.442 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.443 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=8399603510}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.444 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.444 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.445 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.445 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=7479706682}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.446 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.453 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_user_credentials'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.454 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.455 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.456 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.456 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=4893695178}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.456 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.457 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.458 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.458 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.459 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.459 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.460 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.460 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.461 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.464 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {count : BsonString{value='tig_users'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.464 [ForkJoinPool-2-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.469 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {count : BsonString{value='tig_users'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.470 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.474 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {find : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.475 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.482 [main] DEBUG org.mongodb.driver.protocol.update - Updating documents in namespace Tigase.tig_nodes on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.486 [main] DEBUG org.mongodb.driver.protocol.update - Update completed
20:57:37.508 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {find : BsonString{value='tig_schema_versions'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.509 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.509 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.510 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.511 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=8581412127}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.512 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.512 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_offline_messages'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.512 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.513 [main] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_offline_messages'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.513 [main] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.549 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {find : BsonString{value='tig_schema_versions'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.550 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.550 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.551 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.551 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=5186847665}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.552 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.552 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.553 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.553 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=4613497786}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.554 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.554 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_user_credentials'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.555 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.555 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {listCollections : BsonInt32{value=1}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.556 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.556 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {getMore : BsonInt64{value=5635613859}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.557 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.557 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.558 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.558 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.559 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.559 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.559 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.560 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {createIndexes : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.560 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
20:57:37.560 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Sending command {count : BsonString{value='tig_users'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:37.561 [ForkJoinPool-3-worker-3] DEBUG org.mongodb.driver.protocol.command - Command execution completed
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/home/tigase-server-8.0.0-RC1-b9961/jars/groovy.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.vmplugin.v7.Java7$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-02-08 20:57:37.745 [main]             BasicComponent.loadScripts()            WARNING:  Can't load the admin script file: scripts/admin/ForceLicenceRetrieval.groovy
javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during semantic analysis: java.lang.UnsupportedOperationException

java.lang.UnsupportedOperationException
    at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
    at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:83)
    at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:254)
    at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:192)
    at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:172)
    at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:128)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:59)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:46)
    at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.configureClass(ClassSignatureParser.java:40)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitSupers(DecompiledClassNode.java:182)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getGenericsTypes(DecompiledClassNode.java:79)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:129)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:123)
    at org.codehaus.groovy.control.GenericsVisitor.visitDeclarationExpression(GenericsVisitor.java:102)
    at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:89)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:122)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:197)
    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    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.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:132)
    at org.codehaus.groovy.control.GenericsVisitor.visitMethod(GenericsVisitor.java:89)
    at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1103)
    at org.codehaus.groovy.control.GenericsVisitor.visitClass(GenericsVisitor.java:63)
    at org.codehaus.groovy.control.CompilationUnit$4.call(CompilationUnit.java:213)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1087)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.setScriptsBaseDir(BasicComponent.java:743)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:843)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)

1 error

    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:187)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.setScriptsBaseDir(BasicComponent.java:743)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:843)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during semantic analysis: java.lang.UnsupportedOperationException

java.lang.UnsupportedOperationException
    at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
    at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:83)
    at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:254)
    at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:192)
    at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:172)
    at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:128)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:59)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:46)
    at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.configureClass(ClassSignatureParser.java:40)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitSupers(DecompiledClassNode.java:182)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getGenericsTypes(DecompiledClassNode.java:79)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:129)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:123)
    at org.codehaus.groovy.control.GenericsVisitor.visitDeclarationExpression(GenericsVisitor.java:102)
    at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:89)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:122)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:197)
    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    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.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:132)
    at org.codehaus.groovy.control.GenericsVisitor.visitMethod(GenericsVisitor.java:89)
    at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1103)
    at org.codehaus.groovy.control.GenericsVisitor.visitClass(GenericsVisitor.java:63)
    at org.codehaus.groovy.control.CompilationUnit$4.call(CompilationUnit.java:213)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1087)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.setScriptsBaseDir(BasicComponent.java:743)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:843)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)

1 error

    at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:311)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1107)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.setScriptsBaseDir(BasicComponent.java:743)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:843)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)
2019-02-08 20:57:37.767 [main]             BasicComponent.loadScripts()            WARNING:  Can't load the admin script file: scripts/admin/ForceLicenceRetrieval.groovy
javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during semantic analysis: java.lang.UnsupportedOperationException

java.lang.UnsupportedOperationException
    at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
    at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:83)
    at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:254)
    at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:192)
    at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:172)
    at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:128)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:59)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:46)
    at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.configureClass(ClassSignatureParser.java:40)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitSupers(DecompiledClassNode.java:182)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getGenericsTypes(DecompiledClassNode.java:79)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:129)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:123)
    at org.codehaus.groovy.control.GenericsVisitor.visitDeclarationExpression(GenericsVisitor.java:102)
    at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:89)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:122)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:197)
    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    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.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:132)
    at org.codehaus.groovy.control.GenericsVisitor.visitMethod(GenericsVisitor.java:89)
    at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1103)
    at org.codehaus.groovy.control.GenericsVisitor.visitClass(GenericsVisitor.java:63)
    at org.codehaus.groovy.control.CompilationUnit$4.call(CompilationUnit.java:213)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1087)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:844)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)

1 error

    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:187)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:844)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during semantic analysis: java.lang.UnsupportedOperationException

java.lang.UnsupportedOperationException
    at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
    at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:83)
    at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:254)
    at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:192)
    at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:172)
    at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:128)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClassNullable(AsmReferenceResolver.java:59)
    at org.codehaus.groovy.ast.decompiled.AsmReferenceResolver.resolveClass(AsmReferenceResolver.java:46)
    at org.codehaus.groovy.ast.decompiled.ClassSignatureParser.configureClass(ClassSignatureParser.java:40)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.lazyInitSupers(DecompiledClassNode.java:182)
    at org.codehaus.groovy.ast.decompiled.DecompiledClassNode.getGenericsTypes(DecompiledClassNode.java:79)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:129)
    at org.codehaus.groovy.control.GenericsVisitor.checkGenericsUsage(GenericsVisitor.java:123)
    at org.codehaus.groovy.control.GenericsVisitor.visitDeclarationExpression(GenericsVisitor.java:102)
    at org.codehaus.groovy.ast.expr.DeclarationExpression.visit(DeclarationExpression.java:89)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitExpressionStatement(CodeVisitorSupport.java:122)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitExpressionStatement(ClassCodeVisitorSupport.java:197)
    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    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.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:132)
    at org.codehaus.groovy.control.GenericsVisitor.visitMethod(GenericsVisitor.java:89)
    at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1103)
    at org.codehaus.groovy.control.GenericsVisitor.visitClass(GenericsVisitor.java:63)
    at org.codehaus.groovy.control.CompilationUnit$4.call(CompilationUnit.java:213)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1087)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:844)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)

1 error

    at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:311)
    at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1107)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:631)
    at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:609)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:586)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:844)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.injectDependencies(Kernel.java:1267)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:131)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)
Loading component: vhost-man :: componentInfo{Title=Tigase XMPP Server, Version=8.0.0-RC1, Class=tigase.vhosts.VHostManager}
2019-02-08 20:57:38.041 [main]             ThreadExceptionHandler.uncaughtException()  SEVERE: Uncaught thread: "main" exception
BUG! exception in phase 'semantic analysis' in source unit 'Script3.groovy' null
    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:972)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:633)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:582)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.setScriptsBaseDir(BasicComponent.java:743)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:843)
    at tigase.server.MessageRouter.initialize(MessageRouter.java:247)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)
Caused by: java.lang.UnsupportedOperationException
    at groovyjarjarasm.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:651)
    at groovyjarjarasm.asm.ClassReader.accept(ClassReader.java:391)
    at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:83)
    at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:254)
    at org.codehaus.groovy.control.ClassNodeResolver.tryAsLoaderClassOrScript(ClassNodeResolver.java:192)
    at org.codehaus.groovy.control.ClassNodeResolver.findClassNode(ClassNodeResolver.java:172)
    at org.codehaus.groovy.control.ClassNodeResolver.resolveName(ClassNodeResolver.java:128)
    at org.codehaus.groovy.control.ResolveVisitor.resolveToOuter(ResolveVisitor.java:744)
    at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:394)
    at org.codehaus.groovy.control.ResolveVisitor.resolveFromDefaultImports(ResolveVisitor.java:522)
    at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:392)
    at org.codehaus.groovy.control.ResolveVisitor.resolve(ResolveVisitor.java:355)
    at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:339)
    at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:351)
    at org.codehaus.groovy.control.ResolveVisitor.transformConstructorCallExpression(ResolveVisitor.java:1141)
    at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:774)
    at org.codehaus.groovy.control.ResolveVisitor.transformDeclarationExpression(ResolveVisitor.java:1181)
    at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:766)
    at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:144)
    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1430)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    at org.codehaus.groovy.control.ResolveVisitor.transformClosureExpression(ResolveVisitor.java:1134)
    at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:772)
    at org.codehaus.groovy.ast.expr.Expression.transformExpressions(Expression.java:51)
    at org.codehaus.groovy.ast.expr.ArgumentListExpression.transformExpression(ArgumentListExpression.java:69)
    at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:779)
    at org.codehaus.groovy.control.ResolveVisitor.transformMethodCallExpression(ResolveVisitor.java:1154)
    at org.codehaus.groovy.control.ResolveVisitor.transform(ResolveVisitor.java:770)
    at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitExpressionStatement(ClassCodeExpressionTransformer.java:144)
    at org.codehaus.groovy.ast.stmt.ExpressionStatement.visit(ExpressionStatement.java:42)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1430)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitCaseStatement(ClassCodeExpressionTransformer.java:116)
    at org.codehaus.groovy.ast.stmt.CaseStatement.visit(CaseStatement.java:57)
    at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitSwitch(ClassCodeExpressionTransformer.java:62)
    at org.codehaus.groovy.ast.stmt.SwitchStatement.visit(SwitchStatement.java:55)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1430)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitIfElse(ClassCodeExpressionTransformer.java:85)
    at org.codehaus.groovy.ast.stmt.IfStatement.visit(IfStatement.java:43)
    at org.codehaus.groovy.ast.ClassCodeExpressionTransformer.visitIfElse(ClassCodeExpressionTransformer.java:85)
    at org.codehaus.groovy.ast.stmt.IfStatement.visit(IfStatement.java:43)
    at org.codehaus.groovy.ast.CodeVisitorSupport.visitBlockStatement(CodeVisitorSupport.java:88)
    at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitBlockStatement(ClassCodeVisitorSupport.java:106)
    at org.codehaus.groovy.control.ResolveVisitor.visitBlockStatement(ResolveVisitor.java:1430)
    at org.codehaus.groovy.ast.stmt.BlockStatement.visit(BlockStatement.java:71)
    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:55)
    at org.codehaus.groovy.control.ResolveVisitor.visitConstructorOrMethod(ResolveVisitor.java:249)
    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:1375)
    at org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:222)
    at org.codehaus.groovy.control.CompilationUnit$13.call(CompilationUnit.java:691)
    at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:968)
    at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:633)
    at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:582)
    at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:354)
    at groovy.lang.GroovyClassLoader.access$300(GroovyClassLoader.java:87)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:323)
    at groovy.lang.GroovyClassLoader$5.provide(GroovyClassLoader.java:320)
    at org.codehaus.groovy.runtime.memoize.ConcurrentCommonCache.getAndPut(ConcurrentCommonCache.java:147)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:318)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:307)
    at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:249)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.getScriptClass(GroovyScriptEngineImpl.java:335)
    at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.compile(GroovyScriptEngineImpl.java:185)
    at tigase.server.script.Script.init(Script.java:82)
    at tigase.server.script.AddScriptCommand.addAdminScript(AddScriptCommand.java:49)
    at tigase.server.BasicComponent.loadScripts(BasicComponent.java:1021)
    at tigase.server.BasicComponent.reloadScripts(BasicComponent.java:891)
    at tigase.server.BasicComponent.setScriptsBaseDir(BasicComponent.java:743)
    at tigase.server.BasicComponent.initialize(BasicComponent.java:843)
    at tigase.server.MessageRouter.initialize(MessageRouter.java:247)
    at tigase.kernel.core.Kernel.initBean(Kernel.java:136)
    at tigase.kernel.core.Kernel.getInstance(Kernel.java:303)
    at tigase.server.Bootstrap.start(Bootstrap.java:326)
    at tigase.server.XMPPServer.start(XMPPServer.java:184)
    at tigase.server.XMPPServer.main(XMPPServer.java:138)
20:57:42.488 [hostnames] DEBUG org.mongodb.driver.protocol.command - Sending command {find : BsonString{value='tig_nodes'}} to database Tigase on connection [connectionId{localValue:2, serverValue:286}] to server 172.16.1.105:27017
20:57:42.490 [hostnames] DEBUG org.mongodb.driver.protocol.command - Command execution completed

Associated revisions

Revision eb441391 (diff)
Added by Wojciech Kapcia 2 months ago

#8586 update groovy version to fix the problem with script compilation

History

#1 Avatar?id=6023&size=24x24 Updated by Artur Hefczyc TigaseTeam 2 months ago

  • Assignee set to Wojciech Kapcia

#2 Updated by 達人 劉 2 months ago

I use java-8 instead of java 9, and the issue has been solved

#3 Updated by Wojciech Kapcia TigaseTeam 2 months ago

  • Description updated (diff)
  • Status changed from New to In Progress

#4 Updated by Wojciech Kapcia TigaseTeam 2 months ago

  • Status changed from In Progress to Closed
  • Target version changed from tigase-server-8.0.0rc1 to tigase-server-8.0.0
  • % Done changed from 0 to 100
  • Applicable version changed from 8.0.0 to 8.0.0-RC1

Issue was caused by https://issues.apache.org/jira/browse/GROOVY-8727. Upgrading groovy to 2.5.6 solved the issue. Thank you 達人 劉 !

Also available in: Atom PDF