Server is Crashing and I don't Know why? Please Help!

Discussion in 'Spigot Help' started by Atho_, May 16, 2015.

  1. Here are the Logs:

    http://prntscr.com/75zr2a

    http://prntscr.com/75zr7r

    http://prntscr.com/75zrd0

    I've made servers in the past, and I portforwarded correctly. I don't know what is happening, please help asap!


    Here's The Crash Report:
    ---- Minecraft Crash Report ----
    // I bet Cylons wouldn't have this problem.

    Time: 5/16/15 5:20 PM
    Description: Exception in server tick loop

    java.lang.UnsatisfiedLinkError: C:\Users\Tubby\AppData\Local\Temp\jna\jna5653713462483434007.dll: Access is denied
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:771)
    at com.sun.jna.Native.loadNativeLibrary(Native.java:697)
    at com.sun.jna.Native.<clinit>(Native.java:127)
    at com.sun.jna.Pointer.<clinit>(Pointer.java:42)
    at com.sun.jna.platform.win32.WinReg$HKEY.<init>(WinReg.java:32)
    at com.sun.jna.platform.win32.WinReg.<clinit>(WinReg.java:61)
    at oshi.software.os.windows.WindowsHardwareAbstractionLayer.getProcessors(WindowsHardwareAbstractionLayer.java:33)
    at net.minecraft.server.v1_8_R2.SystemUtils.<clinit>(SourceFile:16)
    at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:712)
    at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368)
    at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651)
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554)
    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.8.3
    Operating System: Windows 8 (amd64) version 6.2
    CPU: ~~ERROR~~ NoClassDefFoundError: Could not initialize class net.minecraft.server.v1_8_R2.SystemUtils
    Java Version: 1.8.0_45, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 311119120 bytes (296 MB) / 521142272 bytes (497 MB) up to 954728448 bytes (910 MB)
    JVM Flags: 2 total; -Xms128M -Xmx1024M
    IntCache: cache: 5, tcache: 0, allocated: 13, tallocated: 95
    CraftBukkit Information:
    Running: CraftBukkit version git-Spigot-870264a-0a645a2 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT) true
    Plugins: {}
    Warnings: DEFAULT
    Reload Count: 0
    Threads: { RUNNABLE Server console handler: [java.io.FileInputStream.readBytes(Native Method), java.io.FileInputStream.read(Unknown Source), java.io.BufferedInputStream.fill(Unknown Source), java.io.BufferedInputStream.read(Unknown Source), org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:248), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLineSimple(ConsoleReader.java:3183), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2333), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2269), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2257), net.minecraft.server.v1_8_R2.DedicatedServer$2.run(DedicatedServer.java:81)], RUNNABLE Netty Server IO #2: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Unknown Source)], WAITING Java2D Disposer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), sun.java2d.Disposer.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE Netty Server IO #3: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Server Infinisleeper: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_8_R2.DedicatedServer$1.run(DedicatedServer.java:54)], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Unknown Source), org.bukkit.craftbukkit.v1_8_R2.CraftCrashReport.call(CraftCrashReport.java:29), net.minecraft.server.v1_8_R2.CrashReportSystemDetails.a(SourceFile:78), net.minecraft.server.v1_8_R2.CrashReport.h(CrashReport.java:136), net.minecraft.server.v1_8_R2.CrashReport.<init>(CrashReport.java:34), net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:574), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:92)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Unknown Source), java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)], TIMED_WAITING Keep-Alive-Timer: [java.lang.Thread.sleep(Native Method), sun.net.www.http.KeepAliveCache.run(Unknown Source), java.lang.Thread.run(Unknown Source)], RUNNABLE DestroyJavaVM: [], WAITING Thread-4: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), org.bukkit.craftbukkit.v1_8_R2.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:25), java.lang.Thread.run(Unknown Source)], WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.server.v1_8_R2.FileIOThread.c(SourceFile:51), net.minecraft.server.v1_8_R2.FileIOThread.run(SourceFile:30), java.lang.Thread.run(Unknown Source)], RUNNABLE Netty Server IO #0: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], RUNNABLE Netty Server IO #1: [sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source), sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source), sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source), sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source), sun.nio.ch.SelectorImpl.select(Unknown Source), io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622), io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310), io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Spigot Metrics Thread: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)], RUNNABLE Attach Listener: [], RUNNABLE Signal Dispatcher: [],}
    Recent tasks from 1822-1852{}
    Profiler Position: N/A (disabled)
    Player Count: 1 / 10; [EntityPlayer['Atho_'/116, l='world', x=28.50, y=72.00, z=212.50](Atho_ at 28.5,72.0,212.5)]
    Is Modded: Definitely; Server brand changed to 'Spigot'
    Type: Dedicated Server (map_server.txt)
     
    #1 Atho_, May 16, 2015
    Last edited: May 16, 2015
  2. Make sure your batch file consists of 3 things
    A maximum range of RAM
    A minimum range of RAM
    And a launch code for the spigot you are using.

    Here is a batch that has a maximum of 2GB of RAM, and has a minimum of 1GB of RAM.
    Code (Text):
    @echo off
    java -Xms1024M -Xmx2048M -jar spigot.jar
    pause
    I use @echo off so it saves space in the console, and pause so once the server is stopped it pauses the console so i can read through. You need pause in the batch file.

    I understand you know how to do this, however it does look like a hardware related thing. I don't know what it is but it seems to be coming from your AppData.