Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Game crashes when double click to mod. #16

Closed
kuzeeeyk opened this issue Aug 24, 2021 · 8 comments · Fixed by #19
Closed

Game crashes when double click to mod. #16

kuzeeeyk opened this issue Aug 24, 2021 · 8 comments · Fixed by #19
Labels
bug Something isn't working
Milestone

Comments

@kuzeeeyk
Copy link
Contributor

For some mods, double clicking will crash game. (I tested on LazyDFU and some other mods, only LazyDFU is crashed my game)

Reported exception thrown!
net.minecraft.class_148: mouseClicked event handler
	at net.minecraft.class_437.method_25412(class_437.java:495)
	at net.minecraft.class_312.method_1601(class_312.java:94)
	at net.minecraft.class_312.method_22686(class_312.java:165)
	at net.minecraft.class_1255.execute(class_1255.java:101)
	at net.minecraft.class_312.method_22684(class_312.java:165)
	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
	at org.lwjgl.system.JNI.invokeV(Native Method)
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:165)
	at net.minecraft.class_1041.method_15998(class_1041.java:310)
	at net.minecraft.class_310.method_1523(class_310.java:1137)
	at net.minecraft.class_310.method_1514(class_310.java:728)
	at net.minecraft.client.main.Main.main(Main.java:217)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
	at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
Caused by: java.lang.NullPointerException: Cannot invoke "xyz.deathsgun.modmanager.api.mod.DetailedMod.body()" because "this.detailedMod" is null
	at xyz.deathsgun.modmanager.gui.ModDetailScreen.method_25426(ModDetailScreen.java:69)
	at net.minecraft.class_437.method_25423(class_437.java:387)
	at net.minecraft.class_310.method_1507(class_310.java:984)
	at xyz.deathsgun.modmanager.gui.ModsOverviewScreen.updateSelectedEntry(ModsOverviewScreen.java:119)
	at xyz.deathsgun.modmanager.gui.widget.better.BetterListWidget.setSelected(BetterListWidget.java:63)
	at xyz.deathsgun.modmanager.gui.widget.better.BetterListWidget$BetterListEntry.method_25402(BetterListWidget.java:211)
	at xyz.deathsgun.modmanager.gui.widget.better.BetterListWidget.method_25402(BetterListWidget.java:139)
	at net.minecraft.class_4069.method_25402(class_4069.java:27)
	at net.minecraft.class_312.method_1611(class_312.java:94)
	at net.minecraft.class_437.method_25412(class_437.java:490)
	... 19 more```
@DeathsGun DeathsGun added the bug Something isn't working label Aug 24, 2021
@DeathsGun DeathsGun added this to the 1.0.1-alpha milestone Aug 24, 2021
@DeathsGun
Copy link
Member

Can you give me the complete log for this error?

@kuzeeeyk
Copy link
Contributor Author

@DeathsGun
Copy link
Member

In the logs directory you should also have a log it should be lastest.log if you haven't started minecraft again otherwise it's called properly 2021-08-24.log.gz and should have the time as the crash log

@DeathsGun DeathsGun added the log missing Log for this issue is missing label Aug 24, 2021
@kuzeeeyk
Copy link
Contributor Author

2021-08-24-5.log.gz
Sorry for late answer.

@DeathsGun
Copy link
Member

No problem

@DeathsGun
Copy link
Member

Ok i found the error it was an network error and missed catching the error properly

@DeathsGun DeathsGun removed the log missing Log for this issue is missing label Aug 24, 2021
DeathsGun added a commit that referenced this issue Aug 24, 2021
Closes #16

Signed-off-by: DeathsGun <deathsgun@protonmail.com>
@DeathsGun
Copy link
Member

Can you recheck this with this build:
modmanager-1.0.1-alpha.zip

@DeathsGun DeathsGun added the waiting for fix confirmation This issue has been fixed but waits for the confirmation of the issue owner label Aug 24, 2021
@kuzeeeyk
Copy link
Contributor Author

Checked again on few mods, working nicely:

image

@DeathsGun DeathsGun removed the waiting for fix confirmation This issue has been fixed but waits for the confirmation of the issue owner label Aug 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants