I tried making my own server but when I ran it in cmd.exe it crashed and gave this error:
---- Minecraft Crash Report --------
// Surprise! Haha. Well, this is awkward.
Time: 5/29/20 6:49
PMDescription: Exception in server tick loop
java.lang.RuntimeException: Failed to check session lock, aborting
at crn.h(SourceFile:95)
at crn.<init>(SourceFile:51)
at crp.a(SourceFile:113)
at crp.a(SourceFile:109)
at net.minecraft.server.MinecraftServer.a(SourceFile:360)
at wd.d(SourceFile:219)
at net.minecraft.server.MinecraftServer.run(SourceFile:628)
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.15.2 Minecraft Version ID: 1.15.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_251, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 511883416 bytes (488 MB) / 826277888 bytes (788 MB) up to 1883242496 bytes (1796 MB) CPUs: 8 JVM Flags: 0 total; Player Count: 0 / 5; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
-------------------------------------
Edit: it also gave something in cmd:
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:559) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.s(SourceFile:587) ~[server.jar:?]
at wd.s(SourceFile:597) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:689) [server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
and also
The exception was: java.net.BindException: Address already in use: bind
I tried making my own server but when I ran it in cmd.exe it crashed and gave this error:
---- Minecraft Crash Report --------
// Surprise! Haha. Well, this is awkward.
Time: 5/29/20 6:49
PMDescription: Exception in server tick loop
java.lang.RuntimeException: Failed to check session lock, aborting
at crn.h(SourceFile:95)
at crn.<init>(SourceFile:51)
at crp.a(SourceFile:113)
at crp.a(SourceFile:109)
at net.minecraft.server.MinecraftServer.a(SourceFile:360)
at wd.d(SourceFile:219)
at net.minecraft.server.MinecraftServer.run(SourceFile:628)
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.15.2 Minecraft Version ID: 1.15.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_251, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 511883416 bytes (488 MB) / 826277888 bytes (788 MB) up to 1883242496 bytes (1796 MB) CPUs: 8 JVM Flags: 0 total; Player Count: 0 / 5; [] Data Packs: Is Modded: Unknown (can't tell) Type: Dedicated Server (map_server.txt)
-------------------------------------
Edit: it also gave something in cmd:
java.lang.NullPointerException: null
at net.minecraft.server.MinecraftServer.a(SourceFile:559) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.s(SourceFile:587) ~[server.jar:?]
at wd.s(SourceFile:597) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.run(SourceFile:689) [server.jar:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
and also
The exception was: java.net.BindException: Address already in use: bind
Post the entire server log using paste.ubuntu.com and the contents of your startup script.
Turns out my virtual box was using the same ip or something like that. it's fixed now