My mod makes minecraft crash

Started by Hazen on Fri, 03/06/2015 - 04:58

Topic category: Help with modding

Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
My mod makes minecraft crash
Fri, 03/06/2015 - 04:58

I recently made a mod, but when I try to load minecraft with the mod, it crashes. The mod adds a new food, a new item, some new recipes and a biome. Here is the crash report:

 

---- Minecraft Crash Report ---- // Don't be sad, have a hug! <3   Time: 3/5/15 10:56 PM Description: Initializing game   java.lang.NullPointerException: Initializing game at mod.mcreator.mcreator_pineWoodFlatlands.load(mcreator_pineWoodFlatlands.java:106) at mod.mcreator.ModName.load(ModName.java:159) 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:483) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) 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:483) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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:483) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) at net.minecraft.client.main.Main.main(SourceFile:148) 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:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)     A detailed walkthrough of the error, its code path and all known details is as follows: ---------------------------------------------------------------------------------------   -- Head -- Stacktrace: at mod.mcreator.mcreator_pineWoodFlatlands.load(mcreator_pineWoodFlatlands.java:106) at mod.mcreator.ModName.load(ModName.java:159) 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:483) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) 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:483) 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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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:483) 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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541)   -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) at net.minecraft.client.main.Main.main(SourceFile:148) 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:483) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)   -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 169951160 bytes (162 MB) / 266641408 bytes (254 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 10.13.2.1230 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{7.10.85.1230} [Forge Mod Loader] (forge-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized Forge{10.13.2.1230} [Minecraft Forge] (forge-1.7.10-10.13.2.1230.jar) Unloaded->Constructed->Pre-initialized->Initialized ModName{1.0.0} [ModName] (TestMod Many Tweaks.jar) Unloaded->Constructed->Pre-initialized->Errored Launched Version: 1.7.10-Forge10.13.2.1230 LWJGL: 2.9.1 OpenGL: Intel(R) HD Graphics 4400 GL version 4.2.0 - Build 10.18.10.3325, Intel GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported.   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) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Here's my MCreator log too:
Fri, 03/06/2015 - 05:14

Here's my MCreator log too:

>BOOTING UP GRADLE...
>Data loaded, MCreator gradle console ready [ver 1.007]! [boot took 13 milliseconds]
>RIGHT click once to copy log to the clipboard or twice to clear the log.
>===================================================================================================================
>Executing gradle command: build
>Microsoft Windows [Version 6.3.9600]
>(c) 2013 Microsoft Corporation. All rights reserved.
>C:\Pylo\MCreator154>cd forge
>C:\Pylo\MCreator154\forge>SET "JAVA_HOME=C:\Pylo\MCreator154\jdk\"
>C:\Pylo\MCreator154\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Pylo\MCreator154\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Pylo\MCreator154\forge>gradlew build
>****************************
> Powered By MCP:
> http://mcp.ocean-labs.de/
> Searge, ProfMobius, Fesh0r,
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava
>Note: C:\Pylo\MCreator154\forge\build\sources\java\mod\mcreator\mcreator_pineWoodFlatlands.java uses or overrides a deprecated API.
>:compileJava
>:processResources
>:classes
>:jar
>:compileTestJava UP-TO-DATE
>:processTestResources UP-TO-DATE
>:testClasses UP-TO-DATE
>:test UP-TO-DATE
>:extractMcpData UP-TO-DATE
>:getVersionJson
>:extractUserDev UP-TO-DATE
>:genSrgs SKIPPED
>:reobf
>:assemble
>:check UP-TO-DATE
>:build
>BUILD SUCCESSFUL
>Total time: 14.735 secs
>C:\Pylo\MCreator154\forge>
>Task completed with return code 0 in 16220 milliseconds
>Task return code check OK!
>===================================================================================================================
>Executing gradle command: build
>Microsoft Windows [Version 6.3.9600]
>(c) 2013 Microsoft Corporation. All rights reserved.
>C:\Pylo\MCreator154>cd forge
>C:\Pylo\MCreator154\forge>SET "JAVA_HOME=C:\Pylo\MCreator154\jdk\"
>C:\Pylo\MCreator154\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Pylo\MCreator154\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Pylo\MCreator154\forge>gradlew build
>****************************
> Powered By MCP:
> http://mcp.ocean-labs.de/
> Searge, ProfMobius, Fesh0r,
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava
>Note: C:\Pylo\MCreator154\forge\build\sources\java\mod\mcreator\mcreator_pineWoodFlatlands.java uses or overrides a deprecated API.
>:compileJava
>:processResources UP-TO-DATE
>:classes
>:jar
>:compileTestJava UP-TO-DATE
>:processTestResources UP-TO-DATE
>:testClasses UP-TO-DATE
>:test UP-TO-DATE
>:extractMcpData UP-TO-DATE
>:getVersionJson
>:extractUserDev UP-TO-DATE
>:genSrgs SKIPPED
>:reobf
>:assemble
>:check UP-TO-DATE
>:build
>BUILD SUCCESSFUL
>Total time: 18.49 secs
>C:\Pylo\MCreator154\forge>
>Task completed with return code 0 in 20083 milliseconds
>Task return code check OK!
>===================================================================================================================
>Executing gradle command: build
>Microsoft Windows [Version 6.3.9600]
>(c) 2013 Microsoft Corporation. All rights reserved.
>C:\Pylo\MCreator154>cd forge
>C:\Pylo\MCreator154\forge>SET "JAVA_HOME=C:\Pylo\MCreator154\jdk\"
>C:\Pylo\MCreator154\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
>C:\Pylo\MCreator154\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
>C:\Pylo\MCreator154\forge>gradlew build
>****************************
> Powered By MCP:
> http://mcp.ocean-labs.de/
> Searge, ProfMobius, Fesh0r,
> R4wk, ZeuX, IngisKahn, bspkrs
> MCP Data version : unknown
>****************************
>:compileApiJava UP-TO-DATE
>:processApiResources UP-TO-DATE
>:apiClasses UP-TO-DATE
>:sourceMainJava
>Note: C:\Pylo\MCreator154\forge\build\sources\java\mod\mcreator\mcreator_pineWoodFlatlands.java uses or overrides a deprecated API.
>:compileJava
>:processResources
>:classes
>:jar
>:compileTestJava UP-TO-DATE
>:processTestResources UP-TO-DATE
>:testClasses UP-TO-DATE
>:test UP-TO-DATE
>:extractMcpData UP-TO-DATE
>:getVersionJson
>:extractUserDev UP-TO-DATE
>:genSrgs SKIPPED
>:reobf
>:assemble
>:check UP-TO-DATE
>:build
>BUILD SUCCESSFUL
>Total time: 14.76 secs
>C:\Pylo\MCreator154\forge>
>Task completed with return code 0 in 15702 milliseconds
>Task return code check OK!

0Upvote this forum topic
Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
@Hazen if there is a mod
Fri, 03/06/2015 - 10:25

@Hazen if there is a mod called pineWoodFlatlands remove it then try again.

0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
RE:@Hazen if there is a mod
Fri, 03/06/2015 - 16:19

@#2 I did that and it worked, but I would like to have pineWoodFlatlands (the biome) included in my mod. Is there any way to do that?

0Upvote this forum topic
Last seen on 16:50, 6. Mar 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
you would have to make the
Fri, 03/06/2015 - 16:24

you would have to make the biome in MCreator your self also for future use pastebin for logs it lowers page length on forums

0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
RE:you would have to make the
Fri, 03/06/2015 - 17:42

@#3 I did make the biome in MCreator

0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
I made the biome in MCreator.
Sat, 03/07/2015 - 02:40

I made the biome in MCreator. Could it be a problem with the tree schematic I have?

0Upvote this forum topic
Last seen on 08:29, 18. Sep 2019
Joined Dec 2013
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
RE:I made the biome in MCreator.
Sat, 03/07/2015 - 02:58

@#4 Try using vanilla trees.

0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
RE:RE:I made the biome in MCreator.
Sat, 03/07/2015 - 05:37

@#4.1 I did that, and it still crashes :/

0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Can I not customize the biome
Sat, 03/07/2015 - 18:40

Can I not customize the biome at all?

0Upvote this forum topic
Last seen on 17:49, 26. Oct 2015
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Mods of the week:
  • Forum topics:
  • Comments:
  • Wiki pages:
  • Tracker tickets:
  • Invalid tickets:
Anyone know what's happening?
Sun, 03/08/2015 - 21:55

Anyone know what's happening?

0Upvote this forum topic