Posted February 28, 20178 yr Hi I made a mod using eclipse and every time I run my mod I get this error, [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded. [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded. I want to know what state engine is and what it does, every comment is appreciated.
February 28, 20178 yr The state engine controls the loading and running stages of the game (Constructing, PreInitialisation, Initialisation, PostInitialisation, ServerStarting, ServerStarted, ServerStopping, ServerStopped, Errored). The lines you quoted are present in every crash report. Edited February 28, 20178 yr by XFactHD
March 1, 20178 yr Author Just now, XFactHD said: The state engine controls the loading and running stages of the game (Constructing, PreInitialisation, Initialisation, PostInitialisation, ServerStarting, ServerStarted, ServerStopping, ServerStopped, Errored). The lines you quoted are present in every crash report. http://pastebin.com/HLwZqSpp
March 1, 20178 yr Something is null, line 609 of yoir crash report tells you where. Edited March 1, 20178 yr by XFactHD
March 2, 20178 yr Author D Just now, XFactHD said: Something is null, line 609 of yoir crash report tells you where. Still crashing, here is the class where it crashes package com.TheRPGAdventurer.items; import com.TheRPGAdventurer.blocks.BlockDragonBreedEgg; import com.TheRPGAdventurer.entity.breeds.EnumDragonBreed; import net.minecraft.item.ItemBlock; import net.minecraft.item.ItemStack; import net.minecraft.util.text.translation.I18n; public class ItemDragonBreedEgg extends ItemBlock { public static final ItemDragonBreedEgg INSTANCE = new ItemDragonBreedEgg(); public ItemDragonBreedEgg() { super(BlockDragonBreedEgg.INSTANCE); setMaxDamage(0); setHasSubtypes(true); } @Override public int getMetadata(int metadata) { return metadata; } @Override public String getItemStackDisplayName(ItemStack stack) { EnumDragonBreed type = EnumDragonBreed.META_MAPPING.inverse().get(stack.getMetadata()); String breedName = I18n.translateToLocal("entity.RealmOfTheDragons.RealmOfTheDragon." + type.getName() + ".name"); return I18n.translateToLocalFormatted("item.dragonEgg.name", breedName); } }
March 2, 20178 yr java.lang.NullPointerException at com.TheRPGAdventurer.items.ItemDragonBreedEgg.getItemStackDisplayName(ItemDragonBreedEgg.java:27) Something in that method (at line 27 of the class) is null where it shouldn't be. Use printlns or step through with your debugger to find it.
March 2, 20178 yr Author Just now, Jay Avery said: java.lang.NullPointerException at com.TheRPGAdventurer.items.ItemDragonBreedEgg.getItemStackDisplayName(ItemDragonBreedEgg.java:27) Something in that method (at line 27 of the class) is null where it shouldn't be. Use printlns or step through with your debugger to find it. No worries already fixed it.
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.