Jump to content

[SOLVED]FML @Instance error


battlefield

Recommended Posts

So I'm working on a mod called zoocraftia and in transition from forge 4.0.0.217 to forge 4.0.0.243 I got this error after first launch on forge 243 without any changes made, the same error repeated until I remove the @Instance annotation from my main instance(of course I got NPE after that).

 

Error log

 

2012-09-01 22:03:20 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.171.348 for Minecraft client:1.3.2, server:1.3.2 loading
2012-09-01 22:03:20 [FINEST] [ForgeModLoader] All core mods are successfully located
2012-09-01 22:03:20 [FINEST] [ForgeModLoader] Discovering coremods
2012-09-01 22:03:20 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar
2012-09-01 22:03:20 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/argo-2.25.jar
2012-09-01 22:03:21 [FINEST] [ForgeModLoader] Download complete
2012-09-01 22:03:21 [iNFO] [ForgeModLoader] Download complete
2012-09-01 22:03:21 [FINEST] [ForgeModLoader] Library file argo-2.25.jar was downloaded and verified successfully

2012-09-01 22:03:21 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar
2012-09-01 22:03:21 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Download complete
2012-09-01 22:03:22 [iNFO] [ForgeModLoader] Download complete
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Library file guava-12.0.1.jar was downloaded and verified successfully

2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar
2012-09-01 22:03:22 [iNFO] [ForgeModLoader] Downloading file http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Download complete
2012-09-01 22:03:22 [iNFO] [ForgeModLoader] Download complete
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Library file asm-all-4.0.jar was downloaded and verified successfully

2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Running coremod plugins
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Validating minecraft
2012-09-01 22:03:22 [FINEST] [ForgeModLoader] Minecraft validated, launching...
2012-09-01 22:03:23 [iNFO] [sTDOUT] 27 achievements
2012-09-01 22:03:23 [iNFO] [sTDOUT] 195 recipes
2012-09-01 22:03:23 [iNFO] [sTDOUT] Setting user: Player250, -
2012-09-01 22:03:23 [iNFO] [sTDERR] Client asked for parameter: server
2012-09-01 22:03:23 [iNFO] [sTDOUT] LWJGL Version: 2.4.2
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] No mod directory found, creating one: D:\MCP\1.3\Zoocraftia\jars\mods
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] Mod directory created successfully
2012-09-01 22:03:24 [FINE] [ForgeModLoader] No config directory found, creating one: D:\MCP\1.3\Zoocraftia\jars\config
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] Config directory created successfully
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Found a minecraft related directory at D:\MCP\1.3\Zoocraftia\eclipse\Minecraft\bin, examining for mod candidates
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\jars\bin\jinput.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\jars\bin\lwjgl_util.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\jars\bin\lwjgl.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Found a minecraft related file at D:\MCP\1.3\Zoocraftia\jars\bin\minecraft.jar, examining for mod candidates
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\lib\argo-2.25.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\lib\asm-all-4.0.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\lib\guava-12.0.1.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\jars\lib\argo-2.25.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\jars\lib\guava-12.0.1.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Skipping known library file D:\MCP\1.3\Zoocraftia\jars\lib\asm-all-4.0.jar
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] Searching D:\MCP\1.3\Zoocraftia\jars\mods for mods
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Examining directory bin for potential mods
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] No mcmod.info file found in directory bin
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package ibxm
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraft
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.src
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.animals
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Identified a FMLMod type mod net.zoocraftia.animals.ZoocraftiaAnimalsMain
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.api
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.api.client
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.core
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.core.client
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.core.entityAI
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.core.listeners
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package net.zoocraftia.core.network
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Identified a FMLMod type mod net.zoocraftia.core.ZoocraftiaMain
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.bc
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.pkcs
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.engines
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.io
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.modes
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.params
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.config
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.util
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce.provider
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.util
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package paulscode
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound
2012-09-01 22:03:24 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs
2012-09-01 22:03:24 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods
2012-09-01 22:03:24 [iNFO] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file
2012-09-01 22:03:25 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Received a system property request ''
2012-09-01 22:03:25 [FINE] [ForgeModLoader] System property request managing the state of 0 mods
2012-09-01 22:03:25 [FINE] [ForgeModLoader] After merging, found state information for 0 mods
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Activating mod FML
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Activating mod Forge
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Enabling mod ZoocraftiaAnimals
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Activating mod ZoocraftiaAnimals
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Enabling mod Zoocraftia
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Activating mod Zoocraftia
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied
2012-09-01 22:03:25 [FINE] [ForgeModLoader] All mod requirements are satisfied
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Sorting mods into an ordered list
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Mod sorting completed successfully
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Mod sorting data:
2012-09-01 22:03:25 [FINE] [ForgeModLoader] 	ZoocraftiaAnimals(Zoocraftia Animals:Beta 1.0.0): bin ()
2012-09-01 22:03:25 [FINE] [ForgeModLoader] 	Zoocraftia(Zoocraftia Core:Beta 1.0.0): bin ()
2012-09-01 22:03:25 [sEVERE] [ForgeModLoader] FML has found a non-mod file minecraft.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
2012-09-01 22:03:25 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf to mod FML
2012-09-01 22:03:25 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf delivered to mod FML
2012-09-01 22:03:25 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf to mod Forge
2012-09-01 22:03:25 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf delivered to mod Forge
2012-09-01 22:03:25 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf to mod ZoocraftiaAnimals
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into ZoocraftiaAnimals
2012-09-01 22:03:25 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf delivered to mod ZoocraftiaAnimals
2012-09-01 22:03:25 [FINER] [ForgeModLoader] Posting state event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf to mod Zoocraftia
2012-09-01 22:03:25 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into Zoocraftia
2012-09-01 22:03:25 [FINER] [ForgeModLoader] State event cpw.mods.fml.common.event.FMLConstructionEvent@7b0b23cf delivered to mod Zoocraftia
2012-09-01 22:03:25 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
2012-09-01 22:03:25 [sEVERE] [ForgeModLoader] 
FML [Forge Mod Loader] (coremods) Unloaded->Constructed
Forge [Minecraft Forge] (coremods) Unloaded->Constructed
ZoocraftiaAnimals [Zoocraftia Animals] (bin) Unloaded->Errored
Zoocraftia [Zoocraftia Core] (bin) Unloaded->Constructed
2012-09-01 22:03:25 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2012-09-01 22:03:25 [sEVERE] [ForgeModLoader] Caught exception from ZoocraftiaAnimals
java.lang.IllegalArgumentException: Can not set static net.zoocraftia.core.ZoocraftiaMain field net.zoocraftia.core.ZoocraftiaMain.INSTANCE to net.zoocraftia.animals.ZoocraftiaAnimalsMain
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source)
at java.lang.reflect.Field.set(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:329)
at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:255)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:349)
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:124)
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:81)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:141)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:405)
at net.minecraft.client.Minecraft.run(Minecraft.java:737)
at java.lang.Thread.run(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] cpw.mods.fml.common.LoaderException: java.lang.IllegalArgumentException: Can not set static net.zoocraftia.core.ZoocraftiaMain field net.zoocraftia.core.ZoocraftiaMain.INSTANCE to net.zoocraftia.animals.ZoocraftiaAnimalsMain
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.transition(LoadController.java:102)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:459)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:141)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:405)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:737)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at java.lang.Thread.run(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] Caused by: java.lang.IllegalArgumentException: Can not set static net.zoocraftia.core.ZoocraftiaMain field net.zoocraftia.core.ZoocraftiaMain.INSTANCE to net.zoocraftia.animals.ZoocraftiaAnimalsMain
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.UnsafeStaticObjectFieldAccessorImpl.set(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at java.lang.reflect.Field.set(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.parseSimpleFieldAnnotation(FMLModContainer.java:329)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.processFieldAnnotations(FMLModContainer.java:255)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:349)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at com.google.common.eventbus.EventBus.post(EventBus.java:268)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)
2012-09-01 22:03:35 [iNFO] [sTDERR] 	... 4 more
2012-09-01 22:03:57 [iNFO] [sTDERR] Someone is closing me!

 

 

Here is the ZoocraftiaAnimalsMain class

 

package net.zoocraftia.animals;

import java.util.ArrayList;
import java.util.Map;

import net.minecraft.src.EnumCreatureType;
import net.zoocraftia.api.BaseEntity;
import net.zoocraftia.api.IZoocraftiaPlugin;
import net.zoocraftia.api.ZoocraftiaEntityInfo;
import net.zoocraftia.api.ZoocraftiaSpawnData;
import cpw.mods.fml.common.Mod;

@Mod(modid = "ZoocraftiaAnimals", name = "Zoocraftia Animals", version = "Beta 1.0.0")
public class ZoocraftiaAnimalsMain implements IZoocraftiaPlugin {

public void loadPlugin() {

}

public String getPluginName() {
	return "Zoocraftia: Animals";
}

}

 

 

And the ZoocraftiaMain class

 

package net.zoocraftia.core;

import net.minecraft.src.StringTranslate;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.Property;
import net.zoocraftia.core.client.ClientProxy;
import net.zoocraftia.core.network.PacketHandlerZoocraftia;
import cpw.mods.fml.client.FMLClientHandler;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
import cpw.mods.fml.common.Mod.PreInit;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.TickRegistry;
@Mod(modid = "Zoocraftia", name = "Zoocraftia Core", version = "Beta 1.0.0")
@NetworkMod(connectionHandler = PacketHandlerZoocraftia.class,
		packetHandler = PacketHandlerZoocraftia.class,
		channels = {"Zoocraftia"}, clientSideRequired = true,
		serverSideRequired = false)
public class ZoocraftiaMain {

public static final String VERSION = "Beta 1.0.0";
private ZoocraftiaPluginLoader LOADER;
@Instance
public static ZoocraftiaMain INSTANCE;
private static ZoocraftiaCore CORE_INSTANCE;
public static PacketHandlerZoocraftia PACKET_HANDLER_INSTANCE = new PacketHandlerZoocraftia();
public static String CHANNEL_NAME = "Zoocraftia";
@SidedProxy(clientSide = "net.zoocraftia.core.client.ClientProxy", serverSide = "net.zoocraftia.core.CommonProxy")
public static CommonProxy proxy;

@PreInit
public void preInit(FMLPreInitializationEvent event)
{
	LOADER = new ZoocraftiaPluginLoader(FMLClientHandler.instance().getClient());
}


public String getVersion() {
	return VERSION;
}

@Init
public void load(FMLInitializationEvent event) {
	proxy.initialize();
	loadCore();
}

@PostInit
public void modsLoaded(FMLPostInitializationEvent event)
{
	LOADER.load();
	System.out.println("Zoocraftia: loaded " + LOADER.getPlugins().size() + " plugin/s.");
}

public void loadCore() {

	//different registrations inside FML
	TickRegistry.registerTickHandler(new ZoocraftiaTicker(INSTANCE, false), Side.CLIENT);
	NetworkRegistry.instance().registerGuiHandler(INSTANCE, proxy);
	NetworkRegistry.instance().registerConnectionHandler(PACKET_HANDLER_INSTANCE);
	NetworkRegistry.instance().registerChannel(PACKET_HANDLER_INSTANCE, CHANNEL_NAME);

	//Core initialization
	CORE_INSTANCE = new ZoocraftiaCore();
	CORE_INSTANCE.initialize();
}

public static ZoocraftiaMain getInstance()
{
	return INSTANCE;
}

public static ZoocraftiaCore getCoreInstance()
{
	return CORE_INSTANCE;
}
}

 

Link to comment
Share on other sites

  • 1 month later...

Could you tell my how I think I have the same problem (even made a topic about it)

I try not to be mean about your english (as my own isn't the best either) but sometimes I can't help myself!

If you get mad at me for this or any other reason, please look at the profile picture so you'll feel better (and pretier) than me!

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Turning the Tables: My Journey to Reclaim Stolen Bitcoins with Expert Help. When my Bitcoin wallet was hacked and my entire cryptocurrency portfolio was stolen, I felt utterly devastated and hopeless. Having worked hard to build up my digital assets, the sudden loss was gut-wrenching. It felt like my financial future had been ripped away in an instant, leaving me overwhelmed by a sense of betrayal and despair. In my search for help, I discovered TECH CYBER FORCE Recovery, a renowned cybersecurity firm specializing in cryptocurrency recovery. I was met with professionalism and empathy from my first contact with them. The team demonstrated a steadfast commitment to helping me retrieve my stolen Bitcoins. They understood the emotional toll of my situation and approached my case with genuine concern. TECH CYBER FORCE Recovery swung into action immediately, leveraging its extensive expertise in blockchain forensics and hacker tracking techniques. Their process was meticulous. They analyzed my transaction history, followed the digital trail left by the hackers, and worked diligently to pinpoint the location of the stolen funds. I was impressed by their technical prowess; they employed advanced cryptographic methods and strategic negotiations with the perpetrators, all while keeping me informed about their progress. The recovery process was complex and fraught with challenges. However, the tenacity displayed by the team was truly awe-inspiring. They navigated cryptocurrency crime's murky and ever-evolving landscape with skill and determination. After a series of strategic moves, they managed to recover the majority of my Bitcoins successfully.  
    • I removed giacomos_hud, oculus, (dont know what you mean with iris), enhanced_boss_bars, epicfight and essential.  Server still doesnt want to boot. new logs after removing: https://pastebin.com/LuM2PFtN I dont quite understand the "server side" and "client side" difference..
    • There are client side only mods in your server files   Remove giacomos_hud, oculus, iris, enhanced_boss_bars and epicfight You can keep these mods in your client Maybe also remove essentials
    • Here is my Log with java 17: https://pastebin.com/RPdWSjwq
    • Been working on creating a server for this mod, but i keep getting this error over and over again.  I have tried updating/changing the Forge launcher, Removing/replacing the ops.json and whitelist.json folders, and removing certain mods. Crash report log: https://pastebin.com/Bu046cVq Debug.log https://pastebin.com/7hKm40ke Latest.log https://pastebin.com/nCRLUH3b any help would be great thanks!
  • Topics

×
×
  • Create New...

Important Information

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