{"action":"created","issue":{"url":"https://api.github.com/repos/Danjb1/anno-1602-reader/issues/1","repository_url":"https://api.github.com/repos/Danjb1/anno-1602-reader","labels_url":"https://api.github.com/repos/Danjb1/anno-1602-reader/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Danjb1/anno-1602-reader/issues/1/comments","events_url":"https://api.github.com/repos/Danjb1/anno-1602-reader/issues/1/events","html_url":"https://github.com/Danjb1/anno-1602-reader/issues/1","id":372128469,"node_id":"MDU6SXNzdWUzNzIxMjg0Njk=","number":1,"title":"java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!","user":{"login":"SaschaS93","id":43013380,"node_id":"MDQ6VXNlcjQzMDEzMzgw","avatar_url":"https://avatars2.githubusercontent.com/u/43013380?v=4","gravatar_id":"","url":"https://api.github.com/users/SaschaS93","html_url":"https://github.com/SaschaS93","followers_url":"https://api.github.com/users/SaschaS93/followers","following_url":"https://api.github.com/users/SaschaS93/following{/other_user}","gists_url":"https://api.github.com/users/SaschaS93/gists{/gist_id}","starred_url":"https://api.github.com/users/SaschaS93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaschaS93/subscriptions","organizations_url":"https://api.github.com/users/SaschaS93/orgs","repos_url":"https://api.github.com/users/SaschaS93/repos","events_url":"https://api.github.com/users/SaschaS93/events{/privacy}","received_events_url":"https://api.github.com/users/SaschaS93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-19T21:53:55Z","updated_at":"2018-10-24T16:39:54Z","closed_at":null,"author_association":"NONE","body":"Hi!\r\n\r\nThank you for your great work!\r\n\r\nUnfortunately I got some strange behaviour on my system. I copied the \"AnnoReader\" class into Eclipse and got the following output:\r\n\r\n> Reading palette\r\n> Saved image: out/TIERE.BSH_0.png\r\n> 418058 bytes remaining\r\n> Exception in thread \"main\" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!\r\n> \tat sun.awt.image.IntegerInterleavedRaster.setDataElements(IntegerInterleavedRaster.java:301)\r\n> \tat java.awt.image.BufferedImage.setRGB(BufferedImage.java:1016)\r\n> \tat main.AnnoReader.readImage(AnnoReader.java:147)\r\n> \tat main.AnnoReader.read(AnnoReader.java:89)\r\n> \tat main.AnnoReader.main(AnnoReader.java:252)\r\n\r\nBut if I compile it via javac in the terminal (as you describe) it works. Currently I don't understand why it doesn't work in Eclipse.\r\n\r\nI suspect ByteOrder.LITTLE_ENDIAN. Maybe that works a bit differently on MacOS. Reading the color palette works fine.\r\n\r\nSome informations about my System:\r\nmacOS 10.14\r\nJava JDK 1.8.0_111\r\nEclipse IDE for Java Developers Oxygen.3a Release (4.7.3a)\r\n\r\nI would really appreciate a solution or a simple workaround!"},"comment":{"url":"https://api.github.com/repos/Danjb1/anno-1602-reader/issues/comments/432733829","html_url":"https://github.com/Danjb1/anno-1602-reader/issues/1#issuecomment-432733829","issue_url":"https://api.github.com/repos/Danjb1/anno-1602-reader/issues/1","id":432733829,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjczMzgyOQ==","user":{"login":"Danjb1","id":26907766,"node_id":"MDQ6VXNlcjI2OTA3NzY2","avatar_url":"https://avatars0.githubusercontent.com/u/26907766?v=4","gravatar_id":"","url":"https://api.github.com/users/Danjb1","html_url":"https://github.com/Danjb1","followers_url":"https://api.github.com/users/Danjb1/followers","following_url":"https://api.github.com/users/Danjb1/following{/other_user}","gists_url":"https://api.github.com/users/Danjb1/gists{/gist_id}","starred_url":"https://api.github.com/users/Danjb1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danjb1/subscriptions","organizations_url":"https://api.github.com/users/Danjb1/orgs","repos_url":"https://api.github.com/users/Danjb1/repos","events_url":"https://api.github.com/users/Danjb1/events{/privacy}","received_events_url":"https://api.github.com/users/Danjb1/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T16:39:54Z","updated_at":"2018-10-24T16:39:54Z","author_association":"OWNER","body":"I can confirm I got the same errors as you for those files - guess I only tested the working ones!\r\n\r\nI'd have to compare to SirHenry's Grafx Tool to figure out what's going on here. Unfortunately I'm unlikely to have time for this anytime soon, but if you wanted to take a look I'd be really interested to hear your findings. His source code is here:\r\nhttps://github.com/wzurborg/grafx1602"}}
{"actor":{"display_login":"Danjb1"}}