Jump to content

Minecraft Starting Error


vandy22

Recommended Posts

I recently exported my mod and am now trying to get it to work on the client. I installed everything correctly but there is still an error. Here is the error:

 

Error Log from Minecraft Client:

      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem; Failed to start game

A full error report has been saved to C:\Users\jacks_000\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-04_21.22.28-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash 



--- BEGIN ERROR REPORT 11cf44c1 --------
Full report at:
C:\Users\jacks_000\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-04_21.22.28-client.txt
Please show that file to Mojang, NOT just this screen!

Generated 3/4/13 9:22 PM

-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_13, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 368774032 bytes (351 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
JV's ToolPack [JV's ToolPack] (JV'sToolPack.zip) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: AMD Radeon HD 7570 GL version 4.2.11750 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

cpw.mods.fml.common.LoaderException: java.lang.VerifyError: (class: tutorialtest/ItemTutorialHelmet, method: getArmorTextureFile signature: (Lur;)Ljava/lang/String;) Bad access to protected data
at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
at net.minecraft.client.Minecraft.a(Minecraft.java:456)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.VerifyError: (class: tutorialtest/ItemTutorialHelmet, method: getArmorTextureFile signature: (Lur;)Ljava/lang/String;) Bad access to protected data
at tutorialtest.mod_tutorial.load(mod_tutorial.java:182)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
... 5 more
--- END ERROR REPORT 967c111b ----------

 

Here is the line in my code it is referring to somewhere in the error code (Line 182 in mod_tutorial):

TutorialHelmet = new ItemTutorialHelmet(508,EnumArmorMaterial.BLUE, ModLoader.addArmor("Tut"),0).setItemName("TutHelm").setIconIndex(0).setCreativeTab(tabJVCraft);

 

Here is my ItemTutorialHelmet class:

package tutorialtest;

import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.IArmorTextureProvider;

public class ItemTutorialHelmet extends ItemArmor implements IArmorTextureProvider{

public ItemTutorialHelmet(int par1,	EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) {
	super(par1, par2EnumArmorMaterial, par3, par4);

}

public String getTextureFile(){
	 return ClientProxy.ITEMS_PNG;

}

public String getArmorTextureFile(ItemStack par1){
	if ( par1.itemID==mod_tutorial.TutorialHelmet.iconIndex|| par1.itemID==mod_tutorial.TutorialPlate.iconIndex||
			 par1.itemID==mod_tutorial.TutorialBoots.iconIndex){
		return "/armor/Tut_1.png";
	}if(par1.itemID==mod_tutorial.TutorialLegs.iconIndex){
		return "/armor/Tut_2.png";
	}return "/armor/Tut_1.png";
}	
}

 

I hope you can help. Im really not sure what the problem is on this one. Any advice would be great. Also, if you need to see any more script ASK! I will gladly give you more!!

Link to comment
Share on other sites

you cannot call an addArmor on a server side (server doesn't need to know how to render armor, hence the @SideOnly(CLIENT) annotation), your item creation seems odd. also it's a bad practice to use hard-coded IDs of blocks/items, it should be read from a config.

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

Link to comment
Share on other sites

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

Link to comment
Share on other sites

WOW! Amazing scripting man! Hey can you give me a little detail on how to not hard code the ID's? I saw you did and there was ALOT of stuff in your main class its kinda confusing. Also you had all your items have an int. Was that so they could be non hard coded? Honestly I was kinda confused with all that. I managed to get all the proxy stuff done and im recompling as im typing. Hopefully it will work, but besides that I would love to know how to not hard code!

Link to comment
Share on other sites

Ok so maybe you can tell me later about how to not hard code, but it didn't work! :( It has something to do with the client proxy, take a look at the error:

      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem; Failed to start game

A full error report has been saved to C:\Users\jacks_000\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-06_18.49.58-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash 



--- BEGIN ERROR REPORT 6c1b905f --------
Full report at:
C:\Users\jacks_000\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-06_18.49.58-client.txt
Please show that file to Mojang, NOT just this screen!

Generated 3/6/13 6:49 PM

-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_13, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 414000320 bytes (394 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge [Minecraft Forge] (coremods) Unloaded->Constructed
JV's ToolPack [JV's ToolPack] (JV'sToolPack.zip) Unloaded->Errored
LWJGL: 2.4.2
OpenGL: AMD Radeon HD 7570 GL version 4.2.11750 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: ClientProxy
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:69)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:83)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:479)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)
at net.minecraft.client.Minecraft.a(Minecraft.java:410)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: ClientProxy
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:52)
... 27 more
Caused by: java.lang.NullPointerException
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:174)
... 33 more
--- END ERROR REPORT 5a1baf51 ----------

 

Something about proxieingector or something. I hope you can help mnm, thanks!

Link to comment
Share on other sites

Ok so I did what you said and insted of just ClientProxy and CommonProxy i put the location. Still there is an error. I didnt export this time, just ran it from eclipse, but theres still the error. Thats why i had it set as ModLoader.addArmor not proxy.addArmor. Hope you can help! If you need anymore info please tell!! Here is the error:

 

Eclipse Console Error:

2013-03-07 18:03:53 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.7.32.553 for Minecraft 1.4.7 loading
2013-03-07 18:03:55 [iNFO] [sTDOUT] 27 achievements
2013-03-07 18:03:55 [iNFO] [sTDOUT] 210 recipes
2013-03-07 18:03:55 [iNFO] [sTDOUT] Setting user: Player799, -
2013-03-07 18:03:55 [iNFO] [sTDERR] Client asked for parameter: server
2013-03-07 18:03:55 [iNFO] [sTDOUT] LWJGL Version: 2.4.2
2013-03-07 18:03:56 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-03-07 18:03:56 [iNFO] [sTDOUT] MinecraftForge v6.6.1.524 Initialized
2013-03-07 18:03:56 [iNFO] [ForgeModLoader] MinecraftForge v6.6.1.524 Initialized
2013-03-07 18:03:56 [iNFO] [sTDOUT] Replaced 84 ore recipies
2013-03-07 18:03:56 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-03-07 18:03:56 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\jacks_000\Documents\My Games\Minecraft\Modding\MCP7\jars\config\logging.properties
2013-03-07 18:03:56 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-03-07 18:03:56 [iNFO] [ForgeModLoader] Searching C:\Users\jacks_000\Documents\My Games\Minecraft\Modding\MCP7\jars\mods for mods
2013-03-07 18:03:57 [iNFO] [ForgeModLoader] Attempting to reparse the mod container bin
2013-03-07 18:03:58 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-03-07 18:03:58 [iNFO] [mcp] Activating mod mcp
2013-03-07 18:03:58 [iNFO] [FML] Activating mod FML
2013-03-07 18:03:58 [iNFO] [Forge] Activating mod Forge
2013-03-07 18:03:58 [iNFO] [JV's ToolPack] Activating mod JV's ToolPack
2013-03-07 18:03:58 [sEVERE] [ForgeModLoader] An error occured trying to load a proxy into {clientSide=tutorial.client.ClientProxy, serverSide=tutorial.common.CommonProxy}.tutorialtest.mod_tutorial
java.lang.ClassNotFoundException: tutorial.client.ClientProxy
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:52)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:464)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:86)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:410)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at net.minecraftforge.transformers.EventTransformer.transform(EventTransformer.java:29)
at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
... 33 more
2013-03-07 18:03:58 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
2013-03-07 18:03:58 [sEVERE] [ForgeModLoader] 
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge [Minecraft Forge] (coremods) Unloaded->Constructed
JV's ToolPack [JV's ToolPack] (bin) Unloaded->Errored
2013-03-07 18:03:58 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-03-07 18:03:58 [sEVERE] [ForgeModLoader] Caught exception from JV's ToolPack
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.client.ClientProxy
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:69)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:464)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:86)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:410)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: tutorial.client.ClientProxy
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:52)
... 27 more
Caused by: java.lang.NullPointerException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at net.minecraftforge.transformers.EventTransformer.transform(EventTransformer.java:29)
at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
... 33 more
2013-03-07 18:04:08 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: tutorial.client.ClientProxy
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:69)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:464)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:153)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:86)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:410)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:744)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: tutorial.client.ClientProxy
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:57)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.Class.forName0(Native Method)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at java.lang.Class.forName(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:52)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	... 27 more
2013-03-07 18:04:08 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at net.minecraftforge.transformers.EventTransformer.transform(EventTransformer.java:29)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
2013-03-07 18:04:08 [iNFO] [sTDERR] 	... 33 more

Link to comment
Share on other sites

What do you mean its spelled wrong? This is what I have:

 

@SidedProxy(clientSide = "tutorial.client.ClientProxy", serverSide = "tutorial.common.CommonProxy")

    public static CommonProxy proxy;

 

Im not sure what you mean. I really need to fix this or im going to need to go back to ModLoader.addArmor which I dont want to. Hope you guys can help, Thanks!

Link to comment
Share on other sites

Ok so its great i figured out how to get the proxy working but now when i export my mod and run it with minecraft i get this error again:

 

Minecraft Error(From Client):


      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem; Failed to start game

A full error report has been saved to C:\Users\Jackson\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-10_09.45.50-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash 



--- BEGIN ERROR REPORT 6be41df6 --------
Full report at:
C:\Users\Jackson\AppData\Roaming\.minecraft\crash-reports\crash-2013-03-10_09.45.50-client.txt
Please show that file to Mojang, NOT just this screen!

Generated 3/10/13 9:45 AM

-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.6.0_20, Sun Microsystems Inc.
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
Memory: 377892968 bytes (360 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 4 mods loaded, 4 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
JV's ToolPack [JV's ToolPack] (JV'sArmorMod.zip) Unloaded->Constructed->Pre-initialized->Errored
LWJGL: 2.4.2
OpenGL: AMD M880G with ATI Mobility Radeon HD 4250   GL version 3.3.10179 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

cpw.mods.fml.common.LoaderException: java.lang.VerifyError: (class: tutorialtest/ItemTutorialHelmet, method: getArmorTextureFile signature: (Lur;)Ljava/lang/String;) Bad access to protected data
at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:658)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207)
at net.minecraft.client.Minecraft.a(Minecraft.java:456)
at asq.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:744)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.VerifyError: (class: tutorialtest/ItemTutorialHelmet, method: getArmorTextureFile signature: (Lur;)Ljava/lang/String;) Bad access to protected data
at tutorialtest.mod_tutorial.load(mod_tutorial.java:184)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:485)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:140)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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:83)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:657)
... 5 more
--- END ERROR REPORT 2cc53ab6 ----------

 

The funny thing is it launches from eclipse fine everytime. I dont know if im not doing something right or what. I hope you can help! Thanks!

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



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • They were already updated, and just to double check I even did a cleanup and fresh update from that same page. I'm quite sure drivers are not the problem here. 
    • i tried downloading the drivers but it says no AMD graphics hardware has been detected    
    • Update your AMD/ATI drivers - get the drivers from their website - do not update via system  
    • As the title says i keep on crashing on forge 1.20.1 even without any mods downloaded, i have the latest drivers (nvidia) and vanilla minecraft works perfectly fine for me logs: https://pastebin.com/5UR01yG9
    • Hello everyone, I'm making this post to seek help for my modded block, It's a special block called FrozenBlock supposed to take the place of an old block, then after a set amount of ticks, it's supposed to revert its Block State, Entity, data... to the old block like this :  The problem I have is that the system breaks when handling multi blocks (I tried some fix but none of them worked) :  The bug I have identified is that the function "setOldBlockFields" in the item's "setFrozenBlock" function gets called once for the 1st block of multiblock getting frozen (as it should), but gets called a second time BEFORE creating the first FrozenBlock with the data of the 1st block, hence giving the same data to the two FrozenBlock :   Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=head] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@73681674 BlockEntityData : id:"minecraft:bed",x:3,y:-60,z:-6} Old Block Fields set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=3, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} Frozen Block Entity set BlockState : Block{minecraft:black_bed}[facing=east,occupied=false,part=foot] BlockPos{x=2, y=-60, z=-6} BlockEntity : net.minecraft.world.level.block.entity.BedBlockEntity@6d1aa3da BlockEntityData : {id:"minecraft:bed",x:2,y:-60,z:-6} here is the code inside my custom "freeze" item :    @Override     public @NotNull InteractionResult useOn(@NotNull UseOnContext pContext) {         if (!pContext.getLevel().isClientSide() && pContext.getHand() == InteractionHand.MAIN_HAND) {             BlockPos blockPos = pContext.getClickedPos();             BlockPos secondBlockPos = getMultiblockPos(blockPos, pContext.getLevel().getBlockState(blockPos));             if (secondBlockPos != null) {                 createFrozenBlock(pContext, secondBlockPos);             }             createFrozenBlock(pContext, blockPos);             return InteractionResult.SUCCESS;         }         return super.useOn(pContext);     }     public static void createFrozenBlock(UseOnContext pContext, BlockPos blockPos) {         BlockState oldState = pContext.getLevel().getBlockState(blockPos);         BlockEntity oldBlockEntity = oldState.hasBlockEntity() ? pContext.getLevel().getBlockEntity(blockPos) : null;         CompoundTag oldBlockEntityData = oldState.hasBlockEntity() ? oldBlockEntity.serializeNBT() : null;         if (oldBlockEntity != null) {             pContext.getLevel().removeBlockEntity(blockPos);         }         BlockState FrozenBlock = setFrozenBlock(oldState, oldBlockEntity, oldBlockEntityData);         pContext.getLevel().setBlockAndUpdate(blockPos, FrozenBlock);     }     public static BlockState setFrozenBlock(BlockState blockState, @Nullable BlockEntity blockEntity, @Nullable CompoundTag blockEntityData) {         BlockState FrozenBlock = BlockRegister.FROZEN_BLOCK.get().defaultBlockState();         ((FrozenBlock) FrozenBlock.getBlock()).setOldBlockFields(blockState, blockEntity, blockEntityData);         return FrozenBlock;     }  
  • Topics

×
×
  • Create New...

Important Information

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