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

minecolonies:cook has thrown an exception #10592

Closed
3 tasks done
AnyankaT opened this issue Jan 12, 2025 · 6 comments · Fixed by #10593
Closed
3 tasks done

minecolonies:cook has thrown an exception #10592

AnyankaT opened this issue Jan 12, 2025 · 6 comments · Fixed by #10593
Labels
Bug Gotta squash 'em all!

Comments

@AnyankaT
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Are you using the latest MineColonies Version?

  • I am running the latest beta/release version of MineColonies for my Minecraft version.
    I am also running the latest versions of other mods that are part of my problem.

Did you check on the Wiki? or ask on Discord?

  • I checked the MineColonies Wiki and made sure my issue is not covered there. Or I was sent from discord to open an issue here.

Minecraft Version

1.20

MineColonies Version

1.20.1-1.1.791

Structurize Version

1.20.1-1.0.763

Related Mods and their Versions

Mod list in latest.log

Reproduction Steps

  1. update to latest version of Minecolonies (from 787)
  2. Start server
  3. receive multiple errors: "[Server thread/ERROR] [minecolonies/]: A Building minecolonies:cook(com.minecolonies.core.colony.buildings.workerbuildings.BuildingCook) has thrown an exception during loading, its state cannot be restored. Report this to the mod author" (details in latest.log

Logs

https://gist.github.com/AnyankaT/01711aea361b3e4d5ad1fd7c3a2186bc

Anything else?

No response

Footer


Viewers

  • Add a thumbs-up to the bug report if you are also affected. This helps the bug report become more visible to the team and doesn't clutter the comments.
  • Add a comment if you have any insights or background information that isn't already part of the conversation.
@AnyankaT AnyankaT added the Bug Gotta squash 'em all! label Jan 12, 2025
@AnyankaT
Copy link
Author

Seems restaurants are now "missing its respective building"

@AnyankaT
Copy link
Author

image
Don't know if it's related, but one of my players also got an AI error in their bakery just after logging in.
latest.log

@kezmodius
Copy link

kezmodius commented Jan 13, 2025

We went around our server creative pasting back any restaurant that had "lost its respective building." They were all functional again. But after a server restart my, and at least one other player's restaurant had again "lost its respective building." We are testing the hypothesis that the fixed restaurants that broke had added back menu items and fuel, because one colony had the restaurant replaced, did not add fuel or menu items, and after the restart it was still functional.

Edited to add I am on the OPs server.

@kezmodius
Copy link

Another update. After server's scheduled restart my restaurant had "lost its respective building" again. Another colony that was not affected at the earlier restart, was affected with this latest restart. The difference being that I had set menu items and fuel in it when I went to check on it. So, I think whatever the error is, it has to do with menu items being set.

@uecasm
Copy link
Contributor

uecasm commented Jan 13, 2025

This was introduced by #10579.

@uecasm
Copy link
Contributor

uecasm commented Jan 13, 2025

For now, the best thing to do is to downgrade to v1.20.1-1.1.790 until it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Gotta squash 'em all!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants