Skip to content

Severe Skript error (script loader thread size: 2) #4579

@ImNotStable

Description

@ImNotStable

Skript/Server Version

Server Version: git-Paper-184 (MC: 1.18.1)
Skript Version: 2.6.1
Installed Skript Addons: None
Installed dependencies: None

Bug Description

It's just says the error when the server loads but if I reload the Skript it works fine

I believe it's an issue with 'script loader thread size: 2' because it only appears with that I've tried using 0 and I haven't gotten that error

Expected Behavior

This error isn't supposed to happen

Steps to Reproduce

Skript is here: https://pastehub.net/ff8f9be3b1c
Skript Config is here: https://pastehub.net/ff9039a0671

Errors or Screenshots

[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! [Skript] Severe Error:
[03:04:33 ERROR]: #!#! Could not load collatz.sk
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Something went horribly wrong with Skript.
[03:04:33 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[03:04:33 ERROR]: #!#! You should report it at https://github.com/SkriptLang/Skript/issues. Please copy paste this report there (or use paste service).
[03:04:33 ERROR]: #!#! This ensures that your issue is noticed and will be fixed as soon as possible.
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Stack trace:
[03:04:33 ERROR]: #!#! java.util.ConcurrentModificationException
[03:04:33 ERROR]: #!#!     at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1221)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1301)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:226)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.EffectSection.lambda$parse$1(EffectSection.java:79)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.EffectSection.parse(EffectSection.java:78)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.lang.Statement.parse(Statement.java:42)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1113)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.command.Commands.loadCommand(Commands.java:489)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:707)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.ScriptLoader.lambda$loadScripts$4(ScriptLoader.java:525)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:417)
[03:04:33 ERROR]: #!#!     at Skript-2.6.1.jar//ch.njol.skript.ScriptLoader$AsyncLoaderThread.run(ScriptLoader.java:367)
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Version Information:
[03:04:33 ERROR]: #!#!   Skript: 2.6.1 (latest)
[03:04:33 ERROR]: #!#!     Flavor: skriptlang-github
[03:04:33 ERROR]: #!#!     Date: 22:18:42.554713200
[03:04:33 ERROR]: #!#!   Bukkit: 1.18.1-R0.1-SNAPSHOT
[03:04:33 ERROR]: #!#!   Minecraft: 1.18.1
[03:04:33 ERROR]: #!#!   Java: 17.0.1 (Java HotSpot(TM) 64-Bit Server VM 17.0.1+12-LTS-39)
[03:04:33 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Server platform: Paper
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Current node: set {_now} to now (collatz.sk, line 6)
[03:04:33 ERROR]: #!#! Current item: null
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Thread: Thread-6
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! Language: english
[03:04:33 ERROR]: #!#! Link parse mode: DISABLED
[03:04:33 ERROR]: #!#!
[03:04:33 ERROR]: #!#! End of Error.
[03:04:33 ERROR]: #!#!

Other

I just think this is something that could affect things in the future i

Agreement

  • I have read the guidelines above and confirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.priority: mediumIssues that are detrimental to user experience (prohibitive bugs or lack of useful implementation).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions