java.lang.NullPointerException at com.hackshop.ultimate_unicorn.custom.ThreadDownloadHorseImage when using OptiFine+SoarTex

Create issue
Issue #55 new
capitaine nemo created an issue

Triggered when kid tried switching to Soartex_Fanver_(8.0.2)+OptiFine - haven’t tested if it happens with all texture packs.

[Render thread/FATAL] [net.minecraft.client.Minecraft/]: Reported exception thrown!
net.minecraft.crash.ReportedException: Rendering overlay
at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:812) ~[?:?]
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:976) ~[?:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) ~[?:?]
at net.minecraft.client.main.Main.main(Main.java:184) ~[1.16.5-forge-36.2.6.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:51) ~[forge-1.16.5-36.2.6.jar:36.2]
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?]
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?]
Caused by: java.lang.NullPointerException
at com.hackshop.ultimate_unicorn.custom.ThreadDownloadHorseImage.func_215244_a(ThreadDownloadHorseImage.java:408) ~[ultimate_unicorn_mod:1.6.0.1]
at net.minecraft.client.renderer.texture.TextureManager.lambda$reload$4(TextureManager.java:287) ~[?:?]
at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?]
at com.mojang.blaze3d.systems.RenderSystem.replayQueue(SourceFile:116) ~[?:?]
at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:103) ~[?:?]
at net.minecraft.client.MainWindow.func_227802_e_(MainWindow.java:398) ~[?:?]
at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:996) ~[?:?]

I guess I need to see what this “Download” function does and whether it can be disabled…

    Mod List: 
            forge-1.16.5-36.2.6-client.jar                    |Minecraft                     |minecraft                     |1.16.5              |DONE      |Manifest: NOSIGNATURE
            SereneSeasons-1.16.5-4.0.1.121-universal.jar      |Serene Seasons                |sereneseasons                 |1.16.5-4.0.1.121    |DONE      |Manifest: NOSIGNATURE
            ultimate_unicorn_mod-1.16.5-1.6.1.jar             |Wings, Horns, and Hooves, the |ultimate_unicorn_mod          |1.6.1               |DONE      |Manifest: NOSIGNATURE
            betteranimalsplus-1.16.5-10.2.0.jar               |Better Animals Plus           |betteranimalsplus             |10.2.0              |DONE      |Manifest: NOSIGNATURE
            astralsorcery-1.16-1.16.5-1.13.12.jar             |Astral Sorcery                |astralsorcery                 |1.16.5-1.13.12      |DONE      |Manifest: 45:2b:0a:49:6b:65:3b:39:a9:dd:d2:5b:55:7f:82:47:a5:1d:7a:cc:7f:a8:69:73:72:53:6f:57:4d:b2:1a:b7
            observerlib-1.16.5-1.5.3.jar                      |ObserverLib                   |observerlib                   |1.16.5-1.5.3        |DONE      |Manifest: NOSIGNATURE
            giantspawn_1.16.5-2.7.jar                         |Giant Spawn                   |giantspawn                    |2.7                 |DONE      |Manifest: NOSIGNATURE
            OptiForge-MC1.16.5-0.5.7.jar                      |OptiForge                     |optiforge                     |0.5.7               |DONE      |Manifest: NOSIGNATURE
            Botania-1.16.5-419.jar                            |Botania                       |botania                       |1.16.5-419          |DONE      |Manifest: NOSIGNATURE
            DoggyTalents-1.16.5-2.1.0.1.jar                   |Doggy Talents 2               |doggytalents                  |2.1.0.1             |DONE      |Manifest: NOSIGNATURE
            forge-1.16.5-36.2.6-universal.jar                 |Forge                         |forge                         |36.2.6              |DONE      |Manifest: 22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
            BloodMagic-1.16.4-3.1.5-25.jar                    |Blood Magic                   |bloodmagic                    |1.16.4-3.1.5-25     |DONE      |Manifest: NOSIGNATURE
            flywheel-1.16-0.2.4.jar                           |Flywheel                      |flywheel                      |1.16-0.2.4          |DONE      |Manifest: NOSIGNATURE
            curios-forge-1.16.5-4.0.5.3.jar                   |Curios API                    |curios                        |1.16.5-4.0.5.3      |DONE      |Manifest: NOSIGNATURE
            eidolon-0.2.7.jar                                 |Eidolon                       |eidolon                       |0.2.7               |DONE      |Manifest: NOSIGNATURE
            Patchouli-1.16.4-53.2.jar                         |Patchouli                     |patchouli                     |1.16.4-53.2         |DONE      |Manifest: NOSIGNATURE
            create-mc1.16.5_v0.3.2d.jar                       |Create                        |create                        |v0.3.2d             |DONE      |Manifest: NOSIGNATURE
            betterendforge-1.16.5-1.6.3.jar                   |BetterEnd Forge               |betterendforge                |1.16.5-1.6.3        |DONE      |Manifest: NOSIGNATURE
            collective-1.16.5-2.64.jar                        |Collective                    |collective                    |2.64                |DONE      |Manifest: NOSIGNATURE
            citadel-1.8.1-1.16.5.jar                          |Citadel                       |citadel                       |1.8.1               |DONE      |Manifest: NOSIGNATURE
            iceandfire-2.1.9-1.16.5.jar                       |Ice and Fire                  |iceandfire                    |2.1.9-1.16.5        |DONE      |Manifest: NOSIGNATURE

Comments (2)

  1. capitaine nemo reporter

    Hm… seems it fetches a whole ton of resources off of various google drive links, which appear to be a ton of custom horses. Which… is pretty cool, but apparently breaks when doing this texture switch. Sure would be nice if it had an option to download and setup local texture packs.

    Documentation is rather thin and source is not shared, so not sure what options are apart form decompiling and seeing if this function can be shortcircuited.

  2. Log in to comment