java.io.IOException

Invalid length: 190338903 > 4096

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2328

  • via GitHub by Rocologo
    , 1 year ago
    Invalid length: 190338903 > 4096
  • via GitHub by Paulomart
    , 11 months ago
    Invalid length: 104495105 > 4096
  • via GitHub by DX94
    , 1 year ago
    Invalid length: 2013392284 > 4096
  • Stack trace

    • java.io.IOException: Invalid length: 190338903 > 4096 at net.glowstone.io.anvil.RegionFile.getChunkDataInputStream(RegionFile.java:196) at net.glowstone.io.anvil.AnvilChunkIoService.read(AnvilChunkIoService.java:63) at net.glowstone.ChunkManager.loadChunk(ChunkManager.java:152) at net.glowstone.GlowChunk.load(GlowChunk.java:188) at net.glowstone.GlowChunk.load(GlowChunk.java:181) at net.glowstone.GlowChunk.getSection(GlowChunk.java:282) at net.glowstone.GlowChunk.getType(GlowChunk.java:322) at net.glowstone.block.GlowBlock.getTypeIdNoCache(GlowBlock.java:201) at net.glowstone.block.GlowBlock.getTypeId(GlowBlock.java:196) at net.glowstone.GlowWorld.lambda$pulseTickMap$20(GlowWorld.java:1792) at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.concurrent.ConcurrentHashMap$EntrySpliterator.forEachRemaining(ConcurrentHashMap.java:3606) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) at net.glowstone.GlowWorld.pulseTickMap(GlowWorld.java:1790) at net.glowstone.GlowWorld.pulse(GlowWorld.java:356) at net.glowstone.scheduler.WorldScheduler$WorldThread.run(WorldScheduler.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.