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

[1.12] Solcarrot crash: onFoodEaten(SOLCarrotModule.java:81) #125

Open
Krutoy242 opened this issue Mar 22, 2022 · 2 comments
Open

[1.12] Solcarrot crash: onFoodEaten(SOLCarrotModule.java:81) #125

Krutoy242 opened this issue Mar 22, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Krutoy242
Copy link

Mod Version: v1.8.2
Minecraft Version: 1.12.2
Loaded Mods: E2E-E modpack (Not tested on small list)

Describe the bug
Various game events causing this crash:

java.util.concurrent.ExecutionException: java.util.NoSuchElementException
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[...]
Caused by: java.util.NoSuchElementException
    at java.util.LinkedList.removeLast(LinkedList.java:283)
    at yeelp.scalingfeast.integration.module.solcarrot.SOLCarrotModule$1.onFoodEaten(SOLCarrotModule.java:81)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_4665__onFoodEaten_FoodEaten.invoke(.dynamic)

Steps to Reproduce
Not stably reproducible.
Sometimes it happen when mining the ore: Exhausted Netherrack.
Sometimes - when hunger bar changed by eating.

Screenshots

Additional context
crash-2022-03-21_20.22.45-client.txt
crash-2022-03-21_21.15.57-client.txt

@Krutoy242 Krutoy242 added the bug Something isn't working label Mar 22, 2022
@Sereath
Copy link

Sereath commented Jun 5, 2022

Ive been getting the same crashes. Not easily reproducible either:

From a friend:
https://pastes.dev/szQiVqqMOX

One that happened to me, happened as soon as I consumed an Emerald Apple from Pickle Tweaks.
https://gist.github.com/Sereath/10c248b2974143f3f9dec76b0feeaba9

latest.log
https://gist.github.com/Sereath/3a723e4d8d2d389ef3e32a30d09ec9aa

@yeelp
Copy link
Owner

yeelp commented Jun 14, 2022

This is very strange. I've seen this happen to many others but I'm unable to reproduce this myself. I'll add a check that avoids this situation. Not the best fix, but it should work.

@yeelp yeelp self-assigned this Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants