Jump to content

The game crashed whilst initializing game Error: java.lang.NullPointerException: Registry Object not present


Recommended Posts

Posted

---- Minecraft Crash Report ----
// Who set us up the TNT?

Time: 4/29/20 7:31 PM
Description: Initializing game

java.lang.NullPointerException: Registry Object not present
    at java.util.Objects.requireNonNull(Objects.java:228) ~[?:1.8.0_74] {}
    at net.minecraftforge.fml.RegistryObject.get(RegistryObject.java:91) ~[?:?] {re:classloading}
    at trapcraft.TrapcraftMod.registerBlockColors(TrapcraftMod.java:108) ~[?:2.7.0] {re:classloading}
    at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212) ~[eventbus-2.0.0-milestone.1-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204) ~[eventbus-2.0.0-milestone.1-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.0.0-milestone.1-service.jar:?] {}
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168) ~[?:31.1] {re:classloading}
    at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:243) ~[?:?] {re:classloading}
    at java.util.HashMap.forEach(HashMap.java:1280) ~[?:1.8.0_74] {}
    at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:217) ~[?:?] {re:classloading,xf:fml:vampirism:get_all_scan_data}
    at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:243) ~[?:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:206) ~[?:?] {re:classloading}
    at net.minecraft.client.renderer.color.BlockColors.func_186723_a(BlockColors.java:76) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:420) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:166) ~[1.15.2-forge-31.1.30.jar:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_74] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_74] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_74] {}
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_74] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) ~[forge-1.15.2-31.1.30.jar:31.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.0.0-milestone.4.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.0.0-milestone.4.jar:?] {}


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

-- Head --
Thread: Render thread
Stacktrace:
    at java.util.Objects.requireNonNull(Objects.java:228)
    at net.minecraftforge.fml.RegistryObject.get(RegistryObject.java:91)
    at trapcraft.TrapcraftMod.registerBlockColors(TrapcraftMod.java:108)
    at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:212)
    at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:204)
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258)
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168)
    at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:243)
    at java.util.HashMap.forEach(HashMap.java:1280)
    at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:217)
    at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:243)
    at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:206)
    at net.minecraft.client.renderer.color.BlockColors.func_186723_a(BlockColors.java:76)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:420)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:166)
    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:498)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    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.15.2
    Minecraft Version ID: 1.15.2
    Operating System: Mac OS X (x86_64) version 10.14.6
    Java Version: 1.8.0_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1050723776 bytes (1002 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 4
    JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 5.0.0-milestone.4+67+b1a340b
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-2.0.0-milestone.1-service.jar eventbus PLUGINSERVICE 
        /forge-1.15.2-31.1.30.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.15.2-31.1.30.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-2.0.4-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.15.2-31.1.30.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.15.2-31.1.30.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.15.2-31.1.30.jar fml TRANSFORMATIONSERVICE 
    FML: 31.1
    Forge: net.minecraftforge:31.1.30
    FML Language Providers: 
        javafml@31.1
        minecraft@1
    Mod List: 
        forge-1.15.2-31.1.30-client.jar Minecraft {minecraft@1.15.2 CREATE_REGISTRIES}
        Lucky-Block-Mod-1.15.2.jar Lucky Block {lucky@1.15.2-1 CREATE_REGISTRIES}
        Reptile-Mod-1.15.2-Turtle.jar Turtle Mod {turtlemod@1.15.1-1.2.0-6 CREATE_REGISTRIES}
        Reptile-Mod-1.15.2-Crocodile.jar Crocodile Mod {crocmod@1.15.2-1.5.1-8 CREATE_REGISTRIES}
        PattysMoreTools-2-Mod-1.15.2.jar PattysMoreTools-2 {pattysmoretools@2.5 CREATE_REGISTRIES}
        ATE48s-XRay-Mod-1.15.2.jar XrayMod {atianxray@1.0.3 CREATE_REGISTRIES}
        ToLaserBlade-Mod-1.15.2.jar ToLaserBlade {tolaserblade@1.15.2-3.0.0.0 CREATE_REGISTRIES}
        Moving-Elevators-Mod-1.15.2.jar Moving Elevators {movingelevators@1.2.4 CREATE_REGISTRIES}
        Teletubbie-Mod-1.15.2.jar Teletubbies {teletubbies@6.0.0 CREATE_REGISTRIES}
        Simply-Backpacks-Mod-1.15.2.jar Simply Backpacks {simplybackpacks@1.15.2-1.4.0 CREATE_REGISTRIES}
        Trapcraft-Mod-1.15.2.jar Trapcraft {trapcraft@2.7.0 CREATE_REGISTRIES}
        Ring-of-Blink-Mod-1.15.2.jar Ring of Blink {ring_of_blink@1.1.10 CREATE_REGISTRIES}
        Cooking-for-Blockheads-Mod-1.15.2.jar Cooking for Blockheads {cookingforblockheads@8.0.1 CREATE_REGISTRIES}
        SecurityCraft-1.15.2.jar SecurityCraft {securitycraft@v1.8.17 CREATE_REGISTRIES}
        citadel-1.1.5-1.15.2.jar Citadel {citadel@1.1.5 CREATE_REGISTRIES}
        rats-5.1.0-1.15.2.jar Rats {rats@5.1.0 CREATE_REGISTRIES}
        Elementary-Staffs-Mod-1.15.2.jar Elementary Staffs {element@1.6 CREATE_REGISTRIES}
        Serene-Seasons-Mod-1.15.2.jar Serene Seasons {sereneseasons@1.15.2-3.0.0.49 CREATE_REGISTRIES}
        Reptile-Mod-1.15.2-Spider.jar Spider Mod {spidermod@1.15.2-1.0.0-8 CREATE_REGISTRIES}
        obfuscate-0.4.2-1.15.2.jar Obfuscate {obfuscate@0.4.2 CREATE_REGISTRIES}
        vehicle-mod-0.43.5-1.15.2.jar MrCrayfish's Vehicle Mod {vehicle@0.43.5 CREATE_REGISTRIES}
        Mutant-Beasts-Mod-1.15.2.jar Mutant Beasts {mutantbeasts@1.15.2-1.0.1 CREATE_REGISTRIES}
        Ring-of-Teleport-Mod-1.15.2.jar Ring of Teleport {ring_of_teleport@1.1.10 CREATE_REGISTRIES}
        worldedit-forge-mc1.15.2-7.1.0.jar WorldEdit {worldedit@7.1.0;48cc31c CREATE_REGISTRIES}
        secretrooms-6.0.5.jar Secret Rooms 6 {secretroomsmod@6.0.5 ERROR}
        MrCrayFishs-Furniture-1.15.2.jar MrCrayfish's Furniture Mod {cfm@7.0.0-pre16 CREATE_REGISTRIES}
        Vampirism-Mod-1.15.2.jar Vampirism {vampirism@1.6.0-alpha+20200223-1524 CREATE_REGISTRIES, teamlapenlib@1.6.0-alpha+20200223-1524 CREATE_REGISTRIES}
        Mahou-Tsukai-Mod-1.15.2.jar Mahou Tsukai {mahoutsukai@1.15.2-v1.15.15 CREATE_REGISTRIES}
        Wall-Jump-Remake-Mod-1.15.2.jar Wall-Jump! {walljump@1.15.2-1.3.3 CREATE_REGISTRIES}
        Carpet-Stairs-Mod-1.15.2.jar Carpet Stairs Mod {carpetstairsmod@1.1 CREATE_REGISTRIES}
        Mining-Gadgets-Mod-1.15.2.jar Mining Gadgets {mininggadgets@1.3.0 CREATE_REGISTRIES}
        forge-1.15.2-31.1.30-universal.jar Forge {forge@31.1.30 CREATE_REGISTRIES}
        GoProne-Mod-1.15.2.jar GoProne {goprone@1.15.x-1.1.1 CREATE_REGISTRIES}
        Respawnable-Pets-Mod-1.15.2.jar Respawnable Pets {respawnablepets@1.0.6.3 CREATE_REGISTRIES}
        PattysMoreStuff-Mod-1.15.2.jar pattysmorestuff {pattysmorestuff@1.2.4 CREATE_REGISTRIES}
        LegendOfHerobrine-1.15.2-0.2.1.jar The Legend of Herobrine {herobrine@0.2.1 CREATE_REGISTRIES}
        Iron-Chests-Mod-1.15.2.jar Iron Chests {ironchest@1.15.2-10.0.1 CREATE_REGISTRIES}
    Launched Version: 1.15.2-forge-31.1.30
    Backend library: LWJGL version 3.2.1 build 12
    Backend API: AMD Radeon R9 M390 OpenGL Engine GL version 2.1 ATI-2.11.20, ATI Technologies Inc.
    GL Caps: Using framebuffer using ARB_framebuffer_object extension
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    CPU: 4x Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz

Posted

The filenames of one or more of your mods suggests you got them from a repost site.

Please read up on the StopModReposts project (link in my signature) for info on why this is a bad thing.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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