Jump to content

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


Recommended Posts

Posted

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: 
        [email protected]
        minecraft@1
        [email protected]
        [email protected]
    Mod List: 
        more_onderground_structures_1.15.2_2.jar more underground structures {[email protected] NONE}
        mowziesmobs-1.5.14.jar Mowzie's Mobs {[email protected] NONE}
        WizardAnimals_2.4.jar Wizard Animals Plus {[email protected] NONE}
        SlimyBoyos-2.0.1.2.jar SlimyBoyos {[email protected] NONE}
        torchslabmod-1.15.2_v1.7.0.jar Torch Slab Mod {[email protected] NONE}
        spiders-2.0-1.15.2-1.0.4.jar Spiders 2.0 {[email protected] NONE}
        TsgStructures1.0.1-MC1.15.2.jar TSG Structures {[email protected] NONE}
        jei-1.15.2-6.0.3.16.jar Just Enough Items {[email protected] NONE}
        futuremc-1.15.2-1.1.0.jar Future MC {[email protected] NONE}
        the-conjurer-1.15.2-1.0.13.jar The Conjurer {[email protected] NONE}
        Abnormals-Core-1.15.2-1.0.6.jar Abnormals Core {[email protected] NONE}
        borderless-1.15.2-1.1.0.jar Borderless Window {[email protected] NONE}
        Upgrade-Aquatic-1.15.2-1.7.1.jar Upgrade Aquatic {[email protected] NONE}
        pitg-1.15.2-1.4.1.jar Pane In The Glass {[email protected] NONE}
        BetterCaves-1.15.2-1.0.jar YUNG's Better Caves {[email protected] NONE}
        Waystones_1.15.2-6.0.2.jar Waystones {[email protected] NONE}
        Placebo-1.15.2-3.1.1.jar Placebo {[email protected] NONE}
        tumbleweed-1.15-0.4.8.jar Tumbleweed {[email protected] NONE}
        betteranimalsplus-1.15.2-10.2.0.jar Better Animals Plus {[email protected] NONE}
        WitherSkeletonTweaks-1.15.2-4.0.2.jar Wither Skeleton Tweaks {[email protected] NONE}
        MutantBeasts-1.15.2-1.0.8.jar Mutant Beasts {[email protected] NONE}
        My Hero Academia - 0.5.1 - MC 1.15.2 - Bugfix.jar My Hero Academia Mod {[email protected] NONE}
        guardvillagers-1.15.2-1.0.8.jar Guard Villagers {[email protected] NONE}
        outvoted-1.15.2-1.2.1-rc1.jar Outvoted {[email protected] NONE}
        walljump-forge-1.15.2-1.3.5.jar Wall-Jump! {[email protected] NONE}
        iChunUtil-1.15.2-8.0.3.jar iChunUtil {[email protected] NONE}
        traverse-1.15.2-3.2.0.jar Traverse {[email protected] NONE}
        JustEnoughResources-1.15.2-0.10.1.77.jar Just Enough Resources {[email protected] NONE}
        mysticalworld-1.15.2-2.1.3.jar Mystical World {[email protected] NONE}
        PiratesAndLooters6.2-1.15.2.jar Pirates_And_Looters_Mod {[email protected] NONE}
        forge-1.15.2-31.2.0-universal.jar Forge {[email protected] NONE}
        mysticallib-1.15.2-2.0.1.jar Mystical Lib {[email protected] NONE}
        dash-1.15.2-1.0.1.jar Dash {[email protected] NONE}
        structure-gel-api-1.15.2-1.1.0.jar Structure Gel API {[email protected] NONE}
        forge-1.15.2-31.2.0-client.jar Minecraft {[email protected] NONE}
        repurposedstructures-1.15.2-1.7.2.jar Repurposed Structures {[email protected] NONE}
        swingthroughgrass-1.15.2-1.4.1.jar SwingThroughGrass {[email protected] NONE}
        SilentLib-1.15.2-4.6.6+59.jar Silent Lib {[email protected]+59 NONE}
        biomesoplenty-1.15.2-10.0.0.366-universal.jar Biomes O' Plenty {[email protected] NONE}
        phosphor-forge-mc1.15.2-0.5.2+build.4.jar Phosphor {[email protected]+build.4 NONE}
        valhelsia_structures-15.0.3a.jar Valhelsia Structures {[email protected] NONE}
        smoothboot-forge-1.15.2-1.2.2.jar Smooth Boot {[email protected] NONE}
        CavesAndCliffsBackport-1.15.2-5.0.jar Caves & Cliffs Backport {[email protected] NONE}
        Bountiful-1.15.2-3.1.2.jar Bountiful {[email protected] NONE}
        Savage-and-Ravage-1.15.2-1.1.4.jar Savage & Ravage {[email protected] NONE}
        Patchouli-1.15.2-1.2-35.jar Patchouli {[email protected] NONE}
        leap-1.15.2-1.0.1.jar Leap {[email protected] NONE}
        collective-1.15.2-2.26.jar Collective {[email protected] NONE}
        placeableitems-4.3.jar Placeable Items {[email protected] NONE}
        polymorph-FORGE-1.15.2-0.10.jar Polymorph {[email protected] NONE}
        Desolation+1.0.2b+1.15.2.jar Desolation (Forge) {[email protected] NONE}
        AI-Improvements-1.15.2-0.3.0.jar AI-Improvements {[email protected] NONE}
        BackTools-1.15.2-8.0.0.jar Back Tools {[email protected] NONE}
        byg-1.0.11.jar Oh The Biomes You'll Go {[email protected] NONE}
        bgcore-1.15.2-3.1.2.jar BGCore {[email protected] NONE}
        illagers_plus-2.2.jar Illagers+ {[email protected] NONE}
        enchantwithmob-1.15.2-1.0.0.jar Enchant With Mob {[email protected] NONE}
        FastLeafDecay-v22.1.jar FastLeafDecay {[email protected] NONE}
        CosmeticArmorReworked-1.15.2-v3a.jar CosmeticArmorReworked {[email protected] NONE}
        overloadedarmorbar-4.0.0.jar Overloaded Armor Bar {[email protected] NONE}
        geckolib-forge-1.15.2-3.0.33.jar GeckoLib Example Mod {[email protected] NONE}
        BetterFoliage-2.6.4-Forge-1.15.2.jar Better Foliage {[email protected] 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

Posted

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]

 

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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