Jump to content

Problem when starting minecraft to test


Cerealkiller

Recommended Posts

I was trying to make my custom textures the "infinite sprite index" way (which was the only way to make my mod work due to the fact that I have like over 370 items in it), but I got some errors, which I corrected by moving my java files to MCP/src/minecraft/net/minecraft/src/ (does that have nything to do with my problem?). Now I tried to recompile, no problems, then I started minecraft. I got these errors:

 

 

2012-10-05 14:36:18 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue

2012-10-05 14:36:18 [sEVERE] [ForgeModLoader]

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized

mod_DatMod [mod_DatMod] (minecraft) Unloaded->Constructed->Pre-initialized->Errored

2012-10-05 14:36:18 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2012-10-05 14:36:18 [sEVERE] [ForgeModLoader] Caught exception from mod_DatMod

java.lang.NullPointerException

at net.minecraft.src.mod_DatMod.load(mod_DatMod.java:445)

at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:549)

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:601)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)

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:601)

at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

at com.google.common.eventbus.EventBus.post(EventBus.java:268)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:640)

at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:177)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:450)

at net.minecraft.client.Minecraft.run(Minecraft.java:737)

at java.lang.Thread.run(Thread.java:722)

2012-10-05 14:36:28 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.NullPointerException

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:102)

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:641)

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:177)

2012-10-05 14:36:28 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:450)

2012-10-05 14:36:28 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:737)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.lang.Thread.run(Thread.java:722)

2012-10-05 14:36:28 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException

2012-10-05 14:36:28 [iNFO] [sTDERR] at net.minecraft.src.mod_DatMod.load(mod_DatMod.java:445)

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:549)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:601)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Method.java:601)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

2012-10-05 14:36:28 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:268)

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)

2012-10-05 14:36:28 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:640)

2012-10-05 14:36:28 [iNFO] [sTDERR] ... 4 more

2012-10-05 14:36:28 [iNFO] [sTDERR] Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.java2d.windows.GDIWindowSurfaceData.initOps(Native Method)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.java2d.windows.GDIWindowSurfaceData.<init>(GDIWindowSurfaceData.java:271)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.java2d.windows.GDIWindowSurfaceData.createData(GDIWindowSurfaceData.java:130)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.java2d.d3d.D3DScreenUpdateManager.getGdiSurface(D3DScreenUpdateManager.java:527)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.java2d.d3d.D3DScreenUpdateManager.createGraphics(D3DScreenUpdateManager.java:276)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.awt.windows.WComponentPeer.getGraphics(WComponentPeer.java:598)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.Component.getGraphics(Component.java:3015)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.awt.RepaintArea.paint(RepaintArea.java:227)

2012-10-05 14:36:28 [iNFO] [sTDERR] at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:347)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.Component.dispatchEventImpl(Component.java:4936)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.Component.dispatchEvent(Component.java:4686)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue.access$000(EventQueue.java:101)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue$3.run(EventQueue.java:666)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue$3.run(EventQueue.java:664)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.security.AccessController.doPrivileged(Native Method)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue$4.run(EventQueue.java:680)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue$4.run(EventQueue.java:678)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.security.AccessController.doPrivileged(Native Method)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)

2012-10-05 14:36:28 [iNFO] [sTDERR] at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

2012-10-05 14:36:46 [iNFO] [sTDERR] Someone is closing me!

 

 

I don't know what's going on. Could someone help me?

Link to comment
Share on other sites

That NullPointerException makes me think that either the proxy variable wasn't initialized, or the registerRenderThings() method doesn't exist. 

 

Another note -- did you use the @SidedProxy annotation correctly?  It should look like this:

 

 

 

@SidedProxy(clientSide = "[ModPackage].[AnySubPackages].ClientProxy", serverSide = "[ModPackage].[AnySubPackages].CommonProxy")

//Client Proxy should extend common proxy

public static CommonProxy proxy;

 

 

 

(Do you use eclipse?  If so, you can test minecraft without compiling -- Just click the arrow-in-green-circle symbol near the top left.  Just make sure to put your textures in the eclipse directory in MCP, in the same location as they are in the src directory.)

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.