HELP ME!!! My client crashes and I cant find the bug to fix!!!!!

Started by TheParaxoid on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
HELP ME!!! My client crashes and I cant find the bug to fix!!!!!

Guys I cant find a problem in the huge workspace I have for my mod "Paradox Ores And Dimensions"

The build is successful.

But the client test wont load up! Neither minecraft or server test can load it!

So there must be a bug or glitch in my mod. I am not able to solve it.

Can you please help me solve it!!!

   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHI   Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHE   TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar) 
[06:55:57] [Client thread/ERROR] [FML]: The following problems were captured during this phase
[06:55:57] [Client thread/ERROR] [FML]: Caught exception from TestEnvironmentMod
java.lang.ArrayIndexOutOfBoundsException: 3
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at mod.mcreator.mcreator_sandrainbow.load(mcreator_sandrainbow.java:56) ~[modid-1.0.jar:?]
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:685) ~[modid-1.0.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
   at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:239) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217) ~[forgeSrc-1.10.2-12.18.2.2099.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
   at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
   at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:142) [LoadController.class:?]
   at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:790) [Loader.class:?]
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324) [FMLClientHandler.class:?]
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:561) [Minecraft.class:?]
   at net.minecraft.client.Minecraft.run(Minecraft.java:386) [Minecraft.class:?]
   at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_101]
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_101]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_101]
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_101]
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
   at GradleStart.main(GradleStart.java:26) [start/:?]
[06:55:57] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649
// Who set us up the TNT?
Time: 2/10/17 6:55 AM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 3
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225)
   at mod.mcreator.mcreator_sandrainbow.load(mcreator_sandrainbow.java:56)
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:685)
   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:498)
   at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599)
   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:498)
   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:239)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
   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:498)
   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:142)
   at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:790)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324)
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:561)
   at net.minecraft.client.Minecraft.run(Minecraft.java:386)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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:498)
   at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
AL lib: (EE) alc_cleanup: 1 device not closed
   at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
FAILURE: Build failed with an exception.
   at sun.reflect.NativeM   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
ethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
* What went wrong:
Execution failed for task ':runClient'.
   at java.lang   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
.reflect.Method.invoke(Method.java:498)
> Process 'command 'C:\Pylo\MCreator171\jdk64\bin\java.exe'' finished with non-zero exit value -1
   at GradleStart.main(GradleStart.java:26)
* Try:
A detailed walkthrough of the error, its code path and all known details is as fo---------------------------------------------------------------------------------------
llows:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
-- Head --
Thread: Client thread
Stacktrace:
   at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:231)
   at net.minecraftforge.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:230)
   at net.minecraftforge.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:225)
   at mod.mcreator.mcreator_sandrainbow.load(mcreator_sandrainbow.java:56)
   at mod.mcreator.TestEnvironmentMod.load(TestEnvironmentMod.java:685)
   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:498)
   at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:599)
   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:498)
   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:239)
   at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:217)
   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:498)
   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:142)
   at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:790)
   at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:324)
   at net.minecraft.client.Minecraft.startGame(Minecraft.java:561)
-- Initialization --
Details:
Stacktrace:
   at net.minecraft.client.Minecraft.run(Minecraft.java:386)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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:498)
   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(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main(GradleStart.java:26)
-- System Details --
Details:
   Minecraft Version: 1.10.2
   Operating System: Windows 8.1 (amd64) version 6.3
   Java Version: 1.8.0_101, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 436980312 bytes (416 MB) / 858783744 bytes (819 MB) up to 1883242496 bytes (1796 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML: MCP 9.32 Powered by Forge 12.18.2.2099 4 mods loaded, 4 mods active
   States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
   UCHI   mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
   UCHI   FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHI   Forge{12.18.2.2099} [Minecraft Forge] (forgeSrc-1.10.2-12.18.2.2099.jar) 
   UCHE   TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar) 
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'Intel' Version: '4.3.0 - Build 10.18.14.4264' Renderer: 'Intel(R) HD Graphics 4400'
   Launched Version: 1.10.2
   LWJGL: 2.9.4
   OpenGL: Intel(R) HD Graphics 4400 GL version 4.3.0 - Build 10.18.14.4264, Intel
   GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.
   Using VBOs: Yes
   Is Modded: Definitely; Client brand changed to 'fml,forge'
   Type: Client (map_client.txt)
   Resource Packs: 
   Current Language: English (US)
   Profiler Position: N/A (disabled)
   CPU: 4x Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
[06:55:57] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:649
:runClient FAILED
BUILD FAILED
Total time: 41.829 secs
C:\Pylo\MCreator171\forge>
Task completed with return code 0 in 85761 milliseconds

I will credit you on my mod page and I will be greatly thankful to whoever solves it!!!

This is also critical as I must finish the mod soon since my wifi is running out in 2 days!!!

I greatly appreciate any of your efforts to help me!!!

~Para

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Also dont tell me to
Fri, 02/10/2017 - 14:33

Also dont tell me to reinstall it or to delete the workspace or to refresh it. 

I worked on this workspace for a week and deleting it is same as giving up at this point...

 

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind, I found the fix.
Fri, 02/10/2017 - 15:14

Never mind, I found the fix.

Turns out if you create a block without a recipe and then create a recipe for that block as a seperate mod, it will crash.

Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Never mind, I found the fix.
Fri, 02/10/2017 - 19:55

@#4 

I have made recipe-less blocks with recipes as different mods numerous times, and it has never crashed on me.

Are you sure it's not because your mod is just too big for the testClient to handle?

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yep it was the recipe. I have
Sat, 02/11/2017 - 05:23

Yep it was the recipe. I have removed it and the mod is fine

Joined May 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Topic closed]
Sat, 02/11/2017 - 05:26

[Topic closed]

can anyone close it?