Ender IO Forestry

Ender IO Forestry

954k Downloads

Level Underflow error when opening Soul Binder or Experience Obelisk

alfieatkinson opened this issue ยท 7 comments

commented

Issue Description:

When trying to open a soul binder or experience obelisk my game crashes with an underflow error

java.lang.ArithmeticException: level underflow

I think it is to do with the experience level inside of them as this appears in the crash

at crazypants.enderio.base.xp.XpUtil.getExperienceForLevel(XpUtil.java:95)
at crazypants.enderio.base.xp.ExperienceContainer.getExperience(ExperienceContainer.java:47)

along with many other lines about xp

What happens:

I right click on either of these machines and the game instantly crashes

What you expected to happen:

The interface of the machines to open

Steps to reproduce:

  1. Right click on soul binder or experience obelisk (may happen with other machines I haven't tested all)

Affected Versions (Do not use "latest"):

  • EnderIO: 1.12.2-5.2.63
  • EnderCore: 1.12.2-0.5.76
  • Minecraft: 1.12.2
  • Forge: 14.23.5.2847
  • SpongeForge? no
  • Optifine? no
  • Single Player and Server

Your most recent log file where the issue was present:

https://pastebin.pl/view/23531d27

commented

I have come across this issue as well. Is it just that EnderIO is now out of date? What version was this interaction not an issue?

commented

The label says duplicate but I can't find another issue that references XpUtil.java, I had just a new version Ender IO - 5.2.63 and now I see Ender IO - 5.2.65, so I assume it's fixed in that version from this
commit: 7f35efe @Stevphen

commented

Also here is the crash report after updating to 5.2.63 and attempting to open Soul Binder.
crash-2020-11-24_21.42.15-client.txt

commented

I didn't have this issue in 5.2.61. I updated my server to from 5.2.61 to 5.2.63 on 11/22/20 which is when this issue first occurred. I just tried updating to 5.2.65 and I get "A Fatal Error Has Occurred This Connection is Terminated." Returning to 5.2.61 temporarily resolves the issue. I would like to stay updated, so let me know if you want me to try out a fix if/when you have one.

commented

When I try 5.2.65 I get the "A Fatal Error Has Occurred This Connection is Terminated" crash. It doesn't even generate a crash report or log when I try that.

commented

Try version Ender IO - 5.2.65 which works for me

commented

Please don't hide new bugs in tickets for unrelated fixed ones. I could have released a fixed build 2 days ago...