Never mind, I figured it out. The server works now. Thank you very much for fixing this. 🙂
So what should I do to make them work? Is there a special way to type in the ops, whitelist etc....?
So if these aren't the JSON files....which ones do you need?
I gave you the JSON files....any news ideas?
Here you go...My dad is an IT guy...I should have asked him sooner 🙂
Also, this time the server did not shut down automatically when I renamed the JSON files....and then once I shut it down and tried to start it up again it crashed.
It still will not allow me to copy the JSON files over into the comments to send them to you....
Here is the Server Log for the time it worked after renaming the JSON files:
[09:01:02] [Server thread/INFO]: Preparing level "world"
[09:01:02] [Server thread/INFO]: Preparing start region for level 0
[09:01:03] [Server thread/INFO]: Preparing spawn area: 42%
[09:01:04] [Server thread/INFO]: Preparing spawn area: 95%
[09:01:04] [Server thread/INFO]: Done (2.402s)! For help, type "help" or "?"
[09:03:22] [User Authenticator #1/INFO]: UUID of player PManning4Prez is 074c5681-a9ee-4c63-aa77-e0cd0b24f4bc
[09:03:22] [Server thread/INFO]: Disconnecting com.mojang.authlib.GameProfile@7f41e0[id=074c5681-a9ee-4c63-aa77-e0cd0b24f4bc,name=PManning4Prez,properties={textures=[com.mojang.authlib.properties.Property@d349d4]},legacy=false] (/192.168.2.1:61639): You are not white-listed on this server!
[09:03:22] [Server thread/INFO]: com.mojang.authlib.GameProfile@7f41e0[id=074c5681-a9ee-4c63-aa77-e0cd0b24f4bc,name=PManning4Prez,properties={textures=[com.mojang.authlib.properties.Property@d349d4]},legacy=false] (/192.168.2.1:61639) lost connection: You are not white-listed on this server!
[09:03:32] [User Authenticator #2/INFO]: UUID of player PManning4Prez is 074c5681-a9ee-4c63-aa77-e0cd0b24f4bc
[09:03:32] [Server thread/INFO]: Disconnecting com.mojang.authlib.GameProfile@31c4c[id=074c5681-a9ee-4c63-aa77-e0cd0b24f4bc,name=PManning4Prez,properties={textures=[com.mojang.authlib.properties.Property@10b1320]},legacy=false] (/192.168.2.1:61642): You are not white-listed on this server!
[09:03:32] [Server thread/INFO]: com.mojang.authlib.GameProfile@31c4c[id=074c5681-a9ee-4c63-aa77-e0cd0b24f4bc,name=PManning4Prez,properties={textures=[com.mojang.authlib.properties.Property@10b1320]},legacy=false] (/192.168.2.1:61642) lost connection: You are not white-listed on this server!
[09:03:38] [Server thread/INFO]: Stopping server
[09:03:38] [Server thread/INFO]: Saving players
[09:03:38] [Server thread/INFO]: Saving worlds
Here is the Server Log after the crash
[09:03:44] [Server thread/INFO]: Starting minecraft server version 1.8
[09:03:44] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_67]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_67]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_67]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_67]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_67]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_67]
at pq.run(SourceFile:80) [minecraft_server.1.8.exe:?]
[09:03:44] [Server thread/INFO]: Loading properties
[09:03:44] [Server thread/INFO]: Default game type: SURVIVAL
[09:03:44] [Server thread/INFO]: Generating keypair
[09:03:45] [Server thread/INFO]: Starting Minecraft server on *:25565
[09:03:45] [Server thread/ERROR]: Encountered an unexpected exception
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.Gson.assertFullConsumption(Gson.java:779) ~[minecraft_server.1.8.exe:?]
at com.google.gson.Gson.fromJson(Gson.java:769) ~[minecraft_server.1.8.exe:?]
at ss.g(SourceFile:125) ~[minecraft_server.1.8.exe:?]
at pn.z(SourceFile:99) ~[minecraft_server.1.8.exe:?]
at pn.<init>(SourceFile:25) ~[minecraft_server.1.8.exe:?]
at po.i(SourceFile:171) ~[minecraft_server.1.8.exe:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:417) [minecraft_server.1.8.exe:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[minecraft_server.1.8.exe:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386) ~[minecraft_server.1.8.exe:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531) ~[minecraft_server.1.8.exe:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:414) ~[minecraft_server.1.8.exe:?]
at com.google.gson.Gson.assertFullConsumption(Gson.java:775) ~[minecraft_server.1.8.exe:?]
... 7 more
[09:03:45] [Server thread/ERROR]: This crash report has been saved to: C:\MineCraftServer2.0\.\crash-reports\crash-2014-10-09_09.03.45-server.txt
[09:03:48] [Server thread/INFO]: Stopping server
[09:03:48] [Server Shutdown Thread/INFO]: Stopping server
[09:01:01] [Server thread/INFO]: Starting minecraft server version 1.8
[09:01:01] [Server thread/INFO]: Loading properties
[09:01:01] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: The handle is invalid
at java.io.FileInputStream.readBytes(Native Method) ~[?:1.7.0_67]
at java.io.FileInputStream.read(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.7.0_67]
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.7.0_67]
at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.7.0_67]
at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.7.0_67]
at java.io.InputStreamReader.read(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedReader.fill(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_67]
at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.7.0_67]
at pq.run(SourceFile:80) [minecraft_server.1.8.exe:?]
[09:01:01] [Server thread/INFO]: Default game type: SURVIVAL
[09:01:01] [Server thread/INFO]: Generating keypair
[09:01:01] [Server thread/INFO]: Starting Minecraft server on *:25565
[09:01:02] [Server thread/WARN]: Failed to load user banlist:
java.io.FileNotFoundException: banned-players.json (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method) ~[?:1.7.0_67]
at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.7.0_67]
at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.8.exe:?]
at ss.g(SourceFile:124) ~[minecraft_server.1.8.exe:?]
at pn.z(SourceFile:99) [minecraft_server.1.8.exe:?]
at pn.<init>(SourceFile:25) [minecraft_server.1.8.exe:?]
at po.i(SourceFile:171) [minecraft_server.1.8.exe:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:417) [minecraft_server.1.8.exe:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
[09:01:02] [Server thread/WARN]: Failed to load ip banlist:
java.io.FileNotFoundException: banned-ips.json (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method) ~[?:1.7.0_67]
at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.7.0_67]
at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.8.exe:?]
at ss.g(SourceFile:124) ~[minecraft_server.1.8.exe:?]
at pn.y(SourceFile:91) [minecraft_server.1.8.exe:?]
at pn.<init>(SourceFile:27) [minecraft_server.1.8.exe:?]
at po.i(SourceFile:171) [minecraft_server.1.8.exe:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:417) [minecraft_server.1.8.exe:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
[09:01:02] [Server thread/WARN]: Failed to load operators list:
java.io.FileNotFoundException: ops.json (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method) ~[?:1.7.0_67]
at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.7.0_67]
at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.8.exe:?]
at ss.g(SourceFile:124) ~[minecraft_server.1.8.exe:?]
at pn.A(SourceFile:107) [minecraft_server.1.8.exe:?]
at pn.<init>(SourceFile:29) [minecraft_server.1.8.exe:?]
at po.i(SourceFile:171) [minecraft_server.1.8.exe:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:417) [minecraft_server.1.8.exe:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
[09:01:02] [Server thread/WARN]: Failed to load white-list:
java.io.FileNotFoundException: whitelist.json (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method) ~[?:1.7.0_67]
at java.io.FileInputStream.<init>(Unknown Source) ~[?:1.7.0_67]
at com.google.common.io.Files.newReader(Files.java:86) ~[minecraft_server.1.8.exe:?]
at ss.g(SourceFile:124) ~[minecraft_server.1.8.exe:?]
at pn.C(SourceFile:123) [minecraft_server.1.8.exe:?]
at pn.<init>(SourceFile:30) [minecraft_server.1.8.exe:?]
at po.i(SourceFile:171) [minecraft_server.1.8.exe:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:417) [minecraft_server.1.8.exe:?]
at java.lang.Thread.run(Unknown Source) [?:1.7.0_67]
So I did as you requested, and it looks like every JSON file becomes corrupted when the server starts. I renamed one JSON file after the other, and when the server started without crashing it stayed on for about 5 seconds and then shut off. After that the server crashed once I would try to start it up. I'm still not sure that I am clear on how to find the damaged JSON file.
---- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.
Time: 10/8/14 11:36 AM
Description: Exception in server tick loop
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.Gson.assertFullConsumption(Gson.java:779)
at com.google.gson.Gson.fromJson(Gson.java:769)
at ss.g(SourceFile:125)
at pn.z(SourceFile:99)
at pn.<init>(SourceFile:25)
at po.i(SourceFile:171)
at net.minecraft.server.MinecraftServer.run(SourceFile:417)
at java.lang.Thread.run(Unknown Source)
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 2
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531)
at com.google.gson.stream.JsonReader.peek(JsonReader.java:414)
at com.google.gson.Gson.assertFullConsumption(Gson.java:775)
... 7 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_67, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 477359456 bytes (455 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Here is the new Crash Report for it
---- Minecraft Crash Report ----
// You're mean.
Time: 10/7/14 8:35 AM
Description: Exception in server tick loop
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
at com.google.gson.Gson.fromJson(Gson.java:815)
at com.google.gson.Gson.fromJson(Gson.java:768)
at ss.g(SourceFile:125)
at pn.z(SourceFile:99)
at pn.<init>(SourceFile:25)
at po.i(SourceFile:171)
at net.minecraft.server.MinecraftServer.run(SourceFile:417)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was STRING at line 1 column 1
at com.google.gson.stream.JsonReader.beginArray(JsonReader.java:338)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:79)
at com.google.gson.internal.bind.CollectionTypeAdapterFactory$Adapter.read(CollectionTypeAdapterFactory.java:60)
at com.google.gson.Gson.fromJson(Gson.java:803)
... 7 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 7 (x86) version 6.1
Java Version: 1.7.0_67, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 474786224 bytes (452 MB) / 519110656 bytes (495 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
So I renamed all the JSON files, and when I started up the server it worked, but the 2nd time it started to crash again. How do I find the damaged JSON file?
I basically just deleted the old JSON files and started the server up again. Then I typed into the server commands /op PManning4Prez and /op jijn98 and it did it correctly for me. Then I banned who I needed to ban through the commands on the server...because I went through the server commands it set up the JSON files correctly.
Thanks again for the help