Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5442

Dispensing a Fire Charge crashes the server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • CraftBukkit version git-Spigot-f39a89e-beff9fb (MC: 1.15) (Implementing API version 1.15-R0.1-SNAPSHOT)
    • Yes

      Putting a Fire Charge into a Dispenser and then activating the Dispenser causes the server to immediately crash with the following crash report.

       

      It should be noted that it looks similar to SPIGOT-5425 but that fix doesn't appear to work for this.

       

      ---- Minecraft Crash Report ----
      // Hi. I'm Minecraft, and I'm a crashaholic.Time: 12/11/19, 8:22 PM
      Description: Exception while tickingjava.lang.AssertionError: TRAP
      	at net.minecraft.server.v1_15_R1.ItemStack.checkEmpty(ItemStack.java:86)
      	at net.minecraft.server.v1_15_R1.ItemStack.setCount(ItemStack.java:865)
      	at net.minecraft.server.v1_15_R1.EntityFireballFireball.c(SourceFile:31)
      	at net.minecraft.server.v1_15_R1.SystemUtils.a(SourceFile:290)
      	at net.minecraft.server.v1_15_R1.EntityFireballFireball.b(SourceFile:31)
      	at net.minecraft.server.v1_15_R1.IDispenseBehavior$12.a(IDispenseBehavior.java:316)
      	at net.minecraft.server.v1_15_R1.DispenseBehaviorItem.dispense(DispenseBehaviorItem.java:15)
      	at net.minecraft.server.v1_15_R1.BlockDispenser.dispense(BlockDispenser.java:63)
      	at net.minecraft.server.v1_15_R1.BlockDispenser.tick(BlockDispenser.java:89)
      	at net.minecraft.server.v1_15_R1.IBlockData.a(SourceFile:263)
      	at net.minecraft.server.v1_15_R1.WorldServer.b(WorldServer.java:590)
      	at net.minecraft.server.v1_15_R1.TickListServer.b(TickListServer.java:82)
      	at net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:303)
      	at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1076)
      	at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:393)
      	at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:978)
      	at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:823)
      	at java.base/java.lang.Thread.run(Thread.java:834)
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ----------------------------------------------------------------------------------------- Head --
      Thread: Server thread
      Stacktrace:
      	at net.minecraft.server.v1_15_R1.ItemStack.checkEmpty(ItemStack.java:86)
      	at net.minecraft.server.v1_15_R1.ItemStack.setCount(ItemStack.java:865)
      	at net.minecraft.server.v1_15_R1.EntityFireballFireball.c(SourceFile:31)
      	at net.minecraft.server.v1_15_R1.SystemUtils.a(SourceFile:290)
      	at net.minecraft.server.v1_15_R1.EntityFireballFireball.b(SourceFile:31)
      	at net.minecraft.server.v1_15_R1.IDispenseBehavior$12.a(IDispenseBehavior.java:316)
      	at net.minecraft.server.v1_15_R1.DispenseBehaviorItem.dispense(DispenseBehaviorItem.java:15)
      	at net.minecraft.server.v1_15_R1.BlockDispenser.dispense(BlockDispenser.java:63)
      	at net.minecraft.server.v1_15_R1.BlockDispenser.tick(BlockDispenser.java:89)
      	at net.minecraft.server.v1_15_R1.IBlockData.a(SourceFile:263)
      	at net.minecraft.server.v1_15_R1.WorldServer.b(WorldServer.java:590)-- Block being ticked --
      Details:
      	Block location: World: (-1044,69,159), Chunk: (at 12,4,15 in -66,9; contains blocks -1056,0,144 to -1041,255,159), Region: (-3,0; contains chunks -96,0 to -65,31, blocks -1536,0,0 to -1025,255,511)
      Stacktrace:
      	at net.minecraft.server.v1_15_R1.TickListServer.b(TickListServer.java:82)
      	at net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:303)-- Affected level --
      Details:
      	All players: 1 total; [EntityPlayer['Rawrski'/19, l='world', x=-1044.99, y=69.00, z=160.06](Rawrski at -1044.9947753615324,69.0,160.05542337321566)]
      	Chunk stats: ServerChunkCache: 4050
      	Level dimension: minecraft:overworld
      	Level name: world
      	Level seed: 1685340034367357234
      	Level generator: ID 00 - default, ver 1. Features enabled: true
      	Level generator options: {}
      	Level spawn location: World: (-237,65,-177), Chunk: (at 3,4,15 in -15,-12; contains blocks -240,0,-192 to -225,255,-177), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
      	Level time: 148563 game time, 228433 day time
      	Level storage version: 0x04ABD - Anvil
      	Level weather: Rain time: 1999893918 (now: false), thunder time: 24718 (now: false)
      	Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
      Stacktrace:
      	at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1076)
      	at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:393)
      	at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:978)
      	at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:823)
      	at java.base/java.lang.Thread.run(Thread.java:834)-- System Details --
      Details:
      	Minecraft Version: 1.15
      	Minecraft Version ID: 1.15
      	Operating System: Windows 10 (amd64) version 10.0
      	Java Version: 11.0.4, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 1127377408 bytes (1075 MB) / 2615148544 bytes (2494 MB) up to 10737418240 bytes (10240 MB)
      	CPUs: 8
      	JVM Flags: 1 total; -Xmx10G
      	CraftBukkit Information: 
         Running: CraftBukkit version git-Spigot-f39a89e-beff9fb (MC: 1.15) (Implementing API version 1.15-R0.1-SNAPSHOT) true
         Plugins: {}
         Warnings: DEFAULT
         Reload Count: 0
         Threads: { TIMED_WAITING ObjectCleanerThread: [[email protected]/java.lang.Object.wait(Native Method), [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), app//io.netty.util.internal.ObjectCleaner$1.run(ObjectCleaner.java:54), app//io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING Server-Worker-1: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], WAITING Snooper Timer: [[email protected]/java.lang.Object.wait(Native Method), [email protected]/java.lang.Object.wait(Object.java:328), [email protected]/java.util.TimerThread.mainLoop(Timer.java:527), [email protected]/java.util.TimerThread.run(Timer.java:506)], WAITING Thread-3: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2081), [email protected]/java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:433), app//com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77), app//org.bukkit.craftbukkit.v1_15_R1.util.TerminalConsoleWriterThread.run(TerminalConsoleWriterThread.java:30)], RUNNABLE Signal Dispatcher: [], RUNNABLE Reference Handler: [[email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method), [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:241), [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:213)], RUNNABLE Server console handler: [app//org.fusesource.jansi.internal.Kernel32.ReadConsoleInputW(Native Method), app//org.fusesource.jansi.internal.Kernel32.readConsoleInputHelper(Kernel32.java:761), app//org.fusesource.jansi.internal.Kernel32.readConsoleKeyInput(Kernel32.java:794), app//org.fusesource.jansi.internal.WindowsSupport.readConsoleInput(WindowsSupport.java:97), app//org.bukkit.craftbukkit.libs.jline.WindowsTerminal.readConsoleInput(WindowsTerminal.java:215), app//org.bukkit.craftbukkit.libs.jline.WindowsTerminal.access$000(WindowsTerminal.java:55), app//org.bukkit.craftbukkit.libs.jline.WindowsTerminal$1.read(WindowsTerminal.java:157), app//org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:169), app//org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:137), app//org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.read(NonBlockingInputStream.java:246), app//org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:261), app//org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:198), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:2145), app//org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:2349), app//net.minecraft.server.v1_15_R1.DedicatedServer$2.run(DedicatedServer.java:95)], RUNNABLE Netty Server IO #0: [[email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), [email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:339), [email protected]/sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:167), [email protected]/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:124), [email protected]/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:136), app//io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756), app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:411), app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884), [email protected]/java.lang.Thread.run(Thread.java:834)], RUNNABLE Server thread: [[email protected]/java.lang.Thread.dumpThreads(Native Method), [email protected]/java.lang.Thread.getAllStackTraces(Thread.java:1657), app//org.bukkit.craftbukkit.v1_15_R1.CraftCrashReport.call(CraftCrashReport.java:33), app//net.minecraft.server.v1_15_R1.CrashReportSystemDetails.a(SourceFile:79), app//net.minecraft.server.v1_15_R1.CrashReport.h(CrashReport.java:71), app//net.minecraft.server.v1_15_R1.CrashReport.<init>(CrashReport.java:35), app//net.minecraft.server.v1_15_R1.CrashReport.a(CrashReport.java:269), app//net.minecraft.server.v1_15_R1.TickListServer.b(TickListServer.java:84), app//net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:303), app//net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1076), app//net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:393), app//net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:978), app//net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:823), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING Server-Worker-4: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], WAITING poi IO worker: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), app//net.minecraft.server.v1_15_R1.IOWorker.c(SourceFile:124), app//net.minecraft.server.v1_15_R1.IOWorker.d(SourceFile:134), app//net.minecraft.server.v1_15_R1.IOWorker$$Lambda$2203/0x0000000800919c40.run(Unknown Source), [email protected]/java.lang.Thread.run(Thread.java:834)], TIMED_WAITING Server-Worker-6: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:275), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1619), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], TIMED_WAITING Spigot Metrics Thread: [[email protected]/java.lang.Object.wait(Native Method), [email protected]/java.util.TimerThread.mainLoop(Timer.java:553), [email protected]/java.util.TimerThread.run(Timer.java:506)], RUNNABLE DestroyJavaVM: [], WAITING Java2D Disposer: [[email protected]/java.lang.Object.wait(Native Method), [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176), [email protected]/sun.java2d.Disposer.run(Disposer.java:144), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING chunk IO worker: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), app//net.minecraft.server.v1_15_R1.IOWorker.c(SourceFile:124), app//net.minecraft.server.v1_15_R1.IOWorker.d(SourceFile:134), app//net.minecraft.server.v1_15_R1.IOWorker$$Lambda$2203/0x0000000800919c40.run(Unknown Source), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING Server-Worker-5: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], TIMED_WAITING Server Infinisleeper: [[email protected]/java.lang.Thread.sleep(Native Method), app//net.minecraft.server.v1_15_R1.DedicatedServer$1.run(DedicatedServer.java:69)], TIMED_WAITING Common-Cleaner: [[email protected]/java.lang.Object.wait(Native Method), [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:148), [email protected]/java.lang.Thread.run(Thread.java:834), [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:134)], WAITING Server-Worker-7: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], WAITING poi IO worker: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), app//net.minecraft.server.v1_15_R1.IOWorker.c(SourceFile:124), app//net.minecraft.server.v1_15_R1.IOWorker.d(SourceFile:134), app//net.minecraft.server.v1_15_R1.IOWorker$$Lambda$2203/0x0000000800919c40.run(Unknown Source), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING Server-Worker-3: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], RUNNABLE Netty Server IO #1: [[email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method), [email protected]/sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(WindowsSelectorImpl.java:339), [email protected]/sun.nio.ch.WindowsSelectorImpl.doSelect(WindowsSelectorImpl.java:167), [email protected]/sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:124), [email protected]/sun.nio.ch.SelectorImpl.select(SelectorImpl.java:136), app//io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:756), app//io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:411), app//io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING NonBlockingInputStreamThread: [[email protected]/java.lang.Object.wait(Native Method), app//org.bukkit.craftbukkit.libs.jline.internal.NonBlockingInputStream.run(NonBlockingInputStream.java:278), [email protected]/java.lang.Thread.run(Thread.java:834)], WAITING poi IO worker: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), app//net.minecraft.server.v1_15_R1.IOWorker.c(SourceFile:124), app//net.minecraft.server.v1_15_R1.IOWorker.d(SourceFile:134), app//net.minecraft.server.v1_15_R1.IOWorker$$Lambda$2203/0x0000000800919c40.run(Unknown Source), [email protected]/java.lang.Thread.run(Thread.java:834)], RUNNABLE Attach Listener: [], WAITING Server-Worker-2: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1628), [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)], WAITING Finalizer: [[email protected]/java.lang.Object.wait(Native Method), [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155), [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176), [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:170)], WAITING chunk IO worker: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), app//net.minecraft.server.v1_15_R1.IOWorker.c(SourceFile:124), app//net.minecraft.server.v1_15_R1.IOWorker.d(SourceFile:134), app//net.minecraft.server.v1_15_R1.IOWorker$$Lambda$2203/0x0000000800919c40.run(Unknown Source), [email protected]/java.lang.Thread.run(Thread.java:834)], TIMED_WAITING Spigot Watchdog Thread: [[email protected]/java.lang.Thread.sleep(Native Method), app//org.spigotmc.WatchdogThread.run(WatchdogThread.java:102)], WAITING chunk IO worker: [[email protected]/jdk.internal.misc.Unsafe.park(Native Method), [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:194), app//net.minecraft.server.v1_15_R1.IOWorker.c(SourceFile:124), app//net.minecraft.server.v1_15_R1.IOWorker.d(SourceFile:134), app//net.minecraft.server.v1_15_R1.IOWorker$$Lambda$2203/0x0000000800919c40.run(Unknown Source), [email protected]/java.lang.Thread.run(Thread.java:834)],}
         Recent tasks from 1331-1361{}
         Force Loaded Chunks: { world: {}, world_nether: {}, world_the_end: {},}
      	Player Count: 1 / 50; [EntityPlayer['Rawrski'/19, l='world', x=-1044.99, y=69.00, z=160.06](Rawrski at -1044.9947753615324,69.0,160.05542337321566)]
      	Data Packs: vanilla, file/bukkit
      	Is Modded: Definitely; Server brand changed to 'Spigot'
      	Type: Dedicated Server (map_server.txt)
      

            Unassigned Unassigned
            Puremin0rez Dylan Xaldin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: