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

Conflict with Lithium causing crash/freeze #10

Open
Gamemassa opened this issue Jul 14, 2024 · 13 comments
Open

Conflict with Lithium causing crash/freeze #10

Gamemassa opened this issue Jul 14, 2024 · 13 comments

Comments

@Gamemassa
Copy link

Gamemassa commented Jul 14, 2024

Minecraft 1.21
Fabric Loader 0.16.0
Fabric API 0.100.7
Nature Arise 0.9.1 for MC 1.21

I added Nature Arise to my custom modpack, entered my SP world, opened my inventory in creative mode, and got a crash with this error message:
java.lang.IllegalArgumentException: Cannot add empty stack

Crash Report
https://mclo.gs/sDW7oGl

Latest.log
https://mclo.gs/bectrTA

@Gamemassa
Copy link
Author

Also, just to be sure, I tried accessing my inventory in Survival mode, and it didn't happen there, so I think it's only creative mode where the error is happening.

@DavidGmc18
Copy link
Owner

I was unable to reproduce the issue with NA and TB only, which suggests that it might be caused by another mod. Can you think of some mod that could cause this?

@Gamemassa
Copy link
Author

Gamemassa commented Jul 14, 2024

Well, tbh I'm not entirely sure what the error message is referring to, but I do believe I have a few mods in my modpack that affect the inventory screen, namely:

And also, I don't think Stxck changes the inventory visually, but it does allow for increasing the max stack size of lots of items, so I thought I'd link it as well just because the error message here was something about an "empty stack" (though it's possible I misunderstood that).

And if I think of any others, I'll let you know.

@Gamemassa
Copy link
Author

Gamemassa commented Jul 14, 2024

Oh, I almost forgot Crafting Slots.

Edit: I actually don't think it's this mod because I didn't have the portable crafting tool from this mod in my inventory when the crash happened.

@Gamemassa
Copy link
Author

Gamemassa commented Jul 18, 2024

I was unable to reproduce the issue with NA and TB only, which suggests that it might be caused by another mod. Can you think of some mod that could cause this?

A quick look through my latest.log shows this at line 5278:

5278 | [REI-ReloadPlugins/ERROR]: [REI] Failed to collect fabric's creative tab: net.minecraft.class_1761@362a009
--
5279 | java.lang.IllegalArgumentException: Cannot add empty stack

as well as at 5308 and 5366, with Nature Arise mentioned just below each of those. I wonder if REI could be the issue.

@Gamemassa
Copy link
Author

I posted this in the REI issues thread as well to see if they have any insight.

@DavidGmc18
Copy link
Owner

Sorry for not responding for a while; I have been on holiday. I tested NA with REI and for me it worked fine. Can you share with me modpack, so I can look at it more deeply?

@Gamemassa
Copy link
Author

Sorry for not responding for a while; I have been on holiday. I tested NA with REI and for me it worked fine. Can you share with me modpack, so I can look at it more deeply?

I think the whole list is in the log files I attached. It's also a custom modpack I made so there's no Curseforge/Modrinth link for it.

@DavidGmc18
Copy link
Owner

I was not able to reproduce the issue on my end. I recommend trying to disable mods in groups to identify which one might be causing the conflict with Nature Arise. If you decide to do so, please share the results with me.

@Gamemassa
Copy link
Author

Sorry, I got busy for the last few weeks. The latest version, 0.9.2, seems to have partially fixed the issue, because my game is no longer crashing to desktop. However, it appears to be hanging when I open the creative inventory, and I have to force close it. Here is the latest.log for this:
https://mclo.gs/xPlBX7l

@Gamemassa
Copy link
Author

Gamemassa commented Aug 30, 2024

I was not able to reproduce the issue on my end. I recommend trying to disable mods in groups to identify which one might be causing the conflict with Nature Arise. If you decide to do so, please share the results with me.

I'm currently doing some binary testing to try to isolate the issue.

Update
Lithium is the mod that was causing the issue. Updating that to the latest version also still did not fix the issue.

@Gamemassa Gamemassa changed the title Crash when accessing creative inventory Conflict with Lithium causing Crash/Freeze Aug 30, 2024
@Gamemassa Gamemassa changed the title Conflict with Lithium causing Crash/Freeze Conflict with Lithium causing crash/freeze Aug 30, 2024
@Gamemassa
Copy link
Author

I have notified the Lithium devs as well. We'll see what they say.

@Gamemassa
Copy link
Author

@DavidGmc18 So the Lithium team had some interesting input. I'm linking the thread here.

CaffeineMC/lithium#559 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants