diniamo
01/31/2021, 10:25 PMVampire
01/31/2021, 10:27 PMVampire
01/31/2021, 10:28 PMdiniamo
02/01/2021, 7:57 AMdiniamo
02/01/2021, 9:06 AM<https://hastebin.de/akozacezuj.less>
Here is the whole stacktrace.
diniamo
02/01/2021, 9:13 AMopenjdk:11.0.9
, but I tried a few other JDK 11 ones.Vampire
02/01/2021, 10:08 AMScriptException
with message java.lang.NullPointerException
.
It is thrown at https://github.com/JetBrains/kotlin/blob/v1.4.21/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/repl/KotlinJsr223JvmScriptEngineBase.kt
So I guess you have some NPE in your script.
Maybe you can debug it and break when it happens to see where or to get a stack trace.diniamo
02/01/2021, 10:09 AMVampire
02/01/2021, 10:20 AMdiniamo
02/01/2021, 10:39 AMdiniamo
02/01/2021, 11:07 AMVampire
02/01/2021, 11:13 AMdiniamo
02/01/2021, 11:34 AMVampire
02/01/2021, 1:35 PMVampire
02/01/2021, 1:35 PMdiniamo
02/01/2021, 1:37 PMdiniamo
02/01/2021, 1:37 PMVampire
02/01/2021, 1:38 PMVampire
02/01/2021, 1:39 PMVampire
02/01/2021, 1:39 PMVampire
02/01/2021, 1:39 PMdiniamo
02/01/2021, 1:40 PMVampire
02/01/2021, 1:48 PMVampire
02/01/2021, 1:49 PMVampire
02/01/2021, 1:55 PM-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
And do an SSH connection using ssh -L 1234:localhost:5005 yourHost
Then you can use a "Remote JVM Debug" run configuration in IntelliJ that connects to localhost port 1234
.
It will then connect to the local port 1234
. On this port your SSH client listens and forwards on the remote end to localhost:5005
where your bot is waiting for a debugger.
You can also do ssh -L 5005:localhost:5005 yourHost
the different ports were just to better explain.diniamo
02/01/2021, 2:02 PMdiniamo
02/01/2021, 2:02 PMdiniamo
02/06/2021, 10:34 AM