java.io.IOException: Unknown version: 0

GitHub | maxim19116 | 1 month 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

    Chunk invalid length

    GitHub | 11 months ago | momothereal
    java.io.IOException: Invalid length: 2013392221 > 4096
  2. 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

      Unknown version: 0

      at net.glowstone.io.anvil.RegionFile.getChunkDataInputStream()
    2. net.glowstone.io
      AnvilChunkIoService.read
      1. net.glowstone.io.anvil.RegionFile.getChunkDataInputStream(RegionFile.java:222)
      2. net.glowstone.io.anvil.AnvilChunkIoService.read(AnvilChunkIoService.java:68)
      2 frames
    3. net.glowstone
      GlowWorld.getBlockTypeIdAt
      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)
      6. net.glowstone.GlowWorld.getBlockTypeIdAt(GlowWorld.java:1010)
      6 frames
    4. net.glowstone.entity
      GlowAgeable.pulse
      1. net.glowstone.entity.GlowEntity.isTouchingMaterial(GlowEntity.java:659)
      2. net.glowstone.entity.GlowLivingEntity.pulse(GlowLivingEntity.java:191)
      3. net.glowstone.entity.GlowAgeable.pulse(GlowAgeable.java:48)
      3 frames
    5. net.glowstone
      GlowWorld.pulse
      1. net.glowstone.GlowWorld.pulse(GlowWorld.java:379)
      1 frame
    6. net.glowstone.scheduler
      WorldScheduler$WorldThread.run
      1. net.glowstone.scheduler.WorldScheduler$WorldThread.run(WorldScheduler.java:139)
      1 frame
    7. 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