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

Incompatibility with "ukulib" #690

Closed
Capysussa opened this issue Feb 10, 2024 · 4 comments
Closed

Incompatibility with "ukulib" #690

Capysussa opened this issue Feb 10, 2024 · 4 comments
Labels
can't fix on my end mod conflict A mod isn't compatible with FancyMenu

Comments

@Capysussa
Copy link

When having customized the options menu (pretty sure it doesn't matter how), and then upon opening said menu, the game abruptly crashes.

  1. Customize options menu
  2. Opening the menu, after re-opening the game, or in game
  3. Game Crashes

The Game does not crash.

latest.log

OS: Windows 10 Home
FancyMenu Version: 3.0.6
Fabric Version: 0.15.3
MC Version: 1.20.4
Active Mods: (All Mods in this Folder are active)
https://www.mediafire.com/file/4gliap1jq0475md/Mods.zip/file

@Capysussa Capysussa added the bug Something isn't working label Feb 10, 2024
@Keksuccino
Copy link
Owner

Keksuccino commented Feb 11, 2024

at net.minecraft.class_1043.handler$eae000$modernfix$storeCloseTrace(class_1043.java:1030) ~[client-intermediary.jar:?]

Try to remove "modernfix" and/or "ukulib".
If that doesn't fix the issue, please start the game with only FancyMenu + dependencies installed.

@Capysussa
Copy link
Author

Thanks! That fixed the issue.

@Keksuccino Keksuccino added mod conflict A mod isn't compatible with FancyMenu and removed bug Something isn't working labels Feb 14, 2024
@Keksuccino Keksuccino changed the title The Game crashes when opening up a customized options menu. Incompatibility with "ModernFix" and/or "ukulib" Feb 14, 2024
@Keksuccino Keksuccino changed the title Incompatibility with "ModernFix" and/or "ukulib" Incompatibility with "ukulib" Feb 14, 2024
@Keksuccino
Copy link
Owner

Keksuccino commented Feb 14, 2024

Some notes:

  • Seems like it's not related to ModernFix (could be ukulib, but not 100% sure, maybe it's a combination of a performance mod and ukulib)
  • class_429 = OptionsScreen
  • class_1043 = DynamicTexture
  • Cannot invoke "NativeImage#getWidth()" because "DynamicTexture#pixels" is null
  • ukulib places a Mixin in OptionsScreen (class_429.md8c356a$ukulib$lambda$registerHeadTex$2$1) that registers some texture, but that fails because of a NullPointer
[16:26:57] [Render thread/INFO]: [FANCYMENU] ScreenCustomizationLayer registered: options_screen
[16:26:58] [Render thread/ERROR]: Attempted to upload null texture! This is not allowed, closed here
java.lang.Exception: null
	at net.minecraft.class_1043.handler$eae000$modernfix$storeCloseTrace(class_1043.java:1030) ~[client-intermediary.jar:?]
	at net.minecraft.class_1043.close(class_1043.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_1060.method_30299(class_1060.java:86) ~[client-intermediary.jar:?]
	at net.minecraft.class_1060.method_4616(class_1060.java:73) ~[client-intermediary.jar:?]
	at net.minecraft.class_429.md8c356a$ukulib$lambda$registerHeadTex$2$1(class_429.java:2095) ~[client-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
	at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:844) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[16:26:58] [Render thread/ERROR]: Unreported exception thrown!
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1011.method_4307()" because "this.field_5200" is null
	at net.minecraft.class_1043.method_22793(class_1043.java:24) ~[client-intermediary.jar:?]
	at com.mojang.blaze3d.systems.RenderSystem.replayQueue(RenderSystem.java:227) ~[client-intermediary.jar:?]
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:214) ~[client-intermediary.jar:?]
	at net.minecraft.class_1041.method_15998(class_1041.java:287) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1349) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:888) ~[client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:265) ~[minecraft-1.20.4-client.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) ~[fabric-loader-0.15.3.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) ~[fabric-loader-0.15.3.jar:?]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126) ~[NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71) ~[NewLaunch.jar:?]
[16:27:00] [Render thread/WARN]: COM exception: Invalid Query: SELECT PERCENTUSAGE FROM Win32_PerfRawData_PerfOS_PagingFile
[16:27:00] [Render thread/INFO]: [EMI] Disconnecting from server, EMI data cleared
[16:27:00] [Thread-58/INFO]: [EMI] Clearing data
[16:27:00] [Render thread/ERROR]: Attempted to upload null texture! This is not allowed, closed here
java.lang.Exception: null
	at net.minecraft.class_1043.handler$eae000$modernfix$storeCloseTrace(class_1043.java:1030) ~[client-intermediary.jar:?]
	at net.minecraft.class_1043.close(class_1043.java) ~[client-intermediary.jar:?]
	at net.minecraft.class_1060.method_30299(class_1060.java:86) ~[client-intermediary.jar:?]
	at net.minecraft.class_1060.method_4616(class_1060.java:73) ~[client-intermediary.jar:?]
	at net.minecraft.class_429.md8c356a$ukulib$lambda$registerHeadTex$2$1(class_429.java:2095) ~[client-intermediary.jar:?]
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718) ~[?:?]
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510) ~[?:?]
	at java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614) ~[?:?]
	at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:844) ~[?:?]
	at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[16:27:01] [CraftPresence/INFO]: Shutting down CraftPresence...

@Keksuccino Keksuccino changed the title Incompatibility with "ukulib" Incompatibility with "ukulib" in combination with a performance mod (performance mod part not confirmed) Feb 14, 2024
@Keksuccino Keksuccino changed the title Incompatibility with "ukulib" in combination with a performance mod (performance mod part not confirmed) Incompatibility with "ukulib" Feb 15, 2024
@Keksuccino
Copy link
Owner

Fixed on ukulib's side in ukulib v1.1.2!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't fix on my end mod conflict A mod isn't compatible with FancyMenu
Projects
None yet
Development

No branches or pull requests

2 participants