Jump to content

Recommended Posts

Posted

Hey guys, I went to run my mod to check on it and then I got this error

 

2013-03-20 20:21:37 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.0.24.582 for Minecraft 1.5 loading
2013-03-20 20:21:37 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-03-20 20:21:39 [iNFO] [sTDOUT] 229 recipes
2013-03-20 20:21:39 [iNFO] [sTDOUT] 27 achievements
2013-03-20 20:21:39 [iNFO] [Minecraft-Client] Setting user: Player412
2013-03-20 20:21:39 [iNFO] [sTDOUT] (Session ID is -)
2013-03-20 20:21:39 [iNFO] [sTDERR] Client asked for parameter: server
2013-03-20 20:21:39 [iNFO] [Minecraft-Client] LWJGL Version: 2.4.2
2013-03-20 20:21:39 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-03-20 20:21:39 [iNFO] [sTDOUT] MinecraftForge v7.7.0.582 Initialized
2013-03-20 20:21:39 [iNFO] [ForgeModLoader] MinecraftForge v7.7.0.582 Initialized
2013-03-20 20:21:39 [iNFO] [sTDOUT] Replaced 85 ore recipies
2013-03-20 20:21:39 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-03-20 20:21:39 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Ryan\Desktop\MCP\jars\config\logging.properties
2013-03-20 20:21:39 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-03-20 20:21:40 [iNFO] [ForgeModLoader] Searching C:\Users\Ryan\Desktop\MCP\jars\mods for mods
2013-03-20 20:21:41 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-03-20 20:21:41 [iNFO] [mcp] Activating mod mcp
2013-03-20 20:21:41 [iNFO] [FML] Activating mod FML
2013-03-20 20:21:41 [iNFO] [Forge] Activating mod Forge
2013-03-20 20:21:41 [iNFO] [Parallel Worlds] Activating mod Parallel Worlds
2013-03-20 20:21:41 [sEVERE] [Parallel Worlds] The mod Parallel Worlds appears to have an invalid method annotation PreInit. This annotation can only apply to methods with argument types [class cpw.mods.fml.common.event.FMLPreInitializationEvent] -it will not be called
2013-03-20 20:21:41 [sEVERE] [ForgeModLoader] An error occured trying to load a proxy into {clientSide=assassinhero.parallelworlds.client.ParallelWorldsClientProxy, serverSide=assassinhero.parallelworlds.common.ParallelWorldsCommonProxy}.assassinhero.parallelworlds.common.ParallelWorlds
java.lang.ClassNotFoundException: assassinhero.parallelworlds.client.ParallelWorldsClientProxy
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:210)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:50)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:406)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:728)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:199)
... 33 more
2013-03-20 20:21:41 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
2013-03-20 20:21:41 [sEVERE] [ForgeModLoader] 
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge [Minecraft Forge] (coremods) Unloaded->Constructed
Parallel Worlds [ParallelWorlds] (bin) Unloaded->Errored
2013-03-20 20:21:41 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-03-20 20:21:41 [sEVERE] [ForgeModLoader] Caught exception from Parallel Worlds
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: assassinhero.parallelworlds.client.ParallelWorldsClientProxy
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:67)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:406)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:728)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: assassinhero.parallelworlds.client.ParallelWorldsClientProxy
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:210)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:50)
... 27 more
Caused by: java.lang.NullPointerException
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:199)
... 33 more
2013-03-20 20:21:51 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: assassinhero.parallelworlds.client.ParallelWorldsClientProxy
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:67)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:494)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:406)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:728)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: assassinhero.parallelworlds.client.ParallelWorldsClientProxy
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:210)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:56)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.Class.forName0(Native Method)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at java.lang.Class.forName(Unknown Source)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:50)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	... 27 more
2013-03-20 20:21:51 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-03-20 20:21:51 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:199)
2013-03-20 20:21:51 [iNFO] [sTDERR] 	... 33 more
2013-03-20 20:23:33 [iNFO] [sTDERR] Someone is closing me!

 

This is my coding:

Main Class:

@NetworkMod(clientSideRequired=true, serverSideRequired= true,
clientPacketHandlerSpec = @cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler(channels = {"ParallelWorlds"} , packetHandler = ParallelWorldsClientPacketHandler.class),
serverPacketHandlerSpec = @cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler(channels = {"ParallelWorlds"} , packetHandler = ParallelWorldsServerPacketHandler.class))

@Mod(modid="Parallel Worlds", name = "ParallelWorlds",version = "1.0.0")


public class ParallelWorlds {

@cpw.mods.fml.common.Mod.Instance("ParallelWorlds")
public static ParallelWorlds Instance = new ParallelWorlds();

	@SidedProxy(clientSide = "assassinhero.parallelworlds.client.ParallelWorldsClientProxy", serverSide = "assassinhero.parallelworlds.common.ParallelWorldsCommonProxy")
	public static ParallelWorldsCommonProxy proxy;

	public static Block NightStone;

	@cpw.mods.fml.common.Mod.PreInit
	public void PreInit(FMLInitializationEvent event){
		NightStone = new BlockNightStoneBlock(3658).setUnlocalizedName("Night Stone");

	}

	@Init
	public void InitParallelWorlds(FMLInitializationEvent event){
		NetworkRegistry.instance().registerGuiHandler(this, proxy);

		proxy.registerBlocks();

	}

}

 

BlockNightStoneBlock class;

public class BlockNightStoneBlock extends Block{
public BlockNightStoneBlock(int ID){
	super(ID,Material.iron);

}

@Override
public void func_94332_a(IconRegister par1IconRegister){
	this.field_94336_cN = par1IconRegister.func_94245_a("ParallelWorlds:NightStone");
}

}

 

CommonProxy:

public class ParallelWorldsCommonProxy implements IGuiHandler{

public void registerRenderInformation(){

}

@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z){
	return null;
}

@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z){
	return null;
}

public void registerTiles(){

}

public void registerBlocks(){

GameRegistry.registerBlock(ParallelWorlds.NightStone, "Night Stone");
LanguageRegistry.addName(ParallelWorlds.NightStone, "Night Stone");

}

public void registerItems(){

}

}

 

ClientPacketHandler:

@SideOnly(Side.CLIENT)


public class ParallelWorldsClientPacketHandler implements IPacketHandler{

@Override
public void onPacketData(INetworkManager manager, Packet250CustomPayload payload, Player player){
	DataInputStream data = new DataInputStream(new ByteArrayInputStream(payload.data));
}

}

 

ServerPacketHandler:

public class ParallelWorldsServerPacketHandler implements IPacketHandler{

@Override
public void onPacketData(INetworkManager manager, Packet250CustomPayload payload, Player player){
	DataInputStream data = new DataInputStream(new ByteArrayInputStream(payload.data));

	EntityPlayer sender = (EntityPlayer) player;

}

}

 

Can anyone shine some light on this for me and a possible fix?

 

Thanks :)

STOP CRUCIFYING NEW MODDERS!!!!

Posted
  On 3/20/2013 at 8:57 PM, diesieben07 said:

The class name you provided for your ClientProxy doesn't exist.

 

OH MY GOD!!! THANK YOU SO MUCH I WAS GOING INSANE!!! :D

 

Sorry for cap spam :D

STOP CRUCIFYING NEW MODDERS!!!!

Posted
  On 3/20/2013 at 8:57 PM, diesieben07 said:

The class name you provided for your ClientProxy doesn't exist.

 

Hey I hope you don't mind but can you help me with this...

 

I have made the client proxy now I get this error

2013-03-20 21:30:05 [sEVERE] [ForgeModLoader] Caught an exception during block registration
java.lang.NullPointerException
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)
at assassinhero.parallelworlds.common.ParallelWorldsCommonProxy.registerBlocks(ParallelWorldsCommonProxy.java:32)
at assassinhero.parallelworlds.ParallelWorlds.InitParallelWorlds(ParallelWorlds.java:42)
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:515)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:681)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:443)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:728)
at java.lang.Thread.run(Unknown Source)
2013-03-20 21:30:05 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
2013-03-20 21:30:05 [sEVERE] [ForgeModLoader] 
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
Parallel Worlds [ParallelWorlds] (bin) Unloaded->Constructed->Pre-initialized->Errored
2013-03-20 21:30:05 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-03-20 21:30:05 [sEVERE] [ForgeModLoader] Caught exception from Parallel Worlds
cpw.mods.fml.common.LoaderException: java.lang.NullPointerException
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)
at assassinhero.parallelworlds.common.ParallelWorldsCommonProxy.registerBlocks(ParallelWorldsCommonProxy.java:32)
at assassinhero.parallelworlds.ParallelWorlds.InitParallelWorlds(ParallelWorlds.java:42)
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:515)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:681)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:443)
at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
at net.minecraft.client.Minecraft.run(Minecraft.java:728)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)
... 35 more
2013-03-20 21:30:15 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.NullPointerException
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:232)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:195)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:171)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at assassinhero.parallelworlds.common.ParallelWorldsCommonProxy.registerBlocks(ParallelWorldsCommonProxy.java:32)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at assassinhero.parallelworlds.ParallelWorlds.InitParallelWorlds(ParallelWorlds.java:42)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:515)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:681)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:206)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:443)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:728)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2013-03-20 21:30:15 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-03-20 21:30:15 [iNFO] [sTDERR] 	at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:214)
2013-03-20 21:30:15 [iNFO] [sTDERR] 	... 35 more
2013-03-20 21:30:17 [iNFO] [sTDERR] Someone is closing me!

 

This is my client proxy

public class ParallelWorldsClientProxy extends ParallelWorldsCommonProxy{

public void registerRenderInformation() {
}



}

 

Also My PreInit is an invalid method... Any help here?

 

The mod Parallel Worlds appears to have an invalid method annotation PreInit. This annotation can only apply to methods with argument types [class cpw.mods.fml.common.event.FMLPreInitializationEvent] -it will not be called

STOP CRUCIFYING NEW MODDERS!!!!

Posted

You have to replace PreInit(FMLInitializationEvent event){ with PreInit(FMLPreInitializationEvent event){. If you don't see the diffrence - I just added "Pre" to argument name ;-)

Regards. Jantomedes

 

PS. If I helped don't forget about giving a "thank you" point ;-)

Posted
  On 3/20/2013 at 9:47 PM, Jantomedes said:

You have to replace PreInit(FMLInitializationEvent event){ with PreInit(FMLPreInitializationEvent event){. If you don't see the diffrence - I just added "Pre" to argument name ;-)

Regards. Jantomedes

 

I feel so stupid, How did I miss that?!?!?

Thanks!! :D

STOP CRUCIFYING NEW MODDERS!!!!

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

    • Same issue without voicechat?
    • Start by following the docs to get a workspace setup: https://docs.minecraftforge.net/en/latest/gettingstarted/ Then poke around some of the tutorials, https://www.mcjty.eu/docs/1.20/ used to be the goto, but not sure if there are any updates for regular forge or not, but if you've brushed up on Java, it will be enough to get you started. Poke around the Minecraft and Forge sources to see how things are done. Read the FAQ for information on how to post code/logs when you run into issues. Share as much info on issues you have as possible. Use github to host projects, chances of someone helping are higher when they can actually see all your code and/or build it themselves. And finally, keep it on the forums, don't direct message people with questions, most people do not provide personal support like that. Also keep in mind forums posts are not always immediately answered, if you're looking for a quicker response, you can always try the Minecraft Forge discord server.
    • Hello, I have a Forge Minecraft sever (I host it at g-portal.com) which has always worked fine and I had no problems, but today it doesn't wanna work anymore. Today I started the server and the status said online, but after a few seconds it said this: "Start failed". And then out of nowhere it restarted itself and the same thing happened again and again and now it's in an infinite loop where it just keeps failing and then restarts. Here's the download link for the server logs: https://www.mediafire.com/file/sq30dgoonjevib1/2025-07-06-1.log/file Does anyone know how to fix this? If yes I would really appreciate help. Best wishes, Gabs1107
    • I'm experiencing a critical issue on a dedicated Arch Linux server running the latest Forge for Minecraft 1.20.1. When a player exits a Nether portal (not enters, and not via /tp) or teleports into the End via portal, the server completely freezes for 1–10 minutes. During this time, all commands are unresponsive, and the game world essentially locks up. This is with watchdog disabled. Environment: OS: Arch Linux (latest packages) Java: OpenJDK 17 (up to date) Forge Version: Latest 1.20.1 (tested multiple versions from the past ~3 months) Mods: None (issue occurs on a clean install) Server Type: Proxmox VM with: 4 virtual cores 64 GB RAM (63 GB allocated via -Xmx and -Xms flags) Observed Behavior: Observed Behavior: The server freezes for 1–10 minutes when: Exiting a Nether portal (entering does not trigger the issue) Entering or exiting the End using a portal Teleporting using commands (e.g., /tp) works only for the Nether; teleporting to the End via command also causes a freeze The issue occurs anywhere in the world, not tied to specific coordinates or builds During the freeze: The server becomes completely unresponsive to all commands and player actions No crash reports, no errors, and no warnings are logged CPU usage remains under 50%, and RAM usage stays around 6–14 GB After 1–10 minutes, the server recovers automatically and resumes normal operation
  • Topics

×
×
  • Create New...

Important Information

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