Jump to content

Error: java.lang.NullPointerException: Initializing game


Recommended Posts

When I tried to launch my newly created modpack, my game crashed and I got the error message java.lang.NullPointerException: Initializing game, and I was wondering how to fix it. Sorry if it's something super obvious, I'm really bad with technology. Here is the full crash report. 

Zxz---- Minecraft Crash Report ----

WARNING: coremods are present:
  WolfArmorCore (wolfarmor-1.12.2-3.7.5-universal-signed.jar)
  llibrary (llibrary-core-1.0.11-1.12.2.jar)
  TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)
  SSLoadingPlugin (SereneSeasons-1.12.2-1.2.18-universal.jar)
  BetterFoliageLoader (BetterFoliage-MC1.12-2.3.2.jar)
  ForgelinPlugin (Forgelin-1.8.4.jar)
  JustEnoughIDs Extension Plugin (JustEnoughIDs-1.0.3-55.jar)
  MixinLoader (water-erosion-1.12.2-forge-1.1.1-beta1-full.jar)
  iceandfire (iceandfire-1.9.1-1.12.2.jar)
Contact their authors BEFORE contacting forge

// Sorry :(

Time: 6/22/21 6:02 PM
Description: Initializing game

java.lang.NullPointerException: Initializing game
    at net.minecraft.client.util.SearchTree.func_194039_a(SourceFile:48)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
    at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:48)
    at net.minecraft.client.util.SearchTree.func_194043_a(SourceFile:44)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:604)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:529)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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.util.SearchTree.func_194039_a(SourceFile:48)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
    at net.minecraft.client.util.SearchTree.func_194042_b(SourceFile:48)
    at net.minecraft.client.util.SearchTree.func_194043_a(SourceFile:44)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
    at net.minecraft.client.Minecraft.func_193986_ar(Minecraft.java:604)
    at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:529)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:378)
    at net.minecraft.client.main.Main.main(SourceFile:123)
    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.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
    Minecraft Version: 1.12.2
    Operating System: Mac OS X (x86_64) version 10.16
    Java Version: 1.8.0_74, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 1136445016 bytes (1083 MB) / 2754609152 bytes (2627 MB) up to 3817865216 bytes (3641 MB)
    JVM Flags: 3 total; -Xmx4096m -Xms256m -XX:PermSize=256m
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.42 Powered by Forge 14.23.5.2855 76 mods loaded, 76 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

    | State | ID                     | Version             | Source                                             | Signature                                |
    |:----- |:---------------------- |:------------------- |:-------------------------------------------------- |:---------------------------------------- |
    | LCH   | minecraft              | 1.12.2              | minecraft.jar                                      | None                                     |
    | LCH   | mcp                    | 9.42                | minecraft.jar                                      | None                                     |
    | LCH   | FML                    | 8.0.99.99           | forge-1.12.2-14.23.5.2855.jar                      | e3c3d50c7c986df74c645c0ac54639741c90a557 |


    | LCH   | forge                  | 14.23.5.2855        | forge-1.12.2-14.23.5.2855.jar                      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
    | LCH   | damageindicatorsmod    | 1.0                 | [1.12.2]DamageIndicatorsMod-3.5.1.jar              | None                                     |
    | LCH   | movillages             | 1.5.4               | [1.12]MoVillages-1.5.4.jar                         | None                                     |
    | LCH   | ageofweapons           | 0.13.5              | Age of Weapons 1.12.2  (v.0.13.5).jar              | None                                     |
    | LCH   | biomesoplenty          | 7.0.1.2441          | BiomesOPlenty-1.12.2-7.0.1.2441-universal.jar      | None                                     |
    | LCH   | craftstudioapi         | 1.0.0               | CraftStudioAPI-universal-1.0.1.95-mc1.12-alpha.jar | None                                     |
    | LCH   | animania               | 2.0.3.28            | animania-1.12.2-base-2.0.3.28.jar                  | None                                     |
    | LCH   | assassins_craft        | 1.0.0               | AssassinsCraft 0.91.jar                            | None                                     |
    | LCH   | ichunutil              | 7.2.2               | iChunUtil-1.12.2-7.2.2.jar                         | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCH   | backtools              | 7.0.1               | BackTools-1.12.2-7.0.1.jar                         | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCH   | baubles                | 1.5.2               | Baubles-1.12-1.5.2.jar                             | None                                     |
    | LCH   | betterburning          | 0.9.2               | BetterBurning-1.12.2-0.9.2.jar                     | d476d1b22b218a10d845928d1665d45fce301b27 |
    | LCH   | bettercaves            | 1.12.2              | bettercaves-1.12.2-2.0.4.jar                       | None                                     |
    | LCH   | forgelin               | 1.8.4               | Forgelin-1.8.4.jar                                 | None                                     |
    | LCH   | betterfoliage          | 2.3.1               | BetterFoliage-MC1.12-2.3.2.jar                     | None                                     |
    | LCH   | bookworm               | 1.12.2-2.5.2.1      | bookworm-1.12.2-2.5.2.1.jar                        | None                                     |
    | LCH   | carryon                | 1.12.3              | carryon-1.12.2-1.12.4.16.jar                       | fd21553434f4905f2f73ea7838147ac4ea07bd88 |
    | LCH   | ceanimals              | 1.4.1               | ceanimals-1.12.2-1.4.1.jar                         | None                                     |
    | LCH   | chiselsandbits         | 14.33               | chiselsandbits-14.33.jar                           | None                                     |
    | LCH   | clearwater             | 1.2                 | clearwater-1.2.jar                                 | None                                     |
    | LCH   | coherentvillages       | v0.0.5.10           | coherent_villages-pre-release_v0.0.5.10.jar        | None                                     |
    | LCH   | coralreef              | 2.0                 | CoralReef-2.5-1.12.2.jar                           | None                                     |
    | LCH   | sereneseasons          | 1.2.18              | SereneSeasons-1.12.2-1.2.18-universal.jar          | None                                     |
    | LCH   | orelib                 | 3.6.0.1             | OreLib-1.12.2-3.6.0.1.jar                          | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCH   | dsurround              | 3.6.1.0             | DynamicSurroundings-1.12.2-3.6.1.0.jar             | 7a2128d395ad96ceb9d9030fbd41d035b435753a |
    | LCH   | dynamictrees           | 1.12.2-0.9.23       | DynamicTrees-1.12.2-0.9.23.jar                     | None                                     |
    | LCH   | dynamictreesbop        | 1.12.2-1.5.1        | DynamicTreesBOP-1.12.2-1.5.1.jar                   | None                                     |
    | LCH   | traverse               | 1.6.0               | Traverse-1.12.2-1.6.0-69.jar                       | None                                     |
    | LCH   | dttraverse             | 1.12.2-2.1          | DynamicTreesTraverse-1.12.2-2.1.jar                | None                                     |
    | LCH   | ebwizardry             | 4.3.4               | ElectroblobsWizardry-4.3.4-MC1.12.2.jar            | None                                     |
    | LCH   | endangered_animals     | 1.0.0               | EndangeredAnimals-1.12.2-1.0.2.jar                 | None                                     |
    | LCH   | firstaid               | 1.6.16              | firstaid-1.6.16.jar                                | 7904c4e13947c8a616c5f39b26bdeba796500722 |
    | LCH   | cfm                    | 6.3.1               | furniture-6.3.1-1.12.2.jar                         | None                                     |
    | LCH   | grapplemod             | 1.12.2-v11.1        | grapplemod-v11.1-1.12.2.jar                        | None                                     |
    | LCH   | gravestone             | 1.10.3              | gravestone-1.10.3.jar                              | None                                     |
    | LCH   | llibrary               | 1.7.20              | llibrary-1.7.20-1.12.2.jar                         | b9f30a813bee3b9dd5652c460310cfcd54f6b7ec |
    | LCH   | iceandfire             | 1.9.1               | iceandfire-1.9.1-1.12.2.jar                        | None                                     |
    | LCH   | iizvullok_icemountains | 0.3.1               | IceMountains_0.3.2_1.12.2.jar                      | None                                     |
    | LCH   | jeid                   | 1.0.3-55            | JustEnoughIDs-1.0.3-55.jar                         | None                                     |
    | LCH   | dogslie                | 1.0.2               | LetSleepingDogsLie-1.12.2-1.0.2.jar                | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
    | LCH   | mcwfurnitures          | 1.0.1               | mcw-furniture-1.0.1-mc1.12.2beta.jar               | None                                     |
    | LCH   | tfc                    | 1.7.19.177          | TerraFirmaCraft-MC1.12.2-1.7.19.177.jar            | None                                     |
    | LCH   | mcwfurnituretfc        | 1.1.0               | mcw-furniture-tfc-1.1.0.jar                        | None                                     |
    | LCH   | moarboats              | 4.1.2.1             | moarboats-1.12.2-4.1.2.1.jar                       | None                                     |
    | LCH   | mobends                | 1.0.0-beta-20.06.20 | MoBends_1.12.2-1.0.0-beta-20.06.20.jar             | None                                     |
    | LCH   | plusminecraft          | 1.0.0               | Moddaggers3.jar                                    | None                                     |
    | LCH   | morebeautifulbuttons   | 1.12.2-1.7.3.20     | morebeautifulbuttons-1.12.2-1.7.3.20.jar           | None                                     |
    | LCH   | naturalbabyanimals     | 1.2.2               | naturalbabyanimals-1.2.2-mc1.12.x.jar              | None                                     |
    | LCH   | samsocean              | 1.0.0               | OceanFloorPatches-1.12-1.0.0.jar                   | None                                     |
    | LCH   | rfp2                   | 1.12.2-1.3.2        | RealFirstPerson2-1.12.2-1.3.2.jar                  | None                                     |
    | LCH   | cobwebs                | 1.0.4               | realistic-cobwebs-1.12.2-1.0.4.jar                 | None                                     |
    | LCH   | realdrops              | 1.2.14              | RealisticItemDrops-1.2.14.jar                      | None                                     |
    | LCH   | somanyenchantments     | 0.5.2               | SoManyEnchantments-0.5.2.jar                       | None                                     |
    | LCH   | spartanweaponry        | beta 1.3.8          | SpartanWeaponry-1.12.2-beta-1.3.8.jar              | None                                     |
    | LCH   | spartanfire            | 0.08                | spartanfire-0.08.jar                               | None                                     |
    | LCH   | spartanshields         | 1.5.4               | SpartanShields-1.12.2-1.5.4.jar                    | None                                     |
    | LCH   | speedbasedfalldamage   | 1.0.2               | SpeedBasedFallDamage-1.0.2.jar                     | None                                     |
    | LCH   | spiderstpo             | 1.0.3               | spiders-2.0-1.12.2-1.0.3.jar                       | None                                     |
    | LCH   | sebas_tameable_spiders | 1.0.0               | spiders_beta_0.1_1.12.2.jar                        | None                                     |
    | LCH   | travelersbackpack      | 1.0.35              | TravelersBackpack-1.12.2-1.0.35.jar                | None                                     |
    | LCH   | tumbleweed             | 1.12-0.4.7          | tumbleweed-1.12-0.4.7.jar                          | None                                     |
    | LCH   | uniquee                | 1.9.0               | Unique Enchantments-1.12.2-2.0.1.jar               | None                                     |
    | LCH   | veinminer              | 0.38.2              | VeinMiner-1.12-0.38.2.647+b31535a.jar              | None                                     |
    | LCH   | veinminermodsupport    | 0.38.2              | VeinMiner-1.12-0.38.2.647+b31535a.jar              | None                                     |
    | LCH   | walljump               | 1.3.2               | walljump-1.12.2-1.3.2.jar                          | None                                     |
    | LCH   | water-erosion          | 1.1.1-beta1         | water-erosion-1.12.2-forge-1.1.1-beta1-full.jar    | None                                     |
    | LCH   | wolfarmor              | 3.7.5               | wolfarmor-1.12.2-3.7.5-universal-signed.jar        | e94e38a605842477f3ec218e6fcf781f6b3f7f89 |
    | LCH   | worleycaves            | 1.5.2               | worleycaves-1.12.2-1.5.2.jar                       | None                                     |
    | LCH   | zawa                   | 1.12.2-2.1.3        | zawa-1.12.2-2.1.3.jar                              | 3ee471ded1bba54aa82f4f5ca5ca82dd67b8ef42 |
    | LCH   | ironagefurniture       | 0.2.0.5             | ironagefurniture 1.12.2 v0.2.0.5.jar               | None                                     |
    | LCH   | snowrealmagic          | 0.3.3               | SnowRealMagic-0.3.3.jar                            | None                                     |
    | LCH   | rtg                    | 6.1.0.0-snapshot.1  | RTG-1.12.2-6.1.0.0-snapshot.1.jar                  | None                                     |
    | LCH   | betteranimalsplus      | 9.0.1               | betteranimalsplus-1.12.2-9.0.1.jar                 | None                                     |

    Loaded coremods (and transformers): 
WolfArmorCore (wolfarmor-1.12.2-3.7.5-universal-signed.jar)
  
llibrary (llibrary-core-1.0.11-1.12.2.jar)
  net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer
  net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher
TransformLoader (DynamicSurroundings-1.12.2-3.6.1.0.jar)
  
SSLoadingPlugin (SereneSeasons-1.12.2-1.2.18-universal.jar)
  sereneseasons.asm.transformer.EntityRendererTransformer
  sereneseasons.asm.transformer.WorldTransformer
BetterFoliageLoader (BetterFoliage-MC1.12-2.3.2.jar)
  mods.betterfoliage.loader.BetterFoliageTransformer
ForgelinPlugin (Forgelin-1.8.4.jar)
  
JustEnoughIDs Extension Plugin (JustEnoughIDs-1.0.3-55.jar)
  org.dimdev.jeid.JEIDTransformer
MixinLoader (water-erosion-1.12.2-forge-1.1.1-beta1-full.jar)
  
iceandfire (iceandfire-1.9.1-1.12.2.jar)
  com.github.alexthe666.iceandfire.patcher.IceAndFireRuntimePatcher
    GL info: ' Vendor: 'Apple' Version: '2.1 Metal - 71.5.9' Renderer: 'Apple M1'
    Launched Version: forge-14.23.5.2855
    LWJGL: 2.9.2
    OpenGL: Apple M1 GL version 2.1 Metal - 71.5.9, Apple
    GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because ARB_framebuffer_object 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 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    CPU: 8x Apple M1

Link to comment
Share on other sites

1.12 is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

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

Guest
This topic is now closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • no this one https://pastebin.com/5uMxHeWf
    • I am in such a mess. I have lost over 4.7m due to a scammer... It started as bank wires and then bitcoin. it is hard to imagine but it is true and can send any proof, then I tried to use a couple of recovery companies and was as well. Graphic design has been more than just a hobby for me since high school—it has become a thriving career. Starting in my parents' garage, I eventually expanded to my office, running a successful graphic design business. However, like many, I faced the need to diversify my investments due to inflation. This led me to invest 60.16 in Bitcoin, a decision that paid off handsomely as my investment grew to 4.7m over time. This financial windfall allowed me to upgrade my equipment and take on more ambitious projects, furthering the growth of my business. Unfortunately, my excitement was abruptly cut short when I fell victim to a hacking incident. Malware infected my computer, giving hackers access to my Bitcoin wallet. The devastation of potentially losing all my hard-earned savings and plans weighed heavily on me. At this dire moment, a fellow designer suggested Linux Cyber Security Company as a potential solution. Desperate for a lifeline, I reached out to them, hoping for a miracle. The response from Linux Cyber Security Company was prompt, incredibly professional, and effective. Their team quickly traced the hacker’s activities and recovered most of my funds, alleviating a significant amount of stress and uncertainty. Beyond the recovery, they took the time to educate me on essential practices to secure my Bitcoin holdings better. They emphasized using antivirus software to prevent malware infections, avoiding suspicious downloads, and the added security provided by hardware wallets. This experience served as a critical wake-up call for me. It highlighted the vulnerabilities inherent in digital assets and underscored the importance of robust security measures. Thanks to the guidance and expertise of Linux Cyber Security Company, I now feel more equipped to protect my digital assets proactively. Their insights have empowered me to implement stronger security protocols in my business operations and personal finances alike. With my Bitcoin funds securely recovered and a newfound understanding of digital security best practices, I am more confident in navigating future challenges. This journey has reinforced my commitment to safeguarding my hard-earned assets and leveraging technology responsibly. I am optimistic about the growth opportunities ahead, creatively in graphic design and prudently in investment strategies. In conclusion, while the hacking incident was a setback, it ultimately became a catalyst for enhancing my digital security awareness and resilience. I am grateful to Linux Cyber Security Company for their expertise and support during a challenging time, enabling me to continue pursuing my passion for graphic design with renewed confidence and financial stability. Contact a professional company I am sure they can help you with your case too, Website [www.linuxcybersecurity.com Email the team; info@)(linuxcybersecurity.com
    • https://pastebin.com/B2HnBZTa
    • it was easy villager mate, thanks ill see how to do it without that mod! thanks
  • Topics

×
×
  • Create New...

Important Information

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