{"action":"closed","issue":{"url":"https://api.github.com/repos/Vectron/mapwriter/issues/11","labels_url":"https://api.github.com/repos/Vectron/mapwriter/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/Vectron/mapwriter/issues/11/comments","events_url":"https://api.github.com/repos/Vectron/mapwriter/issues/11/events","html_url":"https://github.com/Vectron/mapwriter/issues/11","id":106396228,"number":11,"title":"Error spamming logs [IndexOutOfBoundsException]","user":{"login":"QORTEC","id":4239654,"avatar_url":"https://avatars.githubusercontent.com/u/4239654?v=3","gravatar_id":"","url":"https://api.github.com/users/QORTEC","html_url":"https://github.com/QORTEC","followers_url":"https://api.github.com/users/QORTEC/followers","following_url":"https://api.github.com/users/QORTEC/following{/other_user}","gists_url":"https://api.github.com/users/QORTEC/gists{/gist_id}","starred_url":"https://api.github.com/users/QORTEC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QORTEC/subscriptions","organizations_url":"https://api.github.com/users/QORTEC/orgs","repos_url":"https://api.github.com/users/QORTEC/repos","events_url":"https://api.github.com/users/QORTEC/events{/privacy}","received_events_url":"https://api.github.com/users/QORTEC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-14T18:01:12Z","updated_at":"2015-11-23T22:14:10Z","closed_at":"2015-11-23T22:14:10Z","body":"The following error is spamming my logs/console:\r\n````\r\njava.lang.IndexOutOfBoundsException\r\n\tat java.io.RandomAccessFile.readBytes(Native Method)\r\n\tat java.io.RandomAccessFile.read(RandomAccessFile.java:377)\r\n\tat javax.imageio.stream.FileImageInputStream.read(FileImageInputStream.java:117)\r\n\tat com.sun.imageio.plugins.common.SubImageInputStream.read(SubImageInputStream.java:61)\r\n\tat com.sun.imageio.plugins.common.InputStreamAdapter.read(InputStreamAdapter.java:47)\r\n\tat java.io.SequenceInputStream.read(SequenceInputStream.java:207)\r\n\tat java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:238)\r\n\tat java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)\r\n\tat java.io.BufferedInputStream.fill(BufferedInputStream.java:246)\r\n\tat java.io.BufferedInputStream.read(BufferedInputStream.java:265)\r\n\tat java.io.FilterInputStream.read(FilterInputStream.java:83)\r\n\tat com.sun.imageio.plugins.png.PNGImageReader.decodePass(PNGImageReader.java:1104)\r\n\tat com.sun.imageio.plugins.png.PNGImageReader.decodeImage(PNGImageReader.java:1215)\r\n\tat com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1330)\r\n\tat com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1606)\r\n\tat javax.imageio.ImageIO.read(ImageIO.java:1448)\r\n\tat javax.imageio.ImageIO.read(ImageIO.java:1308)\r\n\tat mapwriter.region.SurfacePixels.loadImage(SurfacePixels.java:141)\r\n\tat mapwriter.region.SurfacePixels.load(SurfacePixels.java:46)\r\n\tat mapwriter.region.SurfacePixels.getPixels(SurfacePixels.java:65)\r\n\tat mapwriter.region.SurfacePixels.getOrAllocatePixels(SurfacePixels.java:71)\r\n\tat mapwriter.region.SurfacePixels.updateScaled(SurfacePixels.java:115)\r\n\tat mapwriter.region.Region.updateNextZoomLevel(Region.java:143)\r\n\tat mapwriter.region.Region.updateZoomLevels(Region.java:155)\r\n\tat mapwriter.region.SurfacePixels.updateChunk(SurfacePixels.java:91)\r\n\tat mapwriter.region.Region.updateChunk(Region.java:166)\r\n\tat mapwriter.region.RegionManager.updateChunk(RegionManager.java:123)\r\n\tat mapwriter.tasks.UpdateSurfaceChunksTask.run(UpdateSurfaceChunksTask.java:24)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n````\r\n\r\nThis bug is also present in \"mapwriter 1\":\r\ndaveyliam/mapwriter#33\r\n\r\n**Versions**:\r\nForge: 10.13.4.1448\r\nMapWriter: 2.1.9"}}