This may be something on my end with a Windows update or something because my setup used to run the server just fine but now the latest official release is even crashing.
Here is the command line info and arguments I am using, which I removed them and it didn't help:
D:\OneDrive\Saved Games\Minecraft Server>java -Xms1024M -Xmx1024M -XX:+DisableExplicitGC -XX:+AggressiveOpts -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -jar minecraft_server.1.12.2.jar
[13:57:55] [main/ERROR]: Errors with built-in recipes!
[13:57:55] [Server thread/INFO]: Starting minecraft server version 1.12.2
[13:57:55] [Server thread/INFO]: Loading properties
[13:57:55] [Server thread/INFO]: Default game type: SURVIVAL
[13:57:55] [Server thread/INFO]: Generating keypair
[13:57:55] [Server thread/INFO]: Starting Minecraft server on *:25565
[13:57:56] [Server thread/INFO]: Using default channel type
[13:57:56] [Server thread/INFO]: Preparing level "world"
[13:57:56] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.UnsupportedOperationException: null
at com.sun.nio.zipfs.ZipFileSystemProvider.ensureFile(ZipFileSystemProvider.java:96) ~[zipfs.jar:1.8.0_151]
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:110) ~[zipfs.jar:1.8.0_151]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_151]
at java.nio.file.FileSystems.newFileSystem(Unknown Source) ~[?:1.8.0_151]
at ns.a(SourceFile:133) ~[minecraft_server.1.12.2.jar:?]
at ns.a(SourceFile:73) ~[minecraft_server.1.12.2.jar:?]
at ns.<init>(SourceFile:66) ~[minecraft_server.1.12.2.jar:?]
at oo.b(SourceFile:164) ~[minecraft_server.1.12.2.jar:?]
at net.minecraft.server.MinecraftServer.a(SourceFile:281) ~[minecraft_server.1.12.2.jar:?]
at nz.j(SourceFile:233) ~[minecraft_server.1.12.2.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:434) [minecraft_server.1.12.2.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
[13:57:56] [Server thread/ERROR]: This crash report has been saved to: D:\OneDrive\Saved Games\Minecraft Server\.\crash-reports\crash-2017-12-28_13.57.56-server.txt
[13:57:56] [Server thread/INFO]: Stopping server
[13:57:56] [Server thread/INFO]: Saving players
[13:57:56] [Server thread/INFO]: Saving worlds
[13:57:56] [Server Shutdown Thread/INFO]: Stopping server
And here is the crash log (couldn't get it attached):
---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 12/28/17 1:57 PM
Description: Exception in server tick loop
java.lang.UnsupportedOperationException
at com.sun.nio.zipfs.ZipFileSystemProvider.ensureFile(ZipFileSystemProvider.java:96)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:110)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at java.nio.file.FileSystems.newFileSystem(Unknown Source)
at ns.a(SourceFile:133)
at ns.a(SourceFile:73)
at ns.<init>(SourceFile:66)
at oo.b(SourceFile:164)
at net.minecraft.server.MinecraftServer.a(SourceFile:281)
at nz.j(SourceFile:233)
at net.minecraft.server.MinecraftServer.run(SourceFile:434)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_151, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 757351920 bytes (722 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
JVM Flags: 6 total; -Xms1024M -Xmx1024M -XX:+DisableExplicitGC -XX:+AggressiveOpts -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Player Count: 0 / 5; []
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Comments 5
Apparantly, the server does not have access rights to the world files. Please check whether running the server as administrator helps.
Running in an Admin CMD window didn't help but I found the problem. A few months ago it worked okay in my OneDrive folder but now I had to move it out of there and it worked just fine now. I don't know if this is something in Minecraft or the latest Windows update.
Does your server have plugins?