Jump to content

Recommended Posts

Posted

I keep getting an error message saying "Error: java.lang.NullPointerException: Rendering overlay Exit Code: -1". I don't seem to have nay mods that have 'overlays' so I'm not certain what this message is referring to. I will attach full error message beneath.

 

---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 5/22/21 1:44 PM
Description: Rendering overlay

java.lang.NullPointerException: Rendering overlay
    at net.minecraft.client.renderer.FluidBlockRenderer.func_178268_a(FluidBlockRenderer.java:41) ~[?:?] {re:classloading,xf:OptiFine:default}
    at net.minecraft.client.renderer.BlockRendererDispatcher.func_195410_a(BlockRendererDispatcher.java:154) ~[?:?] {re:classloading,xf:OptiFine:default}
    at net.minecraft.resources.IResourceManagerReloadListener.lambda$reload$0(IResourceManagerReloadListener.java:16) ~[?:?] {re:classloading,re:mixin}
    at net.minecraft.resources.IResourceManagerReloadListener$$Lambda$4723/825302356.run(Unknown Source) ~[?:?] {}
    at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705) ~[?:1.8.0_51] {}
    at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687) ~[?:1.8.0_51] {}
    at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_51] {}
    at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] {re:classloading}
    at net.minecraft.resources.AsyncReloader$$Lambda$5353/161780863.run(Unknown Source) ~[?:?] {}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:170) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
    at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23) ~[?:?] {re:mixin,re:classloading}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:135) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213160_bf(ThreadTaskExecutor.java:115) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:861) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:155) [?:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) [forge-1.14.4-28.2.23.jar:28.2] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$477/1335157064.call(Unknown Source) [forge-1.14.4-28.2.23.jar:28.2] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
    at net.minecraft.client.renderer.FluidBlockRenderer.func_178268_a(FluidBlockRenderer.java:41)
    at net.minecraft.client.renderer.BlockRendererDispatcher.func_195410_a(BlockRendererDispatcher.java:154)
    at net.minecraft.resources.IResourceManagerReloadListener.lambda$reload$0(IResourceManagerReloadListener.java:16)
    at net.minecraft.resources.IResourceManagerReloadListener$$Lambda$4723/825302356.run(Unknown Source)
    at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:705)
    at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:687)
    at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442)
    at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71)
    at net.minecraft.resources.AsyncReloader$$Lambda$5353/161780863.run(Unknown Source)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(ThreadTaskExecutor.java:170)
    at net.minecraft.util.concurrent.RecursiveEventLoop.func_213166_h(SourceFile:23)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(ThreadTaskExecutor.java:135)

-- Overlay render details --
Details:
    Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui
Stacktrace:
    at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:880)
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:890)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:384)
    at net.minecraft.client.main.Main.main(SourceFile:155)
    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.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$477/1335157064.call(Unknown Source)
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.14.4
    Minecraft Version ID: 1.14.4
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 661311136 bytes (630 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 8
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 4.1.0+62+5bfa59b
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.14.4-28.2.23.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.23.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.5-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.2.23.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.2.23.jar runtimedistcleaner PLUGINSERVICE 
        /OptiFine_1.14.4_HD_U_F4_MOD.jar OptiFine TRANSFORMATIONSERVICE 
        /forge-1.14.4-28.2.23.jar fml TRANSFORMATIONSERVICE 
        /MixinBootstrap-1.0.1.jar mixinbootstrap TRANSFORMATIONSERVICE 
        /MixinBootstrap-1.0.1.jar mixin PLUGINSERVICE 
        /MixinBootstrap-1.0.1.jar mixinbootstrap PLUGINSERVICE 
    FML: 28.2
    Forge: net.minecraftforge:28.2.23
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        forge-1.14.4-28.2.23-client.jar Minecraft {[email protected] DONE}
        tetra-1.14.4-1.15.0.jar Tetra {[email protected] DONE}
        Double-Doors-Mod-1.14.4.jar Double Doors {[email protected] DONE}
        embellishcraft-1.14.4-1.4.0.jar EmbellishCraft {[email protected] DONE}
        Tool-Belt-Mod-1.14.4.jar Tool Belt {[email protected] DONE}
        ceilingtorch-1.14.4-v1.3.1.jar Ceiling Torch {[email protected] DONE}
        ExtraOres-1.14.4-(v.1.0.0).jar ExtraOres {[email protected] DONE}
        wildnature-2.1.0.jar WildNature {[email protected] DONE}
        caelus-FORGE-1.14.4-1.0.1.1.jar Caelus API {[email protected] DONE}
        paintings-1.14.4-6.0.1.5.jar Paintings ++ {[email protected] DONE}
        YUNGs-Better-Caves-Mod-1.14.4.jar YUNG's Better Caves {[email protected] DONE}
        SpartanShields-1.14.4-2.0.0.jar Spartan Shields {[email protected] DONE}
        AutoRegLib-1.4-35.jar AutoRegLib {[email protected] DONE}
        gravestone-1.15.2.jar Gravestone Mod {[email protected] DONE}
        mgui-1.14.4-1.2.0.jar mgui {[email protected] DONE}
        Ore-Excavation-Mod-1.14.4.jar Ore Excavation {[email protected] DONE}
        themidnight-0.4.6.jar The Midnight {[email protected] DONE}
        VanillaTweaks-1.14.4.1.5.12.jar VanillaTweaks {[email protected] DONE}
        The-Endergetic-Expansion-Mod-1.14.4.jar The Endergetic Expansion {[email protected] DONE}
        immersive-portals-0.13(for+mc+1.14+with+forge).jar Immersive Portals {[email protected] DONE}
        forge-1.14.4-28.2.23-universal.jar Forge {[email protected] DONE}
        Quark-r2.0-208.jar Quark {[email protected] DONE}
        Tardis-Mod-1.14.4-1.4.1.jar TARDIS Mod {[email protected] DONE}
        effortlessbuilding-1.14.4-2.18.jar Effortless Building {[email protected] DONE}
        TrinityWeapons-1.14.4-1.4.0.jar TrinityWeapons {[email protected] DONE}
        Iron-Chests-Mod-1.14.4.jar Iron Chests {[email protected] DONE}
        Anvil-Tweaks-Mod-1.14.4.jar Anvil Tweaks {[email protected] DONE}
    Launched Version: 1.14.4-forge-28.2.23
    LWJGL: 3.2.2 build 10
    OpenGL: AMD Radeon HD 7570 GL version 4.5.13397 Compatibility Profile Context 15.200.1045.0, ATI Technologies Inc.
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    CPU: 8x Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
    OptiFine Version: OptiFine_1.14.4_HD_U_F4
    OptiFine Build: 20191025-153543
    Render Distance Chunks: 12
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: null
    OpenGlVersion: 4.5.13397 Compatibility Profile Context 15.200.1045.0
    OpenGlRenderer: AMD Radeon HD 7570
    OpenGlVendor: ATI Technologies Inc.
    CpuCount: 8

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • logs too big for one pastebin https://pastebin.com/ZjUGHu3u  https://pastebin.com/RqCUZf3X  https://pastebin.com/6ZPS99nD
    • You probably used jd-gui to open it, didn't you? Nothing wrong with that, I also made that mistake, except that Notch was a smart guy and he obfuscated the code. That's why you only see files called "a", "b", "c" and then a file that combines them all. As I said, use RetroMCP to deobfuscate the code so that you will 100% understand it and be able to navigate it.
    • Decompiling minecraft indev, infdev, alpha, beta or whichever legacy version is really easy. I'm not a plug, I just also got interested in modding legacy versions (Infdev to be specific). Use https://github.com/MCPHackers/RetroMCP-Java Once you install their client and the Zulu Architecture that they say they recommend (or use your own Java). I encountered some problems, so I run it with: "java -jar RetroMCP-Java-CLI.jar". You should run it in a seperate folder (not in downloads), otherwise the files and folders will go all over the place. How to use RetroMCP: Type setup (every time you want change version), copy-paste the version number from their list (they support indev), write "decompile" and done! The code will now be deobfuscated and filenames will be normal, instead of "a", "b" and "c"! Hope I helped you, but I don't expect you to reply, as this discussion is 9 years old! What a piece of history!  
    • I know that this may be a basic question, but I am very new to modding. I am trying to have it so that I can create modified Vanilla loot tables that use a custom enchantment as a condition (i.e. enchantment present = item). However, I am having trouble trying to implement this; the LootItemRandomChanceWithEnchantedBonusCondition constructor needs a Holder<Enchantment> and I am unable to use the getOrThrow() method on the custom enchantment declared in my mod's enchantments class. Here is what I have so far in the GLM:   protected void start(HolderLookup.Provider registries) { HolderLookup.RegistryLookup<Enchantment> registrylookup = registries.lookupOrThrow(Registries.ENCHANTMENT); LootItemRandomChanceWithEnchantedBonusCondition lootItemRandomChanceWithEnchantedBonusCondition = new LootItemRandomChanceWithEnchantedBonusCondition(0.0f, LevelBasedValue.perLevel(0.07f), registrylookup.getOrThrow(*enchantment here*)); this.add("nebu_from_deepslate", new AddItemModifier(new LootItemCondition[]{ LootItemBlockStatePropertyCondition.hasBlockStateProperties(Blocks.DEEPSLATE).build(), LootItemRandomChanceCondition.randomChance(0.25f).build(), lootItemRandomChanceWithEnchantedBonusCondition }, OrichalcumItems.NEBU.get())); }   Inserting Enchantments.[vanilla enchantment here] actually works but trying to declare an enchantment from my custom enchantments class as [mod enchantment class].[custom enchantment] does not work even though they are both a ResourceKey and are registered in Registries.ENCHANTMENT. Basically, how would I go about making it so that a custom enchantment declared as a ResourceKey<Enchantment> of value ResourceKey.create(Registries.ENCHANTMENT, ResourceLocation.fromNamespaceAndPath([modid], [name])), declared in a seperate enchantments class, can be used in the LootItemRandomChanceWithEnchantedBonusCondition constructor as a Holder? I can't use getOrThrow() because there is no level or block entity/entity in the start() method and it is running as datagen. It's driving me nuts.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.