Posted April 27, 20187 yr So basically... I'm a beginner and i was making my first mod. I test-ran the mod and it crashes. Eclipse shows no errors and idk how to fix it. I read the crash report and it didn't really help me on figuring out how to actually fix it. So please someone help me. 2018-04-27 20:55:22,175 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2018-04-27 20:55:22,180 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [20:55:22] [main/INFO] [GradleStart]: Extra: [] [20:55:22] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/HP/.gradle/caches/minecraft/assets, --assetIndex, 1.11, --accessToken{REDACTED}, --version, 1.11.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [20:55:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:55:22] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [20:55:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [20:55:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [20:55:23] [main/INFO] [FML]: Forge Mod Loader version 13.20.1.2386 for Minecraft 1.11.2 loading [20:55:23] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_151, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_151 [20:55:23] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:55:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [20:55:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [20:55:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:55:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:55:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:55:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:55:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:55:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:55:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper 2018-04-27 20:55:24,050 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2018-04-27 20:55:24,098 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2018-04-27 20:55:24,122 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [20:55:24] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:55:27] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [20:55:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:55:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:55:29] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:55:30] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [20:55:30] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [20:55:30] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:55:37] [Client thread/INFO]: Setting user: Player305 [20:55:49] [Client thread/WARN]: Skipping bad option: lastServer: [20:55:49] [Client thread/INFO]: LWJGL Version: 2.9.4 [20:55:53] [Client thread/INFO] [FML]: -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_151, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 705951864 bytes (673 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 9.17.10.4229' Renderer: 'Intel(R) HD Graphics 4000' [20:55:53] [Client thread/INFO] [FML]: MinecraftForge v13.20.1.2386 Initialized [20:55:53] [Client thread/INFO] [FML]: Replaced 232 ore recipes [20:55:54] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [20:55:54] [Client thread/INFO] [FML]: Searching C:\Users\HP\Desktop\PinkModActuallyManuallyCodedVersion\run\mods for mods [20:55:56] [Thread-6/INFO] [FML]: Using sync timing. 200 frames of Display.update took 506167369 nanos [20:55:59] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [20:56:00] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, fpm] at CLIENT [20:56:00] [Client thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, fpm] at SERVER [20:56:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:PinkMod [20:56:02] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [20:56:02] [Client thread/INFO] [FML]: Found 445 ObjectHolder annotations [20:56:02] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [20:56:02] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [20:56:02] [Client thread/INFO] [FML]: Applying holder lookups [20:56:02] [Client thread/INFO] [FML]: Holder lookups applied [20:56:02] [Client thread/INFO] [FML]: Applying holder lookups [20:56:02] [Client thread/INFO] [FML]: Holder lookups applied [20:56:02] [Client thread/INFO] [FML]: Applying holder lookups [20:56:02] [Client thread/INFO] [FML]: Holder lookups applied [20:56:02] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [20:56:02] [Forge Version Check/INFO] [ForgeVersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [20:56:02] [Client thread/INFO] [FML]: Applying holder lookups [20:56:02] [Client thread/INFO] [FML]: Holder lookups applied [20:56:02] [Client thread/INFO] [FML]: Injecting itemstacks [20:56:02] [Client thread/INFO] [FML]: Itemstack injection complete [20:56:02] [Client thread/FATAL] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue [20:56:02] [Client thread/FATAL] [FML]: States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH minecraft{1.11.2} [Minecraft] (minecraft.jar) UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar) UCH forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar) UCE fpm{0.0.1-alpha} [PinkMod] (bin) [20:56:02] [Client thread/FATAL] [FML]: The following problems were captured during this phase [20:56:02] [Client thread/ERROR] [FML]: Caught exception from fpm (java.lang.NullPointerException) [20:56:02] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ---- // This doesn't make any sense! Time: 4/27/18 8:56 PM Description: There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from PinkMod (fpm) Caused by: java.lang.NullPointerException at com.flipking78.pinkmod.init.ModItems.registerRender(ModItems.java:24) at com.flipking78.pinkmod.init.ModItems.registerRenders(ModItems.java:28) at com.flipking78.pinkmod.proxy.ClientProxy.init(ClientProxy.java:9) at com.flipking78.pinkmod.PinkMod.preInit(PinkMod.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:649) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:253) at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:231) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:148) at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:647) at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:276) at net.minecraft.client.Minecraft.init(Minecraft.java:478) at net.minecraft.client.Minecraft.run(Minecraft.java:387) at net.minecraft.client.main.Main.main(Main.java:118) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) at GradleStart.main(GradleStart.java:26) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.11.2 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_151, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 792349984 bytes (755 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.38 Powered by Forge 13.20.1.2386 5 mods loaded, 5 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCH minecraft{1.11.2} [Minecraft] (minecraft.jar) UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) UCH FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.11.2-13.20.1.2386.jar) UCH forge{13.20.1.2386} [Minecraft Forge] (forgeSrc-1.11.2-13.20.1.2386.jar) UCE fpm{0.0.1-alpha} [PinkMod] (bin) Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 9.17.10.4229' Renderer: 'Intel(R) HD Graphics 4000' [20:56:02] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\HP\Desktop\PinkModActuallyManuallyCodedVersion\run\.\crash-reports\crash-2018-04-27_20.56.02-client.txt Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release So that's the console.. Hope someone can help me. Thanks.
April 27, 20187 yr Author Oh yeah java version: SDK : Version 8 Update 151 Runtime : Version 8 Update 151 Just incase that will help... Edited April 27, 20187 yr by FlipKING78
April 27, 20187 yr Author Sorry if i'm annoying people with this. But I just started coding and I have no idea what to do.
April 27, 20187 yr Author And yea i know PinkMod as a mod name seems wierd but ya.... i didn't know what to do yet.
April 27, 20187 yr Author Sorry but.. just could someone just already at least try to help ? Because as I know myself tommorow i'll just give up this whole thing and forget about it. And if you need more info to actually help then just ask. Edited April 27, 20187 yr by FlipKING78
April 27, 20187 yr net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from PinkMod (fpm) Caused by: java.lang.NullPointerException at com.flipking78.pinkmod.init.ModItems.registerRender(ModItems.java:24) at com.flipking78.pinkmod.init.ModItems.registerRenders(ModItems.java:28) at com.flipking78.pinkmod.proxy.ClientProxy.init(ClientProxy.java:9) at com.flipking78.pinkmod.PinkMod.preInit(PinkMod.java:27) 1. Stop spaming. You arent the king here which gets served first. 2. There are errors, if you would take a look at it you would see them 3. Post the goddamn code. How the hell should we know why i might crash if you dont even provide the code that crashes
April 27, 20187 yr Author ModItems.java : private static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } public static void registerRenders() { registerRender(meteoriteingot); } ClientProxy.java : package com.flipking78.pinkmod.proxy; import com.flipking78.pinkmod.init.ModItems; public class ClientProxy implements CommonProxy { @Override public void init() { ModItems.registerRenders(); } } PinkMod.java : @EventHandler public void preInit(FMLPreInitializationEvent event) { ModItems.init(); ModItems.register(); proxy.init(); }
April 27, 20187 yr Author okay PinkMod.java : package com.flipking78.pinkmod; import com.flipking78.pinkmod.init.ModItems; import com.flipking78.pinkmod.proxy.CommonProxy; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid = Reference.MOD_ID, name = Reference.NAME, version = Reference.VERSION, acceptedMinecraftVersions = Reference.ACCEPTED_VERSIONS) public class PinkMod { @Instance public static PinkMod instance; @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { ModItems.init(); ModItems.register(); proxy.init(); } @EventHandler public void Init(FMLInitializationEvent event) { } @EventHandler public void postInit(FMLPostInitializationEvent event) { } } ClientProxy.java : package com.flipking78.pinkmod.proxy; public interface CommonProxy { public void init(); } ModItems.java : package com.flipking78.pinkmod.init; import com.flipking78.pinkmod.Reference; import com.flipking78.pinkmod.items.ItemMeteoriteIngot; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.block.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class ModItems { public static Item meteoriteingot; public static void init() { meteoriteingot = new ItemMeteoriteIngot(); } public static void register() { GameRegistry.register(meteoriteingot); } private static void registerRender(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MOD_ID + ":" + item.getUnlocalizedName().substring(5), "inventory")); } public static void registerRenders() { registerRender(meteoriteingot); } } Reference.java : package com.flipking78.pinkmod; public class Reference { public static final String MOD_ID = "fpm"; public static final String NAME = "PinkMod"; public static final String VERSION = "0.0.1-alpha"; public static final String ACCEPTED_VERSIONS = "[1.11.2]"; public static final String CLIENT_PROXY_CLASS = "com.flipking78.pinkmod.proxy.ClientProxy"; public static final String SERVER_PROXY_CLASS = "com.flipking78.pinkmod.proxy.ServerProxy"; public static enum PinkModItems { METEORITEINGOT("meteoriteingot", "ItemObsidianIngot"); private String unlocalizedName; private String registryName; PinkModItems(String unlocalizedName, String registryName) { this.unlocalizedName = unlocalizedName; this.registryName = registryName; } public String getRegistryName() { return registryName; } public String getUnlocalizedName() { return registryName; } } } ServerProxy.java : package com.flipking78.pinkmod.proxy; public class ServerProxy implements CommonProxy { @Override public void init() { } } CommonProxy.java : package com.flipking78.pinkmod.proxy; public interface CommonProxy { public void init(); }
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.