My mod makes minecraft crash

21 posts / 0 new
Last post
Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
My mod makes minecraft crash

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)


Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
Here's my MCreator log too:

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!

xXMCXx's picture
Offline
Last seen: 6 days 6 hours ago
Joined: 12/27/2013 - 21:01
Gems: 378
@Hazen if there is a mod

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

Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
RE:@Hazen if there is a mod

@xXMCXx 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?

Offline
Last seen: 2 years 2 months ago
Joined: 03/06/2015 - 15:40
Gems: 0
you would have to make the

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

Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
RE:you would have to make the

@connorharkness99 I did make the biome in MCreator

Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
I made the biome in MCreator.

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

xXMCXx's picture
Offline
Last seen: 6 days 6 hours ago
Joined: 12/27/2013 - 21:01
Gems: 378
RE:I made the biome in MCreator.

@Hazen Try using vanilla trees.

Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
RE:RE:I made the biome in MCreator.

@xXMCXx I did that, and it still crashes :/

Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
Can I not customize the biome

Can I not customize the biome at all?

Offline
Last seen: 1 year 7 months ago
Joined: 03/03/2015 - 20:42
Gems: 0
Anyone know what's happening?

Anyone know what's happening?

Pages