ldtteam / minecolonies

Minecolonies minecraft mod
http://minecolonies.com/
GNU General Public License v3.0
651 stars 335 forks source link

Client Crash when trying to add Minimum Stock for a building #7508

Closed Gizmo0320 closed 3 years ago

Gizmo0320 commented 3 years ago

Prerequisites

Context

Expected behavior

To be able to add Minimum Stock for buildings

Actual behavior

When trying to add an item to the Minimum Stock list the game crashes. It only crashes client side not server.

Steps to reproduce the issue

Try adding minimum stock

Logs

Notes


Viewers

uecasm commented 3 years ago

Are you using a custom style that includes Chisels & Bits microblocks? Because that's what appears to be the cause of your crash.

You also have a lot of other mods that are spamming the logs with errors, most notably Citadel.

Raycoms commented 3 years ago

Is a problem on the side of: https://github.com/Chicken-Bones/ForgeMultipart, this bug was reported there already

TheCommensuratePup commented 3 years ago

@Raycoms I am also experiencing this & I didn't pull in ForgeMultipart nor microblocks. I am completely unable to access any minimum stock for any worker.

Also not important to my scenario, but the repo you mention above hasn't had any check ins in over 6 years nor bugs reported in several months not sure what bug report would be involved in this.

ravenbuilder934 commented 3 years ago

I think ray means https://github.com/TheCBProject/CBMultipart/issues/95

TheCommensuratePup commented 3 years ago

Interesting, that's an array out of bounds exception, I'm not getting that, the issue I'm seeing is an init error:

at com.minecolonies.coremod.client.gui.WindowSelectRes.(WindowSelectRes.java:94) ~[minecolonies:0.14.345-ALPHA] {re:classloading} at com.minecolonies.coremod.client.gui.modules.MinimumStockModuleWindow.addStock(MinimumStockModuleWindow.java:98) ~[minecolonies:0.14.345-ALPHA] {re:classloading} at com.minecolonies.coremod.client.gui.AbstractWindowSkeleton.lambda$registerButton$2(AbstractWindowSkeleton.java:96) ~[minecolonies:0.14.345-ALPHA] {re:classloading} at com.minecolonies.coremod.client.gui.AbstractWindowSkeleton.onButtonClicked(AbstractWindowSkeleton.java:122) ~[minecolonies:0.14.345-ALPHA] {re:classloading} at com.ldtteam.blockout.controls.Button.handleClick(Button.java:104) ~[structurize:0.13.210-ALPHA] {re:classloading} at com.ldtteam.blockout.Pane.click(Pane.java:553) ~[structurize:0.13.210-ALPHA] {re:classloading} at com.ldtteam.blockout.views.View.mouseEventProcessor(View.java:394) ~[structurize:0.13.210-ALPHA] {re:classloading} at com.ldtteam.blockout.views.View.mouseClickableEventHandler(View.java:347) ~[structurize:0.13.210-ALPHA] {re:classloading} at com.ldtteam.blockout.views.View.click(View.java:217) ~[structurize:0.13.210-ALPHA] {re:classloading} at com.ldtteam.blockout.BOScreen.func_231044a(BOScreen.java:196) ~[structurize:0.13.210-ALPHA] {re:classloading} at net.minecraft.client.MouseHelper.func_198033_b(MouseHelper.java:87) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}

MotionlessTrain commented 3 years ago

Update. This has been fixed in later versions