{"action":"created","issue":{"url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/439","repository_url":"https://api.github.com/repos/jsettlers/settlers-remake","labels_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/439/comments","events_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/439/events","html_url":"https://github.com/jsettlers/settlers-remake/issues/439","id":155091500,"number":439,"title":"Settlers crashes on loading orignal maps","user":{"login":"andreas-eberle","id":9267365,"avatar_url":"https://avatars.githubusercontent.com/u/9267365?v=3","gravatar_id":"","url":"https://api.github.com/users/andreas-eberle","html_url":"https://github.com/andreas-eberle","followers_url":"https://api.github.com/users/andreas-eberle/followers","following_url":"https://api.github.com/users/andreas-eberle/following{/other_user}","gists_url":"https://api.github.com/users/andreas-eberle/gists{/gist_id}","starred_url":"https://api.github.com/users/andreas-eberle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreas-eberle/subscriptions","organizations_url":"https://api.github.com/users/andreas-eberle/orgs","repos_url":"https://api.github.com/users/andreas-eberle/repos","events_url":"https://api.github.com/users/andreas-eberle/events{/privacy}","received_events_url":"https://api.github.com/users/andreas-eberle/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jsettlers/settlers-remake/labels/bug%20(critical)","name":"bug (critical)","color":"fc2929"},{"url":"https://api.github.com/repos/jsettlers/settlers-remake/labels/game%20logic","name":"game logic","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-16T18:34:32Z","updated_at":"2016-05-16T20:06:01Z","closed_at":null,"body":"**I received the following message via the [settlers remake website](www.settlers-android-clone.com)**\r\n\r\nTried to compile and run it via gradlew on Windows 7 64bit (+Java 8 64bit). Checked out a clone via GIT, set up development environment (Android Studio / Eclipse), configured PATH, JAVA_HOME and ANDROID_HOME accordingly … Swing builds fine … thought i was lucky and had the goal achieved … however this is what happens when i run “gradlew run”, i get:\r\n\r\n```\r\n:jsettlers.main.swing:run\r\nNo default command line options file found.\r\nOptions loaded: {}\r\nSource: (file:/C:/Users/XYZ/Documents/Projekte/Java/jsettlers/jsettlers.main.swing/build/classes/main/ )\r\njava.lang.ArrayIndexOutOfBoundsException: 232\r\nat jsettlers.graphics.reader.AdvancedDatFileReader.getSettlerPointers(AdvancedDatFileReader.java:614)\r\nat jsettlers.graphics.image.MultiImageMap.addSequences(MultiImageMap.java:104)\r\nat jsettlers.graphics.reader.AdvancedDatFileReader.generateImageMap(AdvancedDatFileReader.java:646)\r\nat jsettlers.graphics.map.draw.ImagePreloadTask.run(ImagePreloadTask.java:121)\r\nat java.lang.Thread.run(Thread.java:745)\r\nException in thread “main” java.lang.ExceptionInInitializerError\r\nat jsettlers.main.swing.lookandfeel.JSettlersLookAndFeel.install(JSettlersLookAndFeel.java:69)\r\nat jsettlers.main.swing.SwingManagedJSettlers.createJSettlersFrame(SwingManagedJSettlers.java:209)\r\nat jsettlers.main.swing.SwingManagedJSettlers.main(SwingManagedJSettlers.java:65)\r\nCaused by: java.awt.image.RasterFormatException: (x + width) is outside raster\r\nat sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:467)\r\nat java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1202)\r\nat jsettlers.main.swing.lookandfeel.ui.SettlersLabelUi.(SettlersLabelUi.java:61)\r\nat jsettlers.main.swing.lookandfeel.factory.LabelUiFactory.(LabelUiFactory.java:40)\r\n… 3 more\r\n:jsettlers.main.swing:run FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ‘:jsettlers.main.swing:run’.\r\n> Process ‘command ‘C:\\Program Files\\Java\\jdk1.8.0_91\\bin\\java.exe” finished wi\r\nth non-zero exit value 1\r\n\r\n* Try:\r\nRun with –stacktrace option to get the stack trace. Run with –info or –debug\r\noption to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 5.541 secs\r\n```\r\n\r\nStrange thing though, it started once and i was able to choose the original Settlers3 Folder … however it instantly crashed afterwards … and now i cannot restart the game any longer. \"git status\" does not show any changed files in my local repository. Where do you store the selection of the Settlers3 folder, i've made?"},"comment":{"url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/comments/219531634","html_url":"https://github.com/jsettlers/settlers-remake/issues/439#issuecomment-219531634","issue_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/439","id":219531634,"user":{"login":"eLBart0-DTG","id":6979096,"avatar_url":"https://avatars.githubusercontent.com/u/6979096?v=3","gravatar_id":"","url":"https://api.github.com/users/eLBart0-DTG","html_url":"https://github.com/eLBart0-DTG","followers_url":"https://api.github.com/users/eLBart0-DTG/followers","following_url":"https://api.github.com/users/eLBart0-DTG/following{/other_user}","gists_url":"https://api.github.com/users/eLBart0-DTG/gists{/gist_id}","starred_url":"https://api.github.com/users/eLBart0-DTG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eLBart0-DTG/subscriptions","organizations_url":"https://api.github.com/users/eLBart0-DTG/orgs","repos_url":"https://api.github.com/users/eLBart0-DTG/repos","events_url":"https://api.github.com/users/eLBart0-DTG/events{/privacy}","received_events_url":"https://api.github.com/users/eLBart0-DTG/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T20:06:01Z","updated_at":"2016-05-16T20:06:01Z","body":"It was me who posted that issue to your blog. However, the solution to this problem is kinda trivial: It turned out my Settlers3 Installation was corrupted. Once i've installed it again from my ancient original CD-Rom JSettlers was able to load successfully. The only reason for this ticket to stay open might be the fact that catching the exception and throwing a more meaningful exception in the future may profit the end-user to spot this problem more easy. For the final release i would definitely recommend to implement a crc32 (or whatever) hashsum check on the original Settlers3 files ... this way you can easily ensure a nice experience for the gamers, i guess :) You could then easily tell the gamers which files they are missing, which are corrupted and need to be replaced, etc. For now i'm totally aware you have completly different priorities ... so maybe you can move this idea to the backlog or something ;)"}}