Jump to content

Minecraft doesn't stop crashing


NewbieSurvivor
 Share

Recommended Posts

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

Time: 27.04.2020 18:04
Description: Initializing game

java.lang.NullPointerException: Initializing game
at net.minecraft.client.renderer.color.BlockColors.func_186722_a(BlockColors.java:97) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
at knightminer.simplytea.core.ClientEvents.registerBlockColors(ClientEvents.java:19) ~[?:1.15.2-2.2.0] {re:classloading}
at net.minecraftforge.eventbus.ASMEventHandler_47_ClientEvents_registerBlockColors_Block.invoke(.dynamic) ~[?:?] {}
at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:80) ~[eventbus-2.1.0-service.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:258) ~[eventbus-2.1.0-service.jar:?] {}
at net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:168) ~[?:31.1] {re:classloading}
at net.minecraftforge.fml.ModLoader.lambda$postEvent$31(ModLoader.java:260) ~[?:?] {re:classloading,xf:fermion.asm.service:default}
at net.minecraftforge.fml.ModLoader$$Lambda$2698/227080339.accept(Unknown Source) ~[?:?] {}
at java.util.HashMap.forEach(HashMap.java:1280) ~[?:1.8.0_51] {}
at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:218) ~[?:?] {re:classloading,xf:fermion.asm.service:default}
at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:260) ~[?:?] {re:classloading,xf:fermion.asm.service:default}
at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:207) ~[?:?] {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.<init>(Minecraft.java:419) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {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.15.2-31.1.60.jar:31.1] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$445/1096411163.call(Unknown Source) [forge-1.15.2-31.1.60.jar:31.1] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}


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.color.BlockColors.func_186722_a(BlockColors.java:97)
at knightminer.simplytea.core.ClientEvents.registerBlockColors(ClientEvents.java:19)
at net.minecraftforge.eventbus.ASMEventHandler_47_ClientEvents_registerBlockColors_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$31(ModLoader.java:260)
at net.minecraftforge.fml.ModLoader$$Lambda$2698/227080339.accept(Unknown Source)
at java.util.HashMap.forEach(HashMap.java:1280)
at net.minecraftforge.fml.ModList.forEachModContainer(ModList.java:218)
at net.minecraftforge.fml.ModLoader.postEvent(ModLoader.java:260)
at net.minecraftforge.client.ForgeHooksClient.onBlockColorsInit(ForgeHooksClient.java:207)
at net.minecraft.client.renderer.color.BlockColors.func_186723_a(BlockColors.java:76)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:419)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:166)
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$445/1096411163.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: 1178734512 bytes (1124 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
CPUs: 4
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
ModLauncher: 5.1.0+69+master.79f13f7
ModLauncher launch target: fmlclient
ModLauncher naming: srg
ModLauncher services:
/eventbus-2.1.0-service.jar eventbus PLUGINSERVICE
/forge-1.15.2-31.1.60.jar object_holder_definalize PLUGINSERVICE
/forge-1.15.2-31.1.60.jar runtime_enum_extender PLUGINSERVICE
/accesstransformers-2.1.1-shadowed.jar accesstransformer PLUGINSERVICE
/forge-1.15.2-31.1.60.jar capability_inject_definalize PLUGINSERVICE
/forge-1.15.2-31.1.60.jar runtimedistcleaner PLUGINSERVICE
/forge-1.15.2-31.1.60.jar fml TRANSFORMATIONSERVICE
/Fermion-1.0.2.jar fermion.asm.service TRANSFORMATIONSERVICE
FML: 31.1
Forge: net.minecraftforge:31.1.60
FML Language Providers:
javafml@31.1
minecraft@1
Mod List:
Fermion Fermion ASM Service {fermion.asm.service@1.0.2 NONE}
Fermion Fermion Companion {fermion.asm@1.0.2 NONE}
Fermion Fermion Test Suite {fermion.asm.test@1.0.2 NONE}
forge-1.15.2-31.1.60-client.jar Minecraft {minecraft@1.15.2 LOAD_REGISTRIES}
__extraction__fermion_extraction__mod_file_Fermion_mod.jar Fermion {fermion@1.0.2 LOAD_REGISTRIES}
CyclopsCore-1.15.2-1.6.2.jar Cyclops Core {cyclopscore@1.6.2 LOAD_REGISTRIES}
simplytea-1.15.2-2.2.0.jar Simply Tea {simplytea@1.15.2-2.2.0 LOAD_REGISTRIES}
doubledoors_1.15-2.0.jar Double Doors {doubledoors@2.0 LOAD_REGISTRIES}
jmh_1.15.2-2.2.jar Just Mob Heads {jmh@2.2 LOAD_REGISTRIES}
Nimble-1.15.2-0.2.0.jar Nimble {nimble@NONE LOAD_REGISTRIES}
valhelsia_structures-15.0.2a.jar Valhelsia Structures {valhelsia_structures@15.0.2a ERROR}
nhacampfire_1.15-2.1.jar No Hostiles Around Campfire {nhacampfire@2.1 LOAD_REGISTRIES}
movingelevators-1.2.12-mc1.15.jar Moving Elevators {movingelevators@1.2.12 LOAD_REGISTRIES}
EverlastingAbilities-1.15.2-1.6.1.jar EverlastingAbilities {everlastingabilities@1.6.1 LOAD_REGISTRIES}
easyelytrato_1.15-1.2.jar Easy Elytra Takeoff {easyelytrato@1.2 LOAD_REGISTRIES}
forge-1.15.2-31.1.60-universal.jar Forge {forge@31.1.60 LOAD_REGISTRIES}
nmdar_1.15.2-3.8.jar Named Areas {nmdar@3.8 LOAD_REGISTRIES}
FastLeafDecay-v22.jar FastLeafDecay {fastleafdecay@v22 LOAD_REGISTRIES}
fablibrary-1.15.2-1.1.jar FAB Library {fablibrary@1.1 LOAD_REGISTRIES}
healingcf_1.15-2.1.jar Healing Campfire {healingcf@2.1 LOAD_REGISTRIES}
bambootiful-1.15.2-1.1.3.jar Bambootiful {bambootiful@1.1.3 LOAD_REGISTRIES}
journeymap-1.15.2-5.7.0beta1.jar Journeymap {journeymap@1.15.2-5.7.0beta1 LOAD_REGISTRIES}
Launched Version: 1.15.2-forge-31.1.60
Backend library: LWJGL version 3.2.2 build 10
Backend API: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 20.19.15.4300, Intel
GL Caps: Using framebuffer using OpenGL 3.0
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'forge'
Type: Client (map_client.txt)
CPU: 4x Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz

Link to comment
Share on other sites

2 minutes ago, diesieben07 said:

Just a note that the crash report as shown here has zero significance in the cause of this crash.

If you have the same crash report it could be the same mod or a completely different one that is the cause.

 

Only the full debug.log shows the actual source of the problem.

What is the difference?

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
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.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have a custom recipe that uses JSON to work properly. And everything works right except I cant seem to figure out how to find the stack count for each ingredient of my recipe.   Recipe class: public class AlloyKilnRecipe implements Recipe<SimpleContainer> { private final ResourceLocation id; private final ItemStack output; private final NonNullList<Ingredient> ingredients; public AlloyKilnRecipe(ResourceLocation id, ItemStack output, NonNullList<Ingredient> ingredients) { this.id = id; this.output = output; this.ingredients = ingredients; } @Override public boolean matches(SimpleContainer pContainer, Level pLevel) { if (pLevel.isClientSide()) return false; return (ingredients.get(0).test(pContainer.getItem(0)) && ingredients.get(1).test(pContainer.getItem(1))) || (ingredients.get(0).test(pContainer.getItem(1)) && ingredients.get(1).test(pContainer.getItem(0))); } public int getIngAmnt(int index) { ItemStack[] stacks = ingredients.get(index).getItems(); for (ItemStack stack : stacks) { return stack.getCount(); } return 0; } @Override public NonNullList<Ingredient> getIngredients() { return ingredients; } @Override public ItemStack assemble(SimpleContainer pContainer) { return output; } @Override public boolean canCraftInDimensions(int pWidth, int pHeight) { return true; } @Override public ItemStack getResultItem() { return output.copy(); } @Override public ResourceLocation getId() { return id; } @Override public RecipeSerializer<?> getSerializer() { return Serializer.INSTANCE; } @Override public RecipeType<?> getType() { return Type.INSTANCE; } public static class Type implements RecipeType<AlloyKilnRecipe> { private Type() {} public static final Type INSTANCE = new Type(); public static final String ID = "alloy_kiln_recipe"; } public static class Serializer implements RecipeSerializer<AlloyKilnRecipe> { public static final Serializer INSTANCE = new Serializer(); public static final ResourceLocation ID = new ResourceLocation(FF.MOD_ID, "alloy_kiln_recipe"); @Override public AlloyKilnRecipe fromJson(ResourceLocation pRecipeId, JsonObject pSerializedRecipe) { ItemStack output = ShapedRecipe.itemStackFromJson(GsonHelper.getAsJsonObject(pSerializedRecipe, "output")); JsonArray ingredients = GsonHelper.getAsJsonArray(pSerializedRecipe, "ingredients"); NonNullList<Ingredient> inputs = NonNullList.withSize(2, Ingredient.EMPTY); for (int i = 0; i < ingredients.size(); i++) { inputs.set(i, Ingredient.fromJson(ingredients.get(i))); } return new AlloyKilnRecipe(pRecipeId, output, inputs); } @Override public @Nullable AlloyKilnRecipe fromNetwork(ResourceLocation pRecipeId, FriendlyByteBuf pBuffer) { NonNullList<Ingredient> inputs = NonNullList.withSize(pBuffer.readInt(), Ingredient.EMPTY); for (int i = 0; i < inputs.size(); i++) { inputs.set(i, Ingredient.fromNetwork(pBuffer)); } ItemStack output = pBuffer.readItem(); return new AlloyKilnRecipe(pRecipeId, output, inputs); } @Override public void toNetwork(FriendlyByteBuf pBuffer, AlloyKilnRecipe pRecipe) { pBuffer.writeInt(pRecipe.getIngredients().size()); for (Ingredient ing : pRecipe.getIngredients()) { ing.toNetwork(pBuffer); } pBuffer.writeItemStack(pRecipe.getResultItem(), false); } } } And here is my recipe.json { "type": "forgedfactory:alloy_kiln_recipe", "ingredients": [ { "item": "minecraft:iron_ingot", "count": 3 }, { "item": "minecraft:gold_ingot" } ], "output": { "item": "minecraft:diamond", "count": 3 } } Could someone tell me what I would have to do? The getIngAmount method just returns 1 even though I have a count defined for the iron ingots.
    • forge installer version 43.1.7 for 1.19.2 won't download the jar file, only the json 
    • Stop bumping your post. This sounds like a issue with your install. Try deleting your .minecraft folder and re-installing the launcher. Beyond that it's not something we control. As we don't control the launcher.
    • Can someone help me with this
  • Topics

×
×
  • Create New...

Important Information

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