Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-136988

World Generation -Writing into PalettedContainer from multiple threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.13.1
    • None
    • Unconfirmed

      No Matter, which World Generation i use, (even on Flatland w/o Structures) always gettin'

      up to 10 error messages like below.

      Walkaround: After error appears, close all and start again.

      Time: 21.09.18 12:26
      Description: Writing into PalettedContainer from multiple threads
      
      java.lang.IllegalStateException
       at bnp.b(SourceFile:43)
       at bnp.a(SourceFile:110)
       at bnj.a(SourceFile:68)
       at bnq.a(SourceFile:168)
       at ti.a(SourceFile:217)
       at bsd.a(SourceFile:133)
       at bsd.a(SourceFile:42)
       at bsd.a(SourceFile:14)
       at bvw.a(SourceFile:21)
       at bvw.a(SourceFile:14)
       at bpm.a(SourceFile:27)
       at ayt.a(SourceFile:504)
       at boo.a(SourceFile:183)
       at tr.a(SourceFile:12)
       at tq.a(SourceFile:35)
       at bnc.a(SourceFile:95)
       at tx.a(SourceFile:79)
       at tx.a(SourceFile:25)
       at acu$a.a(SourceFile:147)
       at acu$a$$Lambda$1638/3245920.apply(Unknown Source)
       at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Thread: Server thread
      Stacktrace:
       at bnp.b(SourceFile:43)
      
      -- Thread dumps --
      Details:
       Thread dumps: WorldGen-Scheduler-1: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
       at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
       at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
       at java.lang.Thread.run(Thread.java:745)
      WorldGen-Worker-11: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-5: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-6: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-12: 
       at java.util.BitSet.set(BitSet.java:451)
       at bsd.a(SourceFile:129)
       at bsd.a(SourceFile:42)
       at bsd.a(SourceFile:14)
       at bvw.a(SourceFile:21)
       at bvw.a(SourceFile:14)
       at bpm.a(SourceFile:27)
       at ayt.a(SourceFile:504)
       at boo.a(SourceFile:183)
       at tr.a(SourceFile:12)
       at tq.a(SourceFile:35)
       at bnc.a(SourceFile:95)
       at tx.a(SourceFile:79)
       at tx.a(SourceFile:25)
       at acu$a.a(SourceFile:147)
       at acu$a$$Lambda$1638/3245920.apply(Unknown Source)
       at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-10: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Snooper Timer: 
       at java.lang.Object.wait(Native Method)
       at java.lang.Object.wait(Object.java:502)
       at java.util.TimerThread.mainLoop(Timer.java:526)
       at java.util.TimerThread.run(Timer.java:505)
      WorldGen-Worker-1: 
       at java.lang.Thread.getStackTrace(Thread.java:1552)
       at bnp.a(SourceFile:41)
       at bnp$$Lambda$1667/29343506.apply(Unknown Source)
       at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
       at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
       at java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)
       at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
       at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
       at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
       at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
       at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
       at bnp.b(SourceFile:42)
       at bnp.a(SourceFile:110)
       at bnj.a(SourceFile:68)
       at bnq.a(SourceFile:168)
       at ti.a(SourceFile:217)
       at bsd.a(SourceFile:133)
       at bsd.a(SourceFile:42)
       at bsd.a(SourceFile:14)
       at bvw.a(SourceFile:21)
       at bvw.a(SourceFile:14)
       at bpm.a(SourceFile:27)
       at ayt.a(SourceFile:504)
       at boo.a(SourceFile:183)
       at tr.a(SourceFile:12)
       at tq.a(SourceFile:35)
       at bnc.a(SourceFile:95)
       at tx.a(SourceFile:79)
       at tx.a(SourceFile:25)
       at acu$a.a(SourceFile:147)
       at acu$a$$Lambda$1638/3245920.apply(Unknown Source)
       at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-3: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Snooper Timer: 
       at java.lang.Object.wait(Native Method)
       at java.lang.Object.wait(Object.java:502)
       at java.util.TimerThread.mainLoop(Timer.java:526)
       at java.util.TimerThread.run(Timer.java:505)
      Signal Dispatcher: 
       at 
      WorldGen-Worker-7: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Attach Listener: 
       at 
      Thread-3: 
       at java.lang.Thread.sleep(Native Method)
       at paulscode.sound.SimpleThread.snooze(SimpleThread.java:196)
       at paulscode.sound.StreamThread.run(StreamThread.java:209)
      Client thread: 
       at java.lang.Thread.sleep(Native Method)
       at cfs.a(SourceFile:1481)
       at cmx.j(SourceFile:305)
       at cmx.a(SourceFile:24)
       at cmx$1.a(SourceFile:87)
       at cgt.mouseClicked(SourceFile:103)
       at chp.mouseClicked(SourceFile:46)
       at cmx.mouseClicked(SourceFile:397)
       at cfu.b(SourceFile:83)
       at cfu$$Lambda$1005/7174193.run(Unknown Source)
       at ckc.a(SourceFile:430)
       at cfu.a(SourceFile:83)
       at cfu$$Lambda$838/19412746.invoke(Unknown Source)
       at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
       at org.lwjgl.system.JNI.invokeV(Native Method)
       at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3108)
       at cgc.a(SourceFile:321)
       at cfs.c(SourceFile:875)
       at cfs.a(SourceFile:395)
       at net.minecraft.client.main.Main.main(SourceFile:144)
      Finalizer: 
       at java.lang.Object.wait(Native Method)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:142)
       at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:158)
       at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)
      Narrator: 
       at java.lang.Thread.sleep(Native Method)
       at com.mojang.text2speech.NarratorWindows$NarratorThread.run(NarratorWindows.java:72)
       at java.lang.Thread.run(Thread.java:745)
      Thread-2: 
       at java.lang.Thread.sleep(Native Method)
       at paulscode.sound.SimpleThread.snooze(SimpleThread.java:196)
       at paulscode.sound.CommandThread.run(CommandThread.java:133)
      Reference Handler: 
       at java.lang.Object.wait(Native Method)
       at java.lang.Object.wait(Object.java:502)
       at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:157)
      Server thread: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:273)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3226)
       at java.util.concurrent.CompletableFuture.timedAwaitDone(CompletableFuture.java:370)
       at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2260)
       at net.minecraft.server.MinecraftServer.a(SourceFile:433)
       at dgg.a(SourceFile:92)
       at dgg.d(SourceFile:108)
       at net.minecraft.server.MinecraftServer.run(SourceFile:566)
       at java.lang.Thread.run(Thread.java:745)
      WorldGen-Worker-9: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-4: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Timer hack thread: 
       at java.lang.Thread.sleep(Native Method)
       at cfs$1.run(SourceFile:638)
      WorldGen-Worker-8: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      WorldGen-Worker-2: 
       at sun.misc.Unsafe.park(Native Method)
       at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
       at java.util.concurrent.CompletableFuture$WaitNode.block(CompletableFuture.java:271)
       at java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3216)
       at java.util.concurrent.CompletableFuture.waitingGet(CompletableFuture.java:319)
       at java.util.concurrent.CompletableFuture.access$000(CompletableFuture.java:111)
       at java.util.concurrent.CompletableFuture$AsyncCompose.exec(CompletableFuture.java:616)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      Stacktrace:
       at bnp.b(SourceFile:43)
       at bnp.a(SourceFile:110)
       at bnj.a(SourceFile:68)
       at bnq.a(SourceFile:168)
       at ti.a(SourceFile:217)
       at bsd.a(SourceFile:133)
       at bsd.a(SourceFile:42)
       at bsd.a(SourceFile:14)
       at bvw.a(SourceFile:21)
       at bvw.a(SourceFile:14)
       at bpm.a(SourceFile:27)
       at ayt.a(SourceFile:504)
       at boo.a(SourceFile:183)
       at tr.a(SourceFile:12)
       at tq.a(SourceFile:35)
       at bnc.a(SourceFile:95)
       at tx.a(SourceFile:79)
       at tx.a(SourceFile:25)
       at acu$a.a(SourceFile:147)
       at acu$a$$Lambda$1638/3245920.apply(Unknown Source)
       at java.util.concurrent.CompletableFuture$AsyncApply.exec(CompletableFuture.java:501)
       at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
       at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:902)
       at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1689)
       at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1644)
       at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
      

            Unassigned Unassigned
            Firecca Mario Koehler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: