Jump to content

My game crashes do to Error: java.lang.NullPointerException: Initializing game


CaptainDrex123

Recommended Posts

How do I fix this? I have tried the other ways on the internet but nothing works. Here is the Error log:

java.lang.NullPointerException: Initializing game
    at net.minecraft.client.renderer.color.BlockColors.func_186722_a(BlockColors.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at com.davenonymous.bonsaitrees2.misc.PotColorizer.init(PotColorizer.java:33) ~[?:2.0.2.35] {re:classloading}
    at net.minecraftforge.eventbus.ASMEventHandler_108_PotColorizer_init_Block.invoke(.dynamic) ~[?:?] {}
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-1.0.0-service.jar:?] {}
    at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168) ~[?:28.1] {re:classloading}
    at net.minecraftforge.fml.ModLoader.lambda$postEvent$30(ModLoader.java:243) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader$$Lambda$2462/947912221.accept(Unknown Source) ~[?:?] {}
    at java.util.HashMap.forEach(HashMap.java:1280) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:217) ~[?:?] {re:classloading}
    at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:243) ~[?:?] {re:classloading}
    at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:194) ~[?:?] {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.func_71384_a(Minecraft.java:502) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365) [?:?] {re:classloading,pl:accesstransformer:B,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.1.116.jar:28.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$405/1887466020.call(Unknown Source) [forge-1.14.4-28.1.116.jar:28.1] {}
    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.color.BlockColors.func_186722_a(BlockColors.java:97)
    at com.davenonymous.bonsaitrees2.misc.PotColorizer.init(PotColorizer.java:33)
    at net.minecraftforge.eventbus.ASMEventHandler_108_PotColorizer_init_Block.invoke(.dynamic)
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80)
    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 net.minecraftforge.fml.ModLoader$$Lambda$2462/947912221.accept(Unknown Source)
    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:194)
    at net.minecraft.client.renderer.color.BlockColors.func_186723_a(BlockColors.java:76)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:502)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:365)
    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$405/1887466020.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: 5312355752 bytes (5066 MB) / 6442450944 bytes (6144 MB) up to 6442450944 bytes (6144 MB)
    CPUs: 12
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx6G -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.1.116.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.116.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-1.0.1-milestone.0.1+94458e7-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.14.4-28.1.116.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.14.4-28.1.116.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.14.4-28.1.116.jar fml TRANSFORMATIONSERVICE 
    FML: 28.1
    Forge: net.minecraftforge:28.1.116
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        Just-Enough-Beacons-Mod-1.14.4.jar Just Enough Beacons {[email protected] CREATE_REGISTRIES}
        Torch-Slabs-Mod-1.14.4.jar Torch Slab Mod {[email protected] CREATE_REGISTRIES}
        damage_indicator-0.0.8.jar Ama's Damage Indicator {[email protected] CREATE_REGISTRIES}
        Web-Slinger-Mod-1.14.4.jar WebSlinger {[email protected] CREATE_REGISTRIES}
        Rhodonite-Mod-1.14.4.jar Rhodonite {[email protected] ERROR}
        Baby-Animals-Mod-1.14.4.jar Baby Animals Model Swapper {[email protected] CREATE_REGISTRIES}
        jei-1.14.4-6.0.0.27.jar Just Enough Items {[email protected] CREATE_REGISTRIES}
        Extra-Bows-Mod-1.14.4.jar Extra Bows {[email protected] b9 CREATE_REGISTRIES}
        Cosmetic-Beds-Mod-1.14.4.jar Cosmetic Beds {[email protected] CREATE_REGISTRIES}
        caelus-FORGE-1.14.4-1.0.1.1.jar Caelus API {[email protected] CREATE_REGISTRIES}
        Fimbulwinter-Mod-1.14.4.jar Fimbulwinter {[email protected] CREATE_REGISTRIES}
        Colytra-Mod-1.14.4.jar Colytra {[email protected] CREATE_REGISTRIES}
        Uncle-Gs-Glass-Mod-1.14.4.jar Uncle George's Glass {[email protected] CREATE_REGISTRIES}
        Basic-Nether-Ores-Mod-1.14.4.jar Basic Nether Ores {[email protected] CREATE_REGISTRIES}
        Engineers-Tools-Mod-1.14.4.jar Engineer's Tools {[email protected] CREATE_REGISTRIES}
        U-Team-Core-1.14.4.jar U Team Core {[email protected] CREATE_REGISTRIES}
        wumpleutil-1.14.4-3.2.0.jar Wumple Util Library {[email protected] CREATE_REGISTRIES}
        Secret-Rooms-Mod-1.14.4.jar Secret Rooms 6 {secretroomsmod@NONE CREATE_REGISTRIES}
        alib-1.14.4-8.jar A Lib {[email protected] CREATE_REGISTRIES}
        Snow-Real-Magic-Mod-1.14.4.jar Snow! Real Magic! {[email protected] CREATE_REGISTRIES}
        Kiwi-1.14.4-2.6.3.jar Kiwi {[email protected] CREATE_REGISTRIES}
        forge-1.14.4-28.1.116-universal.jar Forge {[email protected] CREATE_REGISTRIES}
        Respawnable-Pets-Mod-1.14.4.jar Respawnable Pets {[email protected] CREATE_REGISTRIES}
        Refined-Storage-Mod-1.14.4.jar Refined Storage {[email protected] CREATE_REGISTRIES}
        SimpleOres-Mod-1.14.4.jar Simple Ores {[email protected] CREATE_REGISTRIES}
        Iron-Chests-Mod-1.14.4.jar Iron Chests {[email protected] CREATE_REGISTRIES}
        Alchemistry-Mod-1.14.4.jar Alchemistry {[email protected] CREATE_REGISTRIES}
        forge-1.14.4-28.1.116-client.jar Minecraft {[email protected] CREATE_REGISTRIES}
        titanium-1.14.4-2.2.10.jar Titanium {[email protected] CREATE_REGISTRIES}
        Heaven-Paradise-Plant-Mod-1.14.4.jar Heaven Paradise Plant {[email protected] CREATE_REGISTRIES}
        Useful-Railroads-Mod-1.14.4.jar Useful Railroads {[email protected] CREATE_REGISTRIES}
        Biomes-O-Plenty-Mod-1.14.4.jar Biomes O' Plenty {[email protected] CREATE_REGISTRIES}
        Blue-Power-Mod-1.14.4.jar Blue Power {[email protected] CREATE_REGISTRIES}
        Practical-Tools-Mod-1.14.4.jar Practical Tools {[email protected] CREATE_REGISTRIES}
        Extra-Buttons-Mod-1.14.4.jar ExtraButtons {[email protected] CREATE_REGISTRIES}
        Forbidden-Arcanus-Mod-1.14.4.jar Forbidden & Arcanus {[email protected] CREATE_REGISTRIES}
        Simple-Farming-Mod-1.14.4.jar Simple Farming {[email protected] CREATE_REGISTRIES}
        Corail-Woodcutter-Mod-1.14.4.jar Corail Woodcutter {[email protected] CREATE_REGISTRIES}
        Xaeros-Minimap-Mod-1.14.4.jar Xaero's Minimap {[email protected] CREATE_REGISTRIES}
        chemlib-1.14.4-15.jar Chem Lib {[email protected] CREATE_REGISTRIES}
        Libnonymous-Library-1.14.4.jar Libnonymous {[email protected] CREATE_REGISTRIES}
        Bonsai-Trees-Mod-1.14.4.jar Bonsai Trees 2 {[email protected] CREATE_REGISTRIES}
        Animalium-Mod-1.14.4.jar Animalium {[email protected] CREATE_REGISTRIES}
        Tubes-Reloaded-Mod-1.14.4.jar Tubes Reloaded {[email protected] CREATE_REGISTRIES}
        Obfuscate-Mod-1.14.4.jar Obfuscate {[email protected] CREATE_REGISTRIES}
        Structurize-Mod-1.14.4.jar Structurize {[email protected] CREATE_REGISTRIES}
        cfm-7.0.0-pre15-mc1.14.4.jar MrCrayfish's Furniture Mod {[email protected] CREATE_REGISTRIES}
        Mob-Catcher-Mod-1.14.4.jar Mob Catcher {[email protected] CREATE_REGISTRIES}
        Items-Dont-Break-Mod-1.14.4.jar Items Don't Break {itemsdontbreak@version CREATE_REGISTRIES}
        XL-Food-Mod-1.14.4.jar XL Food Mod {[email protected] CREATE_REGISTRIES}
        Turtle-Shell-Drop-Mod-1.14.4.jar Turtle Shell Drop {[email protected] CREATE_REGISTRIES}
        Mystical-Wildlife-Mod-1.14.4.jar Mystical Wildlife {[email protected] CREATE_REGISTRIES}
        Speedy-Ladders-Mod-1.14.4.jar Speedy Ladders {[email protected] CREATE_REGISTRIES}
        CleanView-Mod-1.14.4.jar CleanView {[email protected] CREATE_REGISTRIES}
        Stairway-to-Aether-Mod-1.14.4.jar StairwayToAether {stairway@v10 CREATE_REGISTRIES}
    Launched Version: 1.14.4-forge-28.1.116
    LWJGL: 3.2.2 build 10
    OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 432.00, NVIDIA Corporation
    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: 12x Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
Edited by CaptainDrex123
Link to comment
Share on other sites

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.

Spoiler

Logs (Most issues require logs to diagnose):

Spoiler

Please post logs using one of the following sites (Thank you Lumber Wizard for the list):

https://gist.github.com/100MB Requires member (Free)

https://pastebin.com/: 512KB as guest, 10MB as Pro ($$$)

https://hastebin.com/: 400KB

Do NOT use sites like Mediafire, Dropbox, OneDrive, Google Drive, or a site that has a countdown before offering downloads.

 

What to provide:

...for Crashes and Runtime issues:

Minecraft 1.14.4 and newer:

Post debug.log

Older versions:

Please update...

 

...for Installer Issues:

Post your installer log, found in the same place you ran the installer

This log will be called either installer.log or named the same as the installer but with .log on the end

Note for Windows users:

Windows hides file extensions by default so the installer may appear without the .jar extension then when the .log is added the log will appear with the .jar extension

 

Where to get it:

Mojang Launcher: When using the Mojang launcher debug.log is found in .minecraft\logs.

 

Curse/Overwolf: If you are using the Curse Launcher, their configurations break Forge's log settings, fortunately there is an easier workaround than I originally thought, this works even with Curse's installation of the Minecraft launcher as long as it is not launched THROUGH Twitch:

Spoiler
  1. Make sure you have the correct version of Forge installed (some packs are heavily dependent on one specific build of Forge)
  2. Make a launcher profile targeting this version of Forge.
  3. Set the launcher profile's GameDir property to the pack's instance folder (not the instances folder, the folder that has the pack's name on it).
  4. Now launch the pack through that profile and follow the "Mojang Launcher" instructions above.

Video:

Spoiler

 

 

 

or alternately, 

 

Fallback ("No logs are generated"):

If you don't see logs generated in the usual place, provide the launcher_log.txt from .minecraft

 

Server Not Starting:

Spoiler

If your server does not start or a command window appears and immediately goes away, run the jar manually and provide the output.

 

Reporting Illegal/Inappropriate Adfocus Ads:

Spoiler

Get a screenshot of the URL bar or copy/paste the whole URL into a thread on the General Discussion board with a description of the Ad.

Lex will need the Ad ID contained in that URL to report it to Adfocus' support team.

 

Posting your mod as a GitHub Repo:

Spoiler

When you have an issue with your mod the most helpful thing you can do when asking for help is to provide your code to those helping you. The most convenient way to do this is via GitHub or another source control hub.

When setting up a GitHub Repo it might seem easy to just upload everything, however this method has the potential for mistakes that could lead to trouble later on, it is recommended to use a Git client or to get comfortable with the Git command line. The following instructions will use the Git Command Line and as such they assume you already have it installed and that you have created a repository.

 

  1. Open a command prompt (CMD, Powershell, Terminal, etc).
  2. Navigate to the folder you extracted Forge’s MDK to (the one that had all the licenses in).
  3. Run the following commands:
    1. git init
    2. git remote add origin [Your Repository's URL]
      • In the case of GitHub it should look like: https://GitHub.com/[Your Username]/[Repo Name].git
    3. git fetch
    4. git checkout --track origin/master
    5. git stage *
    6. git commit -m "[Your commit message]"
    7. git push
  4. Navigate to GitHub and you should now see most of the files.
    • note that it is intentional that some are not synced with GitHub and this is done with the (hidden) .gitignore file that Forge’s MDK has provided (hence the strictness on which folder git init is run from)
  5. Now you can share your GitHub link with those who you are asking for help.

[Workaround line, please ignore]

 

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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