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

Crash: Encountered an unexpected exception java.lang.NullPointerException: Cannot invoke "com.direwolf20.mininggadgets.common.items.gadget.MiningProperties$BreakTypes.ordinal()" because "this.breakType" is null in debug world #253

Open
Lolothepro opened this issue Jul 18, 2024 · 9 comments

Comments

@Lolothepro
Copy link

Log file:
latest.log
https://mclo.gs/hHmEpgx
Crash report:
crash-2024-07-18_14.11.07-server.txt

@Lolothepro
Copy link
Author

Any idea when this bug will be fixed?

@Direwolf20-MC
Copy link
Owner

Can you describe what you were doing when this happened? What caused this bug?

Direwolf20-MC added a commit that referenced this issue Aug 3, 2024
Direwolf20-MC added a commit that referenced this issue Aug 3, 2024
@Lolothepro
Copy link
Author

not fixed in v1.18.3
log file: https://mclo.gs/JuMTAv8
Crash report: crash-2024-08-03_22.25.17-server.txt

@Lolothepro Lolothepro changed the title Crash: A BlockEntity type com.direwolf20.mininggadgets.common.tiles.RenderBlockTileEntity has thrown an exception trying to write state. It will not persist, Report this to the mod author in debug world Crash: Encountered an unexpected exception java.lang.NullPointerException: Cannot invoke "com.direwolf20.mininggadgets.common.items.gadget.MiningProperties$BreakTypes.ordinal()" because "this.breakType" is null in debug world Aug 3, 2024
@Lolothepro
Copy link
Author

Should I open a new bug report?

@Direwolf20-MC
Copy link
Owner

Can you tell me how you are causing this ? Cause I can’t reproduce it.

@Direwolf20-MC Direwolf20-MC reopened this Aug 3, 2024
@Lolothepro
Copy link
Author

Can you tell me how you are causing this ? Cause I can’t reproduce it.

in debug world

@Direwolf20-MC
Copy link
Owner

I need exact steps to duplicate this. Are you mining a block? What block? What’s a debug world ? Are there other mods installed ? If so what ones.

What are you doing when you cause crash.

@Lolothepro
Copy link
Author

Lolothepro commented Aug 3, 2024

I need exact steps to duplicate this. Are you mining a block? What block? What’s a debug world ? Are there other mods installed ? If so what ones.

What are you doing when you cause crash.

https://minecraft.wiki/w/Debug_mode
Just generate a debug world, and the game crashes

@Direwolf20-MC
Copy link
Owner

Ohhhhhh that’s so much more helpful. Yes I think I can guess at what’s happening

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