Jump to content

Caused by: java.lang.NullPointerException: Cannot find mod container for id


Recommended Posts

Hi guys. I'm making a Minecraft modpack for 1.20.1 with Forge 47.2.0
When i try to start the pack it just crashes, here is the crash report:

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 2023-11-02 21:50:45
Description: Initializing game

java.lang.ExceptionInInitializerError: null
    at net.minecraft.client.color.block.BlockColors.handler$dhp000$snifferplus_registerBlockColorProviders(BlockColors.java:2521) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:rubidium.mixins.json:core.model.colors.BlockColorsMixin,pl:mixin:APP:aoa3.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:puzzleslib.forge.mixins.json:client.accessor.BlockColorsForgeAccessor,pl:mixin:APP:aether.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:snifferplus.mixins.json:MixinBlockColors,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.color.block.BlockColors.m_92574_(BlockColors.java:51) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:rubidium.mixins.json:core.model.colors.BlockColorsMixin,pl:mixin:APP:aoa3.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:puzzleslib.forge.mixins.json:client.accessor.BlockColorsForgeAccessor,pl:mixin:APP:aether.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:snifferplus.mixins.json:MixinBlockColors,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:485) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:182) ~[client-1.20.1.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.2.0.jar:?] {}
    at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.2.0.jar:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.2.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
Caused by: java.lang.NullPointerException: Cannot find mod container for id snifferplus
    at com.helliongames.snifferplus.registration.ForgeRegistrationFactory.create(ForgeRegistrationFactory.java:24) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:classloading}
    at com.helliongames.snifferplus.registration.util.RegistrationProvider.get(RegistrationProvider.java:38) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:classloading}
    at com.helliongames.snifferplus.registration.SnifferPlusBlocks.<clinit>(SnifferPlusBlocks.java:44) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:mixin,re:classloading}
    ... 19 more

How do I fix this? Thanks.

Link to comment
Share on other sites

19 hours ago, TileEntity said:

Also add the latest.log with sites like https://paste.ee/

or add the crash-report without sniffer+

 

Hi. I've added the latest.log with and without Sniffer+ 
https://paste.ee/p/hjAR7

Also, here is the crash report:
 

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 2023-11-03 21:57:52
Description: Initializing game

java.lang.ExceptionInInitializerError: null
    at net.minecraft.client.color.block.BlockColors.handler$dhp000$snifferplus_registerBlockColorProviders(BlockColors.java:2521) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:rubidium.mixins.json:core.model.colors.BlockColorsMixin,pl:mixin:APP:aoa3.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:puzzleslib.forge.mixins.json:client.accessor.BlockColorsForgeAccessor,pl:mixin:APP:aether.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:snifferplus.mixins.json:MixinBlockColors,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.color.block.BlockColors.m_92574_(BlockColors.java:51) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:rubidium.mixins.json:core.model.colors.BlockColorsMixin,pl:mixin:APP:aoa3.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:puzzleslib.forge.mixins.json:client.accessor.BlockColorsForgeAccessor,pl:mixin:APP:aether.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:snifferplus.mixins.json:MixinBlockColors,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:485) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:182) ~[client-1.20.1.jar:?] {re:classloading,pl:runtimedistcleaner:A}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
    at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
    at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.2.0.jar:?] {}
    at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.2.0.jar:?] {}
    at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.2.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?] {}
    at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?] {}
Caused by: java.lang.NullPointerException: Cannot find mod container for id snifferplus
    at com.helliongames.snifferplus.registration.ForgeRegistrationFactory.create(ForgeRegistrationFactory.java:24) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:classloading}
    at com.helliongames.snifferplus.registration.util.RegistrationProvider.get(RegistrationProvider.java:38) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:classloading}
    at com.helliongames.snifferplus.registration.SnifferPlusBlocks.<clinit>(SnifferPlusBlocks.java:44) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:mixin,re:classloading}
    ... 19 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.color.block.BlockColors.handler$dhp000$snifferplus_registerBlockColorProviders(BlockColors.java:2521) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:rubidium.mixins.json:core.model.colors.BlockColorsMixin,pl:mixin:APP:aoa3.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:puzzleslib.forge.mixins.json:client.accessor.BlockColorsForgeAccessor,pl:mixin:APP:aether.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:snifferplus.mixins.json:MixinBlockColors,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.color.block.BlockColors.m_92574_(BlockColors.java:51) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:rubidium.mixins.json:core.model.colors.BlockColorsMixin,pl:mixin:APP:aoa3.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:puzzleslib.forge.mixins.json:client.accessor.BlockColorsForgeAccessor,pl:mixin:APP:aether.mixins.json:client.accessor.BlockColorsAccessor,pl:mixin:APP:snifferplus.mixins.json:MixinBlockColors,pl:mixin:A,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:485) ~[client-1.20.1-20230612.114412-srg.jar%23820!/:?] {re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick,xf:fml:xaeroworldmap:xaero_wm_minecraft_runtick_render_call,pl:mixin:A,pl:runtimedistcleaner:A}

Link to comment
Share on other sites

Caused by: java.lang.NullPointerException: Cannot find mod container for id snifferplus
at com.helliongames.snifferplus.registration.ForgeRegistrationFactory.create(ForgeRegistrationFactory.java:24) ~[Sniffer+-forge-1.20.1-0.2.0.jar%23752!/:0.2.0] {re:classloading}

 

Sniffer+-forge-1.20.1-0.2.0.jar is still there

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.