Jump to content

[1.7.10 UNSOLVED]Server(default run config) startup problems


Recommended Posts

Posted

Yesterday I tried to run my mod on server(default pre-set run configuration) and I got this crash report

 

<spoiler>

<code>

[15:40:11] [server thread/INFO]: Starting minecraft server version 1.7.10

[15:40:21] [server thread/ERROR]: Encountered an unexpected exception

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer

at cpw.mods.fml.common.LoadController.transition(LoadController.java:162) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:515) ~[Loader.class:?]

at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:88) ~[FMLServerHandler.class:?]

at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?]

at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]

Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer

at com.ec.Main.MainRegistry.preLoad(MainRegistry.java:62) ~[MainRegistry.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ~[Loader.class:?]

... 5 more

Caused by: java.lang.ClassNotFoundException: net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]

at com.ec.Main.MainRegistry.preLoad(MainRegistry.java:62) ~[MainRegistry.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ~[Loader.class:?]

... 5 more

Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer for invalid side SERVER

at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50) ~[forgeSrc-1.7.10-10.13.2.1230.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279) ~[launchwrapper-1.11.jar:?]

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176) ~[launchwrapper-1.11.jar:?]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]

at com.ec.Main.MainRegistry.preLoad(MainRegistry.java:62) ~[MainRegistry.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]

at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]

at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]

at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]

at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) ~[Loader.class:?]

... 5 more

[15:40:22] [server thread/ERROR]: This crash report has been saved to: *#@[đ€]đ€đ  (#Secret)

</code>

</spoiler>

 

This is my main mod class

<spoiler>

<code>

package com.ec.Main;

 

import net.minecraft.init.Items;

import net.minecraft.item.ItemStack;

import net.minecraftforge.client.MinecraftForgeClient;

 

import com.ec.blocks.MyBlocks;

import com.ec.entity.EntityLion;

import com.ec.entity.EntityLionMob;

import com.ec.handler.EnventHandlers;

import com.ec.handler.GuiHandler;

import com.ec.handler.PasswordPacket;

import com.ec.handler.UniversalMessage;

import com.ec.items.ItemBanner;

import com.ec.items.MyItems;

import com.ec.lib.OreGeneration;

import com.ec.lib.RefStrings;

import com.ec.models.LionMob;

import com.ec.render.RenderItemBanner;

import com.ec.render.RenderLionMob;

import com.ec.render.RenderSeparator;

import com.ec.tileentity.TileEntitySeparator;

 

import cpw.mods.fml.client.registry.ClientRegistry;

import cpw.mods.fml.client.registry.RenderingRegistry;

import cpw.mods.fml.common.FMLCommonHandler;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler;

import cpw.mods.fml.common.Mod.Instance;

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.NetworkRegistry;

import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

@Mod(modid = RefStrings.MODID, name = RefStrings.NAME, version = RefStrings.VERSION)

public class MainRegistry {

 

@SidedProxy(clientSide = "com.ec.Main.ClientProxy", serverSide = "com.ec.Main.ServerProxy")

public static ServerProxy proxy;

 

@Instance(RefStrings.MODID)

public static MainRegistry instance;

 

public static SimpleNetworkWrapper passwordPacket;

public static SimpleNetworkWrapper universalPacket;

 

@EventHandler

public static void preLoad(FMLPreInitializationEvent PreEvent)

{

MyItems.mainRegistry();

MyBlocks.mainRegistry();

CraftingManager.mainRegistry();

OreGeneration.mainRegistry();

proxy.registerTileEntities();

 

EntityLion.mainRegistry();

NetworkRegistry.INSTANCE.registerGuiHandler(MainRegistry.instance, new GuiHandler());

ClientProxy.registerRenders();

Achievements.mainRegistry();

FMLCommonHandler.instance().bus().register(new EnventHandlers());

 

passwordPacket = NetworkRegistry.INSTANCE.newSimpleChannel("PasswordChannel");

passwordPacket.registerMessage(PasswordPacket.Handler.class, PasswordPacket.class, 0, Side.SERVER);

universalPacket = NetworkRegistry.INSTANCE.newSimpleChannel("UniversalChannel");

universalPacket.registerMessage(UniversalMessage.Handler.class, UniversalMessage.class, 1, Side.SERVER);

}

 

@EventHandler

public static void load(FMLInitializationEvent event)

{

 

}

 

@EventHandler

public static void postLoad(FMLPostInitializationEvent PostEvent)

{

 

}

}

 

</code>

</spoiler>

Sorry, if you find mistaches in my posts.

I am not EN.

And when I post anything on Modder support, it means, I can't help myself and I need your help. And when you decide to delete my topic, just PM me with the reason, please.

Posted

I am running it from Eclipse IDE. If you meant that, I have never looked at build.gradle and never built my mod into jar

Sorry, if you find mistaches in my posts.

I am not EN.

And when I post anything on Modder support, it means, I can't help myself and I need your help. And when you decide to delete my topic, just PM me with the reason, please.

Posted
Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/tileentity/TileEntitySpecialRenderer for invalid side SERVER

 

You're calling

ClientProxy.registerRenders

(which presumably references client-only classes) on both sides, but this should only be called on the client side (from within the

ClientProxy

class). Either call it from

ClientProxy#registerTileEntities

or make a new instance method in

ServerProxy

, override it in

ClientProxy

to register your renderers and call the method on

MainRegistry.proxy

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

Recently I noticed ti has some problems with finding correct Classes. When I run any code it writes into console that NoClasssDefFound exception like this

 

 

[17:04:55] [main/INFO] [GradleStart]: Extra: []
[17:04:56] [main/INFO] [GradleStart]: Running with arguments: [--tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[17:04:56] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[17:04:56] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1230 for Minecraft 1.7.10 loading
[17:04:56] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_25
[17:04:56] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[17:04:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[17:04:56] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[17:04:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[17:04:56] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[17:04:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:04:56] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[17:05:00] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[17:05:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[17:05:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[17:05:01] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[17:05:01] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[17:05:01] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[17:05:02] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[17:05:09] [main/WARN] [FML]: =============================================================
[17:05:09] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[17:05:09] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[17:05:09] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[17:05:09] [main/WARN] [FML]: =============================================================
[17:05:09] [server thread/INFO]: Starting minecraft server version 1.7.10
[17:05:10] [server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[17:05:10] [server thread/INFO] [FML]: MinecraftForge v10.13.2.1230 Initialized
[17:05:10] [server thread/INFO] [FML]: Replaced 182 ore recipies
[17:05:11] [server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[17:05:12] [server thread/INFO] [FML]: Searching D:\Mod\Mod_1710\eclipse\mods for mods
[17:05:21] [server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[17:05:22] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tmpi] at CLIENT
[17:05:22] [server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, tmpi] at SERVER
[17:05:23] [server thread/INFO] [FML]: Processing ObjectHolder annotations
[17:05:23] [server thread/INFO] [FML]: Found 341 ObjectHolder annotations
[17:05:23] [server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[17:05:24] [server thread/INFO] [FML]: Applying holder lookups
[17:05:24] [server thread/INFO] [FML]: Holder lookups applied
[17:05:24] [server thread/INFO]: Loading properties
[17:05:24] [server thread/INFO]: Default game type: SURVIVAL
[17:05:24] [server thread/INFO]: Generating keypair
[17:05:25] [server thread/INFO]: Starting Minecraft server on *:25565
[17:05:25] [server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[17:05:25] [server thread/INFO]: Preparing level "world"
[17:05:26] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[17:05:26] [server thread/INFO] [FML]: Applying holder lookups
[17:05:26] [server thread/INFO] [FML]: Holder lookups applied
[17:05:27] [server thread/INFO] [FML]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@3aa1d92e)
[17:05:27] [server thread/INFO] [FML]: Loading dimension 1 (world) (net.minecraft.server.dedicated.DedicatedServer@3aa1d92e)
[17:05:27] [server thread/INFO] [FML]: Loading dimension -1 (world) (net.minecraft.server.dedicated.DedicatedServer@3aa1d92e)
[17:05:27] [server thread/INFO]: Preparing start region for level 0
[17:05:28] [server thread/INFO]: Preparing spawn area: 17%
[17:05:29] [server thread/INFO]: Preparing spawn area: 59%
[17:05:30] [server thread/INFO]: Done (4,118s)! For help, type "help" or "?"
[17:05:34] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2307ms behind, skipping 46 tick(s)
[17:05:37] [server thread/INFO]: com.mojang.authlib.GameProfile@3de75063[id=<null>,name=Enginecrafter77,properties={},legacy=false] (/192.168.1.105:64301) lost connection: Disconnected
[17:05:40] [server thread/INFO]: com.mojang.authlib.GameProfile@6e9c3903[id=<null>,name=Enginecrafter77,properties={},legacy=false] (/192.168.1.105:64304) lost connection: Disconnected
[17:06:29] [user Authenticator #1/INFO]: UUID of player Enginecrafter77 is cd8bbf59-02b6-46d0-ab91-504ed6347ed6
[17:06:30] [Netty IO #5/INFO] [FML]: Client protocol version 1
[17:06:30] [Netty IO #5/INFO] [FML]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[17:06:30] [Netty IO #5/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[17:06:31] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[17:06:31] [server thread/INFO]: Enginecrafter77[/192.168.1.105:64330] logged in with entity id 284 at (63.41770760033509, 99.0, 217.389403672944)
[17:06:31] [server thread/INFO]: Enginecrafter77 joined the game
[17:06:33] [server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2645ms behind, skipping 52 tick(s)
[17:06:35] [server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: com/ec/screen/ScreenAdvSwitcher
at com.ec.blocks.BlockAdvSwitcher.getGuiID(BlockAdvSwitcher.java:79) ~[blockAdvSwitcher.class:?]
at com.ec.lib.TileBlock$InventoryBlock.onBlockActivated(TileBlock.java:303) ~[TileBlock$InventoryBlock.class:?]
at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:409) ~[itemInWorldManager.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:593) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) ~[C08PacketPlayerBlockPlacement.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) ~[C08PacketPlayerBlockPlacement.class:?]
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?]
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:349) ~[DedicatedServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
Caused by: java.lang.ClassNotFoundException: com.ec.screen.ScreenAdvSwitcher
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
... 13 more
Caused by: java.lang.NoClassDefFoundError: com/ec/lib/CustomGui$InvGui
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_25]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_25]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_25]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
... 13 more
Caused by: java.lang.ClassNotFoundException: com.ec.lib.CustomGui$InvGui
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:101) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_25]
at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_25]
at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_25]
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.11.jar:?]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
... 13 more
[17:06:35] [server thread/ERROR]: This crash report has been saved to: D:\Mod\Mod_1710\eclipse\.\crash-reports\crash-2015-11-02_17.06.35-server.txt
[17:06:35] [server thread/INFO]: Stopping server
[17:06:35] [server thread/INFO]: Saving players
[17:06:35] [server thread/INFO]: Saving worlds
[17:06:35] [server thread/INFO]: Saving chunks for level 'world'/Overworld
[17:06:36] [server thread/INFO]: Saving chunks for level 'world'/Nether
[17:06:36] [server thread/INFO]: Saving chunks for level 'world'/The End
[17:06:37] [server thread/INFO] [FML]: Unloading dimension 0
[17:06:37] [server thread/INFO] [FML]: Unloading dimension -1
[17:06:37] [server thread/INFO] [FML]: Unloading dimension 1
[17:06:37] [server thread/INFO] [FML]: Applying holder lookups
[17:06:37] [server thread/INFO] [FML]: Holder lookups applied
[17:06:37] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

 

 

Sorry, if you find mistaches in my posts.

I am not EN.

And when I post anything on Modder support, it means, I can't help myself and I need your help. And when you decide to delete my topic, just PM me with the reason, please.

Posted
Caused by: java.lang.ClassNotFoundException: com.ec.lib.CustomGui$InvGui

 

Does

com.ec.lib.CustomGui.InvGui

reference any client-only classes (i.e. classes annotated with

@SideOnly(Side.CLIENT)

)? If it does, you can't use it on the server side unless the fields/methods that reference the client-only classes are also annotated with

@SideOnly(Side.CLIENT)

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

com.ec.lib.CustomGui.InvGui extends ContainerGui

I use it only in GuiHandler and block's implemented methd from abstract InventoryBlock that needs gui ID for opening it when right clicking the block.

I tried to hardcode the gui number. It helped and gui opened without crash. But when I clicked gui button server again closed.

Sorry, if you find mistaches in my posts.

I am not EN.

And when I post anything on Modder support, it means, I can't help myself and I need your help. And when you decide to delete my topic, just PM me with the reason, please.

Posted

So the server crashes? Upload the server's log/crash report to Gist and link them here.

 

Uploading the class(es) involved in the crash to Gist would also help diagnose the issue.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



×
×
  • Create New...

Important Information

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