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

Game crashes when using any hammer in survival mode #89

Open
JSJBDEV opened this issue Mar 27, 2021 · 12 comments
Open

Game crashes when using any hammer in survival mode #89

JSJBDEV opened this issue Mar 27, 2021 · 12 comments

Comments

@JSJBDEV
Copy link

JSJBDEV commented Mar 27, 2021

A very crypic log, simply use any hammer on any hammerable block, in survival mode

java.lang.NullPointerException: Unexpected error
	at net.minecraft.class_776.method_23071(class_776.java:46)
	at net.minecraft.class_761.method_22710(class_761.java:1319)
	at net.minecraft.class_757.method_3188(class_757.java:727)
	at net.minecraft.class_757.method_3192(class_757.java:546)
	at net.minecraft.class_310.method_1523(class_310.java:1048)
	at net.minecraft.class_310.method_1514(class_310.java:681)
	at net.minecraft.client.main.Main.main(Main.java:215)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
	at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at link.infra.jumploader.Jumploader.onLoad(Jumploader.java:171)
	at cpw.mods.modlauncher.TransformationServiceDecorator.onLoad(TransformationServiceDecorator.java:53)
	at cpw.mods.modlauncher.TransformationServicesHandler.lambda$loadTransformationServices$11(TransformationServicesHandler.java:131)
	at cpw.mods.modlauncher.TransformationServicesHandler$$Lambda$58/1388278453.accept(Unknown Source)
	at java.util.HashMap$Values.forEach(HashMap.java:972)
	at cpw.mods.modlauncher.TransformationServicesHandler.loadTransformationServices(TransformationServicesHandler.java:131)
	at cpw.mods.modlauncher.TransformationServicesHandler.initializeTransformationServices(TransformationServicesHandler.java:56)
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:76)
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)

this seems to also extend to the hammers added by astromine as well, it happens in both singleplayer and multiplayer and the server reckons its a class cast exception

@Vestak3321
Copy link

I am having this issue too. Here's my crash report, hope it helps.

java.lang.NullPointerException: Unexpected error
at net.minecraft.class_776.method_23071(class_776.java:46)
at net.minecraft.class_761.method_22710(class_761.java:1319)
at net.minecraft.class_757.method_3188(class_757.java:727)
at net.minecraft.class_757.method_3192(class_757.java:546)
at net.minecraft.class_310.method_1523(class_310.java:1048)
at net.minecraft.class_310.method_1514(class_310.java:681)
at net.minecraft.client.main.Main.main(Main.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226)
at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:146)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

@Draylar
Copy link
Owner

Draylar commented Apr 9, 2021

can you provide your full game log through a service such as pastebon?

@JSJBDEV
Copy link
Author

JSJBDEV commented Apr 9, 2021

I just tried readding it to my pack and got some really weird visual errors, I have a feeling this my have been what was happening to start with and Im thinking perhaps this is a sodium bug? will try and get you a log of the Astromine hammers which appear to use the exact same code

@JSJBDEV
Copy link
Author

JSJBDEV commented Apr 9, 2021

@JSJBDEV
Copy link
Author

JSJBDEV commented Apr 9, 2021

these errors appear to be different then previous versions, but again It appears to be some kind of visual bug when holding the hammers in survival mode, Id guess sodium to be the main culprit

@Draylar
Copy link
Owner

Draylar commented Apr 9, 2021

Both logs give no information (cryptic, as you said), so it's hard to say what the problem is. Have you tried the game without Sodium? I'll try loading them both up tonight and see if I can reproduce the issue.

@JSJBDEV
Copy link
Author

JSJBDEV commented Apr 9, 2021

If I have a chance tonight ill test it without sodium, if you could do it also thatd be great

@ghost
Copy link

ghost commented May 24, 2021

Here: crash-log

Crash appears after hitting a stone with any hammer.

Edit

Next: crash-log

Crash appears after hitting a coal ore with vibranium hammer.

Edit

Last: crash-log

Crash appears in the same situation as above, but i run MC without Sodium & Indium.

@ghost
Copy link

ghost commented May 25, 2021

Fixed - just change the "magna" config file; "enableAllBlockBreakingAnimation" to false.

@JSJBDEV
Copy link
Author

JSJBDEV commented May 25, 2021

Yup it's a sodium thing otherwise from what I can tell

@JSJBDEV
Copy link
Author

JSJBDEV commented May 27, 2021

yeah so this happens without sodium as well so I will change the config file

@ghost
Copy link

ghost commented Jul 18, 2021

Any new information about release fix?
new crashlog: https://pastebin.com/RE3Rea7N

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

3 participants