Jump to content

Script exception error when launching script


EmailSupport

Recommended Posts

Hello everyone!

I'm trying to create my very first script, but I've been running into a problem where I receive a script exception error whenever I launch it. I get the following error stack:

[15:14:56] [ERROR]    Script exception: Failed to create local session
[15:14:56] [ERROR]    java.lang.RuntimeException: Failed to create local session
    at org.tribot.x.TBB9.TBb(Unknown Source)
    at org.tribot.x.TBnK.TBm(Unknown Source)
    at org.tribot.x.TBL.TBL(Unknown Source)
    at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

I've tried following the steps as described in this tutorial 

but even when cloning the code from his GitHub, this error still persists which has given me the idea that the error must lie somewhere in my environment setup. At first I noticed that my system didn't run on Java 11 which after I did install but even that didn't solve my issue. Afterwards I double checked my project structure and my settings to see if I'm using the correct SDK for both my project and Gradle. It's using Temurin-11 'Eclipse Temurin 11.0.25'.

Does anyone have any clue where the issue might lie? You would be of great help to me!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...