RentaroSato520 Posted February 23, 2015 Share Posted February 23, 2015 Hello, while I was making a mod for minecraft(trying to load a png file), I came across a NullPointerException: ---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 2/23/15 7:30 AM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraft.client.resources.model.ModelBakery.bakeModel(ModelBakery.java:508) at net.minecraftforge.client.model.ModelLoader.access$800(ModelLoader.java:62) at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.bake(ModelLoader.java:266) at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:105) at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SourceFile:99) at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) at net.minecraft.client.Minecraft.run(Minecraft.java:325) at net.minecraft.client.main.Main.main(SourceFile:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) at GradleStart.main(GradleStart.java:45) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.client.resources.model.ModelBakery.bakeModel(ModelBakery.java:508) at net.minecraftforge.client.model.ModelLoader.access$800(ModelLoader.java:62) at net.minecraftforge.client.model.ModelLoader$VanillaModelWrapper.bake(ModelLoader.java:266) at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:105) at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:29) at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SourceFile:99) at net.minecraft.client.Minecraft.startGame(Minecraft.java:470) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:325) at net.minecraft.client.main.Main.main(SourceFile:120) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:85) at GradleStart.main(GradleStart.java:45) -- System Details -- Details: Minecraft Version: 1.8 Operating System: Mac OS X (x86_64) version 10.10 Java Version: 1.7.0_71, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 740028912 bytes (705 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 v9.10 FML v8.0.37.1325 Minecraft Forge 11.14.1.1325 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{8.0.37.1325} [Forge Mod Loader] (forgeBin-1.8-11.14.1.1325.jar) Unloaded->Constructed->Pre-initialized Forge{11.14.1.1325} [Minecraft Forge] (forgeBin-1.8-11.14.1.1325.jar) Unloaded->Constructed->Pre-initialized advancedciv{0.0.1} [Advanced Civilizations] (bin) Unloaded->Constructed->Pre-initialized Loaded coremods (and transformers): Launched Version: 1.8 LWJGL: 2.9.2 OpenGL: Intel HD Graphics 4000 OpenGL Engine GL version 2.1 INTEL-10.0.86, Intel Inc. GL Caps: Using GL 1.3 multitexturing. Using GL 1.3 texture combiners. Using framebuffer objects because ARB_framebuffer_object 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: No 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) I'm assuming since it's a null pointer exception that the model I'm trying to pass through is null. But, I can't seem to locate where that problem is. Quote Link to comment Share on other sites More sharing options...
RentaroSato520 Posted February 23, 2015 Author Share Posted February 23, 2015 To which version? Also, is there a way I could update forge without reinstalling everything? Quote Link to comment Share on other sites More sharing options...
larsgerrits Posted February 23, 2015 Share Posted February 23, 2015 To which version? Also, is there a way I could update forge without reinstalling everything? Update to the latest version by changing the version number in your build.gradle. Quote Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/ Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2015 Share Posted February 23, 2015 To which version? Also, is there a way I could update forge without reinstalling everything? Read the update forge part, it's pretty straight forward: http://www.minecraftforge.net/forum/index.php?topic=14048.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.