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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by maxim19116
, 11 months ago
Invalid length: 3307676 > 4096
via GitHub by FastFelix771
, 11 months ago
Invalid length: 167241968 > 8192
via GitHub by Rocologo
, 1 year ago
Invalid length: 93061752 > 4096
via GitHub by momothereal
, 11 months ago
Invalid length: 2013392221 > 4096
via GitHub by Paulomart
, 1 year ago
Invalid length: 104495105 > 4096
via GitHub by Sephyroth234
, 1 year ago
Invalid length: 1459204021 > 4096
java.io.IOException: Invalid length: 3307676 > 4096
at net.glowstone.io.anvil.RegionFile.getChunkDataInputStream(RegionFile.java:208)
at net.glowstone.io.anvil.AnvilChunkIoService.read(AnvilChunkIoService.java:68)
at net.glowstone.ChunkManager.loadChunk(ChunkManager.java:147)
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:192)
at net.glowstone.block.GlowBlock.getType(GlowBlock.java:178)
at net.glowstone.entity.GlowLivingEntity.pulse(GlowLivingEntity.java:177)
at net.glowstone.entity.GlowAgeable.pulse(GlowAgeable.java:48)
at net.glowstone.GlowWorld.pulse(GlowWorld.java:379)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.