Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groovy REPL: constructor tab completion failed: NoClassDefFoundError #568

Closed
mattirn opened this issue Sep 10, 2020 · 0 comments
Closed
Labels
Milestone

Comments

@mattirn
Copy link
Collaborator

mattirn commented Sep 10, 2020

Got an exception on constructor tab completion:

java.lang.NoClassDefFoundError: kotlin/jvm/functions/Function1
        at java.base/java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.base/java.lang.Class.privateGetDeclaredConstructors(Class.java:3138)
        at java.base/java.lang.Class.getConstructors(Class.java:1944)
        at org.jline.script.GroovyEngine$MethodCompleter.retrieveConstructors(GroovyEngine.java:737)
        at org.jline.script.GroovyEngine$MethodCompleter.complete(GroovyEngine.java:664)
        at org.jline.reader.impl.completer.AggregateCompleter.lambda$complete$0(AggregateCompleter.java:73)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at org.jline.reader.impl.completer.AggregateCompleter.complete(AggregateCompleter.java:73)
        at org.jline.reader.impl.completer.AggregateCompleter.lambda$complete$0(AggregateCompleter.java:73)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at org.jline.reader.impl.completer.AggregateCompleter.complete(AggregateCompleter.java:73)
        at org.jline.reader.impl.completer.AggregateCompleter.lambda$complete$0(AggregateCompleter.java:73)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
        at org.jline.reader.impl.completer.AggregateCompleter.complete(AggregateCompleter.java:73)
        at org.jline.reader.impl.LineReaderImpl.doComplete(LineReaderImpl.java:4394)
        at org.jline.reader.impl.LineReaderImpl.doComplete(LineReaderImpl.java:4360)
        at org.jline.reader.impl.LineReaderImpl.expandOrComplete(LineReaderImpl.java:4299)
        at org.jline.reader.impl.LineReaderImpl$1.apply(LineReaderImpl.java:3793)
        at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:665)
        at com.smo.sdn.executor.RestExecutor.main(RestExecutor.java:468)
Caused by: java.lang.ClassNotFoundException: kotlin.jvm.functions.Function1
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 20 more
@mattirn mattirn added the bug label Sep 10, 2020
@mattirn mattirn added this to the 3.16.1 milestone Sep 10, 2020
@mattirn mattirn mentioned this issue Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant