Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How to fix: The game crashed whilst rendering overlay Error: java.lang.ExceptionInInitializerError: null Exit Code: -1


djninja234
 Share

Recommended Posts

Here is the crash report could someone please help me with this

 

 

---- Minecraft Crash Report ----
// There are four lights!

Time: 9/12/21 11:20 PM
Description: Rendering overlay

java.lang.ExceptionInInitializerError: null
    at net.minecraft.client.renderer.model.ModelBakery.handler$zbp000$onBeforeTextures(ModelBakery.java:649) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterfoliage.common.mixins.json:MixinModelBakery,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.model.ModelBakery.processLoading(ModelBakery.java:196) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterfoliage.common.mixins.json:MixinModelBakery,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraftforge.client.model.ModelLoader.<init>(ModelLoader.java:72) ~[?:?] {re:classloading}
    at net.minecraft.client.renderer.model.ModelManager.func_212854_a_(ModelManager.java:55) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.renderer.model.ModelManager.func_212854_a_(ModelManager.java:19) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.resources.ReloadListener.func_215270_b(SourceFile:11) ~[?:?] {re:classloading}
    at net.minecraft.client.resources.ReloadListener$$Lambda$2523/1864630663.get(Unknown Source) ~[?:?] {}
    at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1582) ~[?:1.8.0_51] {}
    at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1574) ~[?:1.8.0_51] {}
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[?:1.8.0_51] {}
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) ~[?:1.8.0_51] {}
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689) ~[?:1.8.0_51] {}
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) ~[?:1.8.0_51] {}
Caused by: java.lang.IllegalStateException: ModLoadingContext.get().extension() must not be null
    at net.alexwells.kottle.FMLKotlinModLoadingContext.get(FMLKotlinModLoadingContext.kt:9) ~[?:1.5.2] {re:classloading}
    at mods.betterfoliage.BetterFoliageMod.<clinit>(BetterFoliageMod.kt:33) ~[?:2.6.4] {re:mixin,re:classloading}
    ... 13 more


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:472)

-- Overlay render details --
Details:
    Overlay name: net.minecraft.client.gui.ResourceLoadProgressGui
Stacktrace:
    at net.minecraft.client.renderer.GameRenderer.func_195458_a(GameRenderer.java:472)
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:924)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:553)
    at net.minecraft.client.main.Main.main(SourceFile:204)
    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$450/525527919.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.15.2
    Minecraft Version ID: 1.15.2
    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: 1285396480 bytes (1225 MB) / 1774714880 bytes (1692 MB) up to 3817865216 bytes (3641 MB)
    CPUs: 12
    JVM Flags: 5 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m -XX:PermSize=256m
    ModLauncher: 5.1.0+69+master.79f13f7
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /eventbus-2.2.0-service.jar eventbus PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar runtimedistcleaner PLUGINSERVICE 
        /forge-1.15.2-31.2.0.jar fml TRANSFORMATIONSERVICE 
        /_MixinBootstrap-1.1.0.jar mixinbootstrap TRANSFORMATIONSERVICE 
        /_MixinBootstrap-1.1.0.jar mixin PLUGINSERVICE 
        /_MixinBootstrap-1.1.0.jar mixinbootstrap PLUGINSERVICE 
    FML: 31.2
    Forge: net.minecraftforge:31.2.0
    FML Language Providers: 
        javafml@31.2
        minecraft@1
        kotlinforforge@1.15.1
        kotlinfml@1.5.2
    Mod List: 
        more_onderground_structures_1.15.2_2.jar more underground structures {more_underground_structures@1.0.0 NONE}
        mowziesmobs-1.5.14.jar Mowzie's Mobs {mowziesmobs@1.5.14 NONE}
        WizardAnimals_2.4.jar Wizard Animals Plus {wizard_animals_plus@2.4.0 NONE}
        SlimyBoyos-2.0.1.2.jar SlimyBoyos {slimyboyos@2.0.1.2 NONE}
        torchslabmod-1.15.2_v1.7.0.jar Torch Slab Mod {torchslabmod@1.7.0 NONE}
        spiders-2.0-1.15.2-1.0.4.jar Spiders 2.0 {spiderstpo@1.0.4 NONE}
        TsgStructures1.0.1-MC1.15.2.jar TSG Structures {tsg_structures@1.0.0 NONE}
        jei-1.15.2-6.0.3.16.jar Just Enough Items {jei@6.0.3.16 NONE}
        futuremc-1.15.2-1.1.0.jar Future MC {futuremc@1.15.2-1.1.0 NONE}
        the-conjurer-1.15.2-1.0.13.jar The Conjurer {conjurer_illager@1.0.13 NONE}
        Abnormals-Core-1.15.2-1.0.6.jar Abnormals Core {abnormals_core@1.0.6 NONE}
        borderless-1.15.2-1.1.0.jar Borderless Window {borderless@1.15.2-1.1.0 NONE}
        Upgrade-Aquatic-1.15.2-1.7.1.jar Upgrade Aquatic {upgrade_aquatic@1.7.1 NONE}
        pitg-1.15.2-1.4.1.jar Pane In The Glass {pitg@1.15.2-1.4.1 NONE}
        BetterCaves-1.15.2-1.0.jar YUNG's Better Caves {bettercaves@1.15.2-1.0 NONE}
        Waystones_1.15.2-6.0.2.jar Waystones {waystones@6.0.2 NONE}
        Placebo-1.15.2-3.1.1.jar Placebo {placebo@3.1.1 NONE}
        tumbleweed-1.15-0.4.8.jar Tumbleweed {tumbleweed@1.15-0.4.8 NONE}
        betteranimalsplus-1.15.2-10.2.0.jar Better Animals Plus {betteranimalsplus@10.2.0 NONE}
        WitherSkeletonTweaks-1.15.2-4.0.2.jar Wither Skeleton Tweaks {wstweaks@4.0.2 NONE}
        MutantBeasts-1.15.2-1.0.8.jar Mutant Beasts {mutantbeasts@1.15.2-1.0.8 NONE}
        My Hero Academia - 0.5.1 - MC 1.15.2 - Bugfix.jar My Hero Academia Mod {mha@0.1.1 NONE}
        guardvillagers-1.15.2-1.0.8.jar Guard Villagers {guardvillagers@1.0.7 NONE}
        outvoted-1.15.2-1.2.1-rc1.jar Outvoted {outvoted@1.2.1-rc1 NONE}
        walljump-forge-1.15.2-1.3.5.jar Wall-Jump! {walljump@1.15.2-1.3.5 NONE}
        iChunUtil-1.15.2-8.0.3.jar iChunUtil {ichunutil@8.0.3 NONE}
        traverse-1.15.2-3.2.0.jar Traverse {traverse@1.15.2-3.2.0 NONE}
        JustEnoughResources-1.15.2-0.10.1.77.jar Just Enough Resources {jeresources@0.10.1.77 NONE}
        mysticalworld-1.15.2-2.1.3.jar Mystical World {mysticalworld@1.15.2-2.1.3 NONE}
        PiratesAndLooters6.2-1.15.2.jar Pirates_And_Looters_Mod {pirates_and_looters_mod@1.0.0 NONE}
        forge-1.15.2-31.2.0-universal.jar Forge {forge@31.2.0 NONE}
        mysticallib-1.15.2-2.0.1.jar Mystical Lib {mysticallib@1.15.2-2.0.1 NONE}
        dash-1.15.2-1.0.1.jar Dash {dash@1.0.1 NONE}
        structure-gel-api-1.15.2-1.1.0.jar Structure Gel API {structure_gel@1.1.0 NONE}
        forge-1.15.2-31.2.0-client.jar Minecraft {minecraft@1.15.2 NONE}
        repurposedstructures-1.15.2-1.7.2.jar Repurposed Structures {repurposed_structures@1.15.2-1.7.2 NONE}
        swingthroughgrass-1.15.2-1.4.1.jar SwingThroughGrass {swingthroughgrass@1.15.2-1.4.1 NONE}
        SilentLib-1.15.2-4.6.6+59.jar Silent Lib {silentlib@4.6.6+59 NONE}
        biomesoplenty-1.15.2-10.0.0.366-universal.jar Biomes O' Plenty {biomesoplenty@1.15.2-10.0.0.366 NONE}
        phosphor-forge-mc1.15.2-0.5.2+build.4.jar Phosphor {phosphor@0.5.2+build.4 NONE}
        valhelsia_structures-15.0.3a.jar Valhelsia Structures {valhelsia_structures@15.0.3a NONE}
        smoothboot-forge-1.15.2-1.2.2.jar Smooth Boot {smoothboot@1.15.2-1.2.2 NONE}
        CavesAndCliffsBackport-1.15.2-5.0.jar Caves & Cliffs Backport {cavesandcliffs@5.0 NONE}
        Bountiful-1.15.2-3.1.2.jar Bountiful {bountiful@1.15.2-3.1.2 NONE}
        Savage-and-Ravage-1.15.2-1.1.4.jar Savage & Ravage {savageandravage@1.1.4 NONE}
        Patchouli-1.15.2-1.2-35.jar Patchouli {patchouli@1.15.2-1.2-35 NONE}
        leap-1.15.2-1.0.1.jar Leap {leap@1.0.1 NONE}
        collective-1.15.2-2.26.jar Collective {collective@2.26 NONE}
        placeableitems-4.3.jar Placeable Items {placeableitems@4.3 NONE}
        polymorph-FORGE-1.15.2-0.10.jar Polymorph {polymorph@FORGE-1.15.2-0.10 NONE}
        Desolation+1.0.2b+1.15.2.jar Desolation (Forge) {desolation@1.0.2b NONE}
        AI-Improvements-1.15.2-0.3.0.jar AI-Improvements {aiimprovements@0.3.0 NONE}
        BackTools-1.15.2-8.0.0.jar Back Tools {backtools@8.0.0 NONE}
        byg-1.0.11.jar Oh The Biomes You'll Go {byg@1.0.11 NONE}
        bgcore-1.15.2-3.1.2.jar BGCore {bgcore@3.1.2 NONE}
        illagers_plus-2.2.jar Illagers+ {illagers_plus@2.2 NONE}
        enchantwithmob-1.15.2-1.0.0.jar Enchant With Mob {enchantwithmob@1.15.2-1.0.0 NONE}
        FastLeafDecay-v22.1.jar FastLeafDecay {fastleafdecay@v22.1 NONE}
        CosmeticArmorReworked-1.15.2-v3a.jar CosmeticArmorReworked {cosmeticarmorreworked@1.15.2-v3a NONE}
        overloadedarmorbar-4.0.0.jar Overloaded Armor Bar {overloadedarmorbar@4.0.0 NONE}
        geckolib-forge-1.15.2-3.0.33.jar GeckoLib Example Mod {geckolib3@3.0.33 NONE}
        BetterFoliage-2.6.4-Forge-1.15.2.jar Better Foliage {betterfoliage@2.6.4 NONE}
    Launched Version: forge-31.2.0
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: NVIDIA GeForce GTX 1050/PCIe/SSE2 GL version 4.6.0 NVIDIA 471.96, NVIDIA Corporation
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Resource Packs: 
    Current Language: ~~ERROR~~ NullPointerException: null
    CPU: 12x Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz

Link to comment
Share on other sites

1.15 is no longer supported on this forum, please update to 1.16 or 1.17 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.
 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.