I don't know why this keeps happening. I have the EXACT same mod folder from copying and pasting for both client and the server. Why do I keep getting this error?
This is what the server says:
[19:21:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[19:21:34] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
[19:21:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
[19:21:34] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[19:21:34] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_301, running on Windows 10:x86:10.0, installed at C:\Program Files (x86)\Java\jre1.8.0_301
[19:21:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:21:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[19:21:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:21:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:21:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:21:35] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[19:21:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:21:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[19:21:35] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[19:21:35] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[19:21:35] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[19:21:37] [main/WARN] [FML]: =============================================================
[19:21:37] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[19:21:37] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
[19:21:37] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[19:21:37] [main/WARN] [FML]: =============================================================
[19:21:37] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.7.10
[19:21:37] [Server console handler/ERROR] [net.minecraft.server.dedicated.DedicatedServer]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_301]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_301]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_301]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_301]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_301]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_301]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_301]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_301]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_301]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_301]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_301]
at net.minecraft.server.dedicated.DedicatedServer$2.run(DedicatedServer.java:97) [lv.class:?]
[19:21:37] [Server thread/WARN] [net.minecraft.server.dedicated.DedicatedServer]: To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
[19:21:37] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[19:21:37] [Server thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[19:21:38] [Server thread/INFO] [FML]: Replaced 183 ore recipies
[19:21:38] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[19:21:38] [Server thread/INFO] [FML]: Config directory created successfully
[19:21:38] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[19:21:38] [Server thread/INFO] [FML]: Searching C:\Users\Jerry Huang\OneDrive - School District 38\Desktop\Server w the boys\mods for mods
[19:21:38] [Server thread/INFO] [FML]: Forge Mod Loader has identified 3 mods to load
[19:21:38] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at CLIENT
[19:21:38] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge] at SERVER
[19:21:38] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[19:21:38] [Server thread/INFO] [FML]: Found 341 ObjectHolder annotations
[19:21:38] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:21:38] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:21:38] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:21:38] [Server thread/INFO] [FML]: Applying holder lookups
[19:21:38] [Server thread/INFO] [FML]: Holder lookups applied
[19:21:38] [Server thread/INFO] [FML]: Injecting itemstacks
[19:21:38] [Server thread/INFO] [FML]: Itemstack injection complete
[19:21:38] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties
[19:21:38] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: SURVIVAL
[19:21:38] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair
[19:21:38] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on 10.0.0.42:25565
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:815)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:768)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:717)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:689)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at net.minecraftforge.common.ForgeVersion$1.run(ForgeVersion.java:94)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: at com.google.gson.Gson.fromJson(Gson.java:803)
[19:21:38] [Forge Version Check/INFO] [STDERR]: [java.lang.Throwable$WrappedPrintStream:println:-1]: ... 4 more
[19:21:39] [Server thread/INFO] [FML]: Injecting itemstacks
[19:21:39] [Server thread/INFO] [FML]: Itemstack injection complete
[19:21:39] [Server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 3 mods
[19:21:39] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level "world"
[19:21:39] [Server thread/INFO] [FML]: Loading dimension 0 (world) (net.minecraft.server.dedicated.DedicatedServer@10a1de5)
[19:21:39] [Server thread/INFO] [FML]: Loading dimension 1 (world) (net.minecraft.server.dedicated.DedicatedServer@10a1de5)
[19:21:39] [Server thread/INFO] [FML]: Loading dimension -1 (world) (net.minecraft.server.dedicated.DedicatedServer@10a1de5)
[19:21:39] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0
[19:21:40] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (0.969s)! For help, type "help" or "?"
[19:27:42] [User Authenticator #1/INFO] [net.minecraft.server.network.NetHandlerLoginServer]: UUID of player jerbear1521 is 9c5be254-4634-41f3-b75c-aa4718174555
[19:27:42] [Netty IO #2/INFO] [FML]: Client protocol version 2
[19:27:42] [Netty IO #2/INFO] [FML]: Client attempting to join with 42 mods :
[email protected],
[email protected]_1.7.10-28a7f13,
[email protected],
[email protected],appliedenergistics2-core@rv2-stable-10,
[email protected],
[email protected],
[email protected]_1.7.10-28a7f13,
[email protected],
[email protected],
[email protected],
[email protected]_beta,
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],appliedenergistics2@rv2-stable-10,
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],<CoFH ASM>@000,
[email protected],
[email protected],Neat@GRADLE:VERSION-GRADLE:BUILD,
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected],
[email protected]_beta,
[email protected]
[19:27:42] [Netty IO #2/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
[19:27:42] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: jerbear1521 lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}}
[19:27:42] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: jerbear1521 left the game