Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalArgumentException: Comparison method violates its general contract! #2270

Open
topg-org opened this issue Oct 27, 2024 · 1 comment
Assignees
Labels
❌ Unconfirmed Bugs that were reported but yet to be replicatable

Comments

@topg-org
Copy link

Minecraft's Version

paper-1.21-103

Plugin's Version

SuperiorSkyblock2 v2024.3-b341 (dev)

Describe the bug

[Server thread/INFO]: [!] Island → Recalculating all islands...
[WARN]: [SuperiorSkyblock2] Plugin SuperiorSkyblock2 v2024.3-b341 generated an exception while executing task 8472
java.lang.IllegalArgumentException: Comparison method violates its general contract!
at java.base/java.util.TimSort.mergeLo(TimSort.java:781) ~[?:?]
at java.base/java.util.TimSort.mergeAt(TimSort.java:518) ~[?:?]
at java.base/java.util.TimSort.mergeForceCollapse(TimSort.java:461) ~[?:?]
at java.base/java.util.TimSort.sort(TimSort.java:254) ~[?:?]
at java.base/java.util.Arrays.sort(Arrays.java:1308) ~[?:?]
at java.base/java.util.ArrayList.sort(ArrayList.java:1804) ~[?:?]
at SuperiorSkyblock2-2024.3-b341.jar/com.bgsoftware.superiorskyblock.island.container.DefaultIslandsContainer.sortIslandsInternal(DefaultIslandsContainer.java:187) ~[SuperiorSkyblock2-2024.3-b341.jar:?]
at SuperiorSkyblock2-2024.3-b341.jar/com.bgsoftware.superiorskyblock.island.container.DefaultIslandsContainer.lambda$sortIslands$8(DefaultIslandsContainer.java:150) ~[SuperiorSkyblock2-2024.3-b341.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) ~[paper-1.21.jar:1.21-103-aa3b356]
at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.21.jar:1.21-103-aa3b356]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.21.jar:?]
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) ~[?:?]

To Reproduce

Idk exactly, all data is in mysql, nothing weird no null or absent values

Additional Information

No response

@topg-org topg-org added the Pending Pending reports to be investigated label Oct 27, 2024
@OmerBenGera OmerBenGera added the ❌ Unconfirmed Bugs that were reported but yet to be replicatable label Nov 2, 2024
@OmerBenGera OmerBenGera removed the Pending Pending reports to be investigated label Nov 2, 2024
@OmerBenGera
Copy link
Member

I don't know why it occurs, but I added debug message to when it occurs to print more information regarding the error.
Please update to latest dev build and report back once it occurs again so I can look at the debug data that is printed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❌ Unconfirmed Bugs that were reported but yet to be replicatable
Projects
None yet
Development

No branches or pull requests

2 participants