PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
54 stars 21 forks source link

Task for ItemsAdder generated an exception #3600

Closed Belceebuh closed 5 months ago

Belceebuh commented 6 months ago

Terms

Discord tag (optional)

belzzebuh

What happened?

messages appear in the console from time to time about the error log below.

Steps to reproduce the issue

  1. Only use the lastest version from itemsadder

Server version

This server is running UniverseSpigot version git-UniverseSpigot-"3881c25" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 3881c25 on ver/1.20.4-stable)

ItemsAdder Version

ItemsAdder version 3.6.3-beta-14

ProtocolLib Version

ProtocolLib version 5.2.0-SNAPSHOT-679

LoneLibs Version

LoneLibs version 1.0.45

Full server log

No response

Error (optional)

[17:52:47 WARN]: [ItemsAdder] Task #31837037 for ItemsAdder v3.6.3-beta-14 generated an exception
java.lang.IndexOutOfBoundsException: Index 7 out of bounds for length 7
        at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100) ~[?:?]
        at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106) ~[?:?]
        at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302) ~[?:?]
        at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
        at java.util.ArrayList.remove(ArrayList.java:504) ~[?:?]
        at ia.m.pa.a(SourceFile:102) ~[ItemsAdder_3.6.3-beta-14.jar:?]
        at ia.m.pa.a(SourceFile:47) ~[ItemsAdder_3.6.3-beta-14.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[?:git-UniverseSpigot-"3881c25"]
        at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[?:git-UniverseSpigot-"3881c25"]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1651) ~[?:git-UniverseSpigot-"3881c25"]
        at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:465) ~[?:git-UniverseSpigot-"3881c25"]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1534) ~[?:git-UniverseSpigot-"3881c25"]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1235) ~[?:git-UniverseSpigot-"3881c25"]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:324) ~[?:git-UniverseSpigot-"3881c25"]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

github-actions[bot] commented 6 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

Andre601 commented 6 months ago

You seem to use some random fork of Spigot. Please make sure it actually also happens on a more common server such as Spigot itself, Paper or Purpur, as this error could be due to some changes in that particular fork.

Belceebuh commented 6 months ago

You seem to use some random fork of Spigot. Please make sure it actually also happens on a more common server such as Spigot itself, Paper or Purpur, as this error could be due to some changes in that particular fork.

it is not a random fork of Spigot, in fact it is a Pufferfish fork with more than 200 clients. Happened to me when upgrading itemsadder to the latest version

LoneDev6 commented 5 months ago

Might be an issue of UniverseSpigot, never received this report and I can't reproduce it.