Clumps

Clumps

197M Downloads

StackOverflowError

Secretname2009 opened this issue ยท 20 comments

commented

As requested, im reporting this issue as new but i did find it similar to the previous post.
This crash ocurred immediately after me equipping a Trident enchanted with Mending right after killing an pillager in hopes of repairing it back to full durability.
The world did become unplayable as it throws this crash every time i try to load it now and it just says "Server Closed" instead of actually crashing the client.
I may try to provide some more information but i think everything below is what i can provide.
Here is the general information.
Minecraft 1.18.2
Forge 40.1.60
Clumps for Forge 8.0.0+14
Crash log is added aswell as the latest.log and list of mods that is currently used along with Clumps. I exported the pack and converted the HTML to a normal text file as Github understandably doesnt accept that as an upload.
crash-2022-08-02_00.21.15-server.txt
latest.log
modlist.txt

commented

If you want to contact me on discord, I can setup a file upload to my server for you, no limit on that.

https://discord.blamejared.com

commented

are you playing on a server or single player?

commented

Single player. Crash does happen on server-side though. I also mentioned that this happends everytime i tried to load the world.

commented

Yea I just realized that, could you send me that world, would help greatly with testing

commented

I can do that but im gonna have to get back to you when ive done that. Github doesnt accept a 1.5GB ZIP file .

commented

Do you also crash when entering the world?

commented

I ran into the same Problem ^^"

Forge: 40.1.68
Mod Version: 8.0.0+14
Log: https://pastebin.com/xFFSmfhm

commented

I'm playing on a Server. I get an Internal server error when joining but the Server doesn't crash :S

commented

Here is a OneDrive upload of the world. I do hope it helps finding the issue.
https://1drv.ms/u/s!AqnPl7Uw1r9g6jqFii-hy7AgAZCq?e=bvN8S8

commented

Could you do me a favour and reproduce the issue with just clumps and give me that world, that way I can make sure it is perfect without having to install other mods

commented

That helped tremendously

Give this file a go, it should resolve the issue, unfortunately I could never reproduce it to test it myself though
https://i.blamejared.com/Clumps-forge-1.19.1-9.0.0-soe-fix.jar
https://i.blamejared.com/Clumps-fabric-1.19.1-9.0.0-soe-fix.jar

commented

I tried adding the file to my modpack and it refused to start. Kind of expected that as im running MC 1.18.2 and not 1.19.1. Have you compiled one for that version? I also figured out how to replicate it now but its a little on/off with the crashing.

commented

Also forgot to ask, how can you reproduce it?

commented

It happends when specifically picking up experience orbs that have 2 exp or more in one while holding a tool enchanted with mending and with low durability. It seems that picking up orbs with only 1 exp doesnt cause the crash. However, i tested with the new mod now and strangely it repairs more durability than it should instead of just crashing.
Im equipped with a tool that has alot of durability, is very damaged and is enchanted with mending. I pick up an exp orb dropped by a Blaze that drops a fixed 10 EXP orb and with the new mod it doesnt crash but instead it works normally and repairs the item. It repairs it for more than 20 durability which is not correct and the amount extra is random.

commented

Actually don't worry about that, I believe this one actually fixes it (At-least the amount gained, hopefully also fixes the stack overflow)

https://i.blamejared.com/Clumps-forge-1.18.2-8.0.0-amount-fix.jar

commented

I can confirm it is fixed with that jarfile.

commented

So just to confirm, with that jar file, everything is working fine?

Can you try load your initial world and see if you can join it?

commented

Yes, the world now loads up as normal.

commented

Perfect, I'll release that then and it should hopefully be good