java.io.IOException: Invalid length: 3307676 > 4096

GitHub | maxim19116 | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 412#271290472

    GitHub | 2 months ago | maxim19116
    java.io.IOException: Invalid length: 3307676 > 4096
  2. 0

    Chunk invalid length

    GitHub | 12 months ago | momothereal
    java.io.IOException: Invalid length: 2013392221 > 4096
  3. 0

    Dungon generated

    GitHub | 9 months ago | Rocologo
    java.io.IOException: Invalid length: 93061752 > 4096
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Invalid length: 3307676 > 4096

      at net.glowstone.io.anvil.RegionFile.getChunkDataInputStream()
    2. net.glowstone.io
      AnvilChunkIoService.read
      1. net.glowstone.io.anvil.RegionFile.getChunkDataInputStream(RegionFile.java:208)
      2. net.glowstone.io.anvil.AnvilChunkIoService.read(AnvilChunkIoService.java:68)
      2 frames
    3. net.glowstone
      GlowChunk.getType
      1. net.glowstone.ChunkManager.loadChunk(ChunkManager.java:147)
      2. net.glowstone.GlowChunk.load(GlowChunk.java:188)
      3. net.glowstone.GlowChunk.load(GlowChunk.java:181)
      4. net.glowstone.GlowChunk.getSection(GlowChunk.java:282)
      5. net.glowstone.GlowChunk.getType(GlowChunk.java:322)
      5 frames
    4. net.glowstone.block
      GlowBlock.getType
      1. net.glowstone.block.GlowBlock.getTypeIdNoCache(GlowBlock.java:192)
      2. net.glowstone.block.GlowBlock.getType(GlowBlock.java:178)
      2 frames
    5. net.glowstone.entity
      GlowAgeable.pulse
      1. net.glowstone.entity.GlowLivingEntity.pulse(GlowLivingEntity.java:177)
      2. net.glowstone.entity.GlowAgeable.pulse(GlowAgeable.java:48)
      2 frames
    6. net.glowstone
      GlowWorld.pulse
      1. net.glowstone.GlowWorld.pulse(GlowWorld.java:379)
      1 frame
    7. net.glowstone.scheduler
      WorldScheduler$WorldThread.run
      1. net.glowstone.scheduler.WorldScheduler$WorldThread.run(WorldScheduler.java:139)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames