Reloading Causes Error on 1.20.6 #6735
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
patch-ready
A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
Skript/Server Version
Bug Description
reloading any skript file gives me the error:
[11:20:01 ERROR]: Caught previously unhandled exception :
[11:20:01 ERROR]: Paper Async Command Builder Thread Pool - 0
java.util.ConcurrentModificationException: null
at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:1023) ~[?:?]
at java.base/java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:1052) ~[?:?]
at net.minecraft.commands.Commands.fillUsableCommands(Commands.java:536) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.commands.Commands.sendAsync(Commands.java:495) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.commands.Commands.lambda$sendCommands$6(Commands.java:474) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Expected Behavior
No Error
Steps to Reproduce
/skript reload
Errors or Screenshots
[11:20:01 ERROR]: Caught previously unhandled exception :
[11:20:01 ERROR]: Paper Async Command Builder Thread Pool - 0
java.util.ConcurrentModificationException: null
at java.base/java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:1023) ~[?:?]
at java.base/java.util.LinkedHashMap$LinkedValueIterator.next(LinkedHashMap.java:1052) ~[?:?]
at net.minecraft.commands.Commands.fillUsableCommands(Commands.java:536) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.commands.Commands.sendAsync(Commands.java:495) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at net.minecraft.commands.Commands.lambda$sendCommands$6(Commands.java:474) ~[paper-1.20.6.jar:1.20.6-115-9d6f2cc]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: