Problem/Bug My server stops immediately after starting it.

Discussion in 'Bukkit Help' started by JoeShmugg, Oct 3, 2019.

  1. Offline

    JoeShmugg

    10/3/2019 2:54:23 PM [WARN] java.util.concurrent.CompletionException: org.h2.jdbc.JdbcSQLNonTransientConnectionException: The database has been closed [90098-198]
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.Storage.lambda$makeFuture$1(Storage.java:99)
    10/3/2019 2:54:23 PM [WARN] at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1626)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler$ErrorReportingRunnable.run(AbstractJavaScheduler.java:106)
    10/3/2019 2:54:23 PM [WARN] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    10/3/2019 2:54:23 PM [WARN] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    10/3/2019 2:54:23 PM [WARN] at java.lang.Thread.run(Thread.java:748)
    10/3/2019 2:54:23 PM [WARN] Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: The database has been closed [90098-198]
    10/3/2019 2:54:23 PM [WARN] at org.h2.message.DbException.getJdbcSQLException(DbException.java:616)
    10/3/2019 2:54:23 PM [WARN] at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
    10/3/2019 2:54:23 PM [WARN] at org.h2.message.DbException.get(DbException.java:194)
    10/3/2019 2:54:23 PM [WARN] at org.h2.engine.Session.getTransaction(Session.java:1711)
    10/3/2019 2:54:23 PM [WARN] at org.h2.engine.Session.startStatementWithinTransaction(Session.java:1731)
    10/3/2019 2:54:23 PM [WARN] at org.h2.command.Command.executeQuery(Command.java:196)
    10/3/2019 2:54:23 PM [WARN] at org.h2.jdbc.JdbcPreparedStatement.executeQuery(JdbcPreparedStatement.java:115)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.implementation.sql.SqlStorage.loadAllTracks(SqlStorage.java:855)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.Storage.lambda$loadAllTracks$17(Storage.java:236)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.Storage.lambda$makeFuture$1(Storage.java:94)
    10/3/2019 2:54:23 PM [WARN] ... 5 more
    10/3/2019 2:54:23 PM [WARN] Caused by: java.lang.IllegalStateException: Writing to nio:C:/Users/Joey Shmugg Baldi/Desktop/Minecraft Server bop/plugins/LuckPerms/luckperms-h2.mv.db failed; length 24576 at 45056 [1.4.198/2]
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.DataUtils.newIllegalStateException(DataUtils.java:883)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.DataUtils.writeFully(DataUtils.java:443)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.FileStore.writeFully(FileStore.java:113)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.MVStore.write(MVStore.java:935)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.MVStore.storeNow(MVStore.java:1332)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.MVStore.store(MVStore.java:1190)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.MVStore.tryCommit(MVStore.java:1135)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.MVStore.writeInBackground(MVStore.java:2763)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.MVStore$BackgroundWriterThread.run(MVStore.java:3123)
    10/3/2019 2:54:23 PM [WARN] Caused by: java.io.IOException: Access is denied
    10/3/2019 2:54:23 PM [WARN] at sun.nio.ch.FileDispatcherImpl.pwrite0(Native Method)
    10/3/2019 2:54:23 PM [WARN] at sun.nio.ch.FileDispatcherImpl.pwrite(FileDispatcherImpl.java:81)
    10/3/2019 2:54:23 PM [WARN] at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:89)
    10/3/2019 2:54:23 PM [WARN] at sun.nio.ch.IOUtil.write(IOUtil.java:65)
    10/3/2019 2:54:23 PM [WARN] at sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:772)
    10/3/2019 2:54:23 PM [WARN] at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:755)
    10/3/2019 2:54:23 PM [WARN] at org.h2.store.fs.FileNio.write(FilePathNio.java:79)
    10/3/2019 2:54:23 PM [WARN] at org.h2.mvstore.DataUtils.writeFully(DataUtils.java:439)
    10/3/2019 2:54:23 PM [WARN] ... 7 more
    10/3/2019 2:54:23 PM [INFO] [LuckPerms] Successfully enabled. (took 4321ms)
    10/3/2019 2:54:23 PM [INFO] [Vault] Enabling Vault v1.7.2-b107
    10/3/2019 2:54:23 PM [ERROR] [Vault] Could not save config to plugins\Vault\config.yml
    10/3/2019 2:54:23 PM java.io.IOException: Access is denied
    10/3/2019 2:54:23 PM at java.io.FileOutputStream.writeBytes(Native Method) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at java.io.FileOutputStream.write(FileOutputStream.java:326) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at sun.nio.cs.StreamEncoder.implClose(StreamEncoder.java:316) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:149) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at java.i:confused:utputStreamWriter.close(OutputStreamWriter.java:233) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at org.bukkit.configuration.file.FileConfiguration.save(FileConfiguration.java:72) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at org.bukkit.plugin.java.JavaPlugin.saveConfig(JavaPlugin.java:170) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.milkbowl.vault.Vault.onEnable(Vault.java:134) [Vault.jar:?]
    10/3/2019 2:54:23 PM at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugin(CraftServer.java:461) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at org.bukkit.craftbukkit.v1_14_R1.CraftServer.enablePlugins(CraftServer.java:375) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:195) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:776) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
    10/3/2019 2:54:23 PM [INFO] [Vault] [Economy] Essentials Economy found: Waiting
    10/3/2019 2:54:23 PM [INFO] [Vault] [Permission] SuperPermissions loaded as backup permission system.
    10/3/2019 2:54:23 PM [INFO] [Vault] Enabled Version 1.7.2-b107
    10/3/2019 2:54:23 PM [INFO] [LuckPerms] Registered Vault permission & chat hook.
    10/3/2019 2:54:23 PM [INFO] Preparing level "world"
    10/3/2019 2:54:23 PM [WARN] java.io.FileNotFoundException: .\world\session.lock (The system cannot find the path specified)
    10/3/2019 2:54:23 PM [WARN] at java.io.FileOutputStream.open0(Native Method)
    10/3/2019 2:54:23 PM [WARN] at java.io.FileOutputStream.open(FileOutputStream.java:270)
    10/3/2019 2:54:23 PM [WARN] at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    10/3/2019 2:54:23 PM [WARN] at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
    10/3/2019 2:54:23 PM [WARN] at net.minecraft.server.v1_14_R1.WorldNBTStorage.h(WorldNBTStorage.java:83)
    10/3/2019 2:54:23 PM [WARN] at net.minecraft.server.v1_14_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:45)
    10/3/2019 2:54:23 PM [WARN] at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:369)
    10/3/2019 2:54:23 PM [WARN] at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258)
    10/3/2019 2:54:23 PM [WARN] at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:776)
    10/3/2019 2:54:23 PM [WARN] at java.lang.Thread.run(Thread.java:748)
    10/3/2019 2:54:23 PM [ERROR] Encountered an unexpected exception
    10/3/2019 2:54:23 PM java.lang.RuntimeException: Failed to check session lock for world located at .\world, aborting. Stop the server and delete the session.lock in this world to prevent further issues.
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.WorldNBTStorage.h(WorldNBTStorage.java:93) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.WorldNBTStorage.<init>(WorldNBTStorage.java:45) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:369) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:258) ~[spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:776) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
    10/3/2019 2:54:23 PM [ERROR] Could not save crash report to .\crash-reports\crash-2019-10-03_14.54.23-server.txt
    10/3/2019 2:54:23 PM java.io.FileNotFoundException: .\crash-reports\crash-2019-10-03_14.54.23-server.txt (The system cannot find the file specified)
    10/3/2019 2:54:23 PM at java.io.FileOutputStream.open0(Native Method) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at java.io.FileOutputStream.open(FileOutputStream.java:270) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at java.io.FileOutputStream.<init>(FileOutputStream.java:213) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at java.io.FileOutputStream.<init>(FileOutputStream.java:162) ~[?:1.8.0_221]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.CrashReport.a(CrashReport.java:186) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:846) [spigot-1.14.4.jar:git-Spigot-9de398a-9c887d4]
    10/3/2019 2:54:23 PM at java.lang.Thread.run(Thread.java:748) [?:1.8.0_221]
    10/3/2019 2:54:23 PM [ERROR] We were unable to save this crash report to disk.
    10/3/2019 2:54:23 PM [INFO] Stopping server
    10/3/2019 2:54:23 PM [INFO] [Vault] Disabling Vault v1.7.2-b107
    10/3/2019 2:54:23 PM [INFO] [LuckPerms] Disabling LuckPerms v4.4.1
    10/3/2019 2:54:23 PM [INFO] [LuckPerms] Closing storage...
    10/3/2019 2:54:23 PM [WARN] java.lang.reflect.UndeclaredThrowableException
    10/3/2019 2:54:23 PM [WARN] at com.sun.proxy.$Proxy25.shutdown(Unknown Source)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.implementation.sql.connection.file.H2ConnectionFactory.shutdown(H2ConnectionFactory.java:99)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.implementation.sql.SqlStorage.shutdown(SqlStorage.java:221)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.storage.Storage.shutdown(Storage.java:119)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.common.plugin.AbstractLuckPermsPlugin.disable(AbstractLuckPermsPlugin.java:206)
    10/3/2019 2:54:23 PM [WARN] at me.lucko.luckperms.bukkit.LPBukkitBootstrap.onDisable(LPBukkitBootstrap.java:168)
    10/3/2019 2:54:23 PM [WARN] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:265)
    10/3/2019 2:54:23 PM [GUI] The server has stopped
     
  2. Offline

    Zombie_Striker

    The world "world" has an invalid session.lock file in it. Delete the file and that should fix the issue.
     

Share This Page