{"action":"closed","issue":{"url":"https://api.github.com/repos/sannies/isoviewer/issues/6","labels_url":"https://api.github.com/repos/sannies/isoviewer/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sannies/isoviewer/issues/6/comments","events_url":"https://api.github.com/repos/sannies/isoviewer/issues/6/events","html_url":"https://github.com/sannies/isoviewer/issues/6","id":107395444,"number":6,"title":"Input stream must not be null","user":{"login":"laikaseung","id":13373927,"avatar_url":"https://avatars.githubusercontent.com/u/13373927?v=3","gravatar_id":"","url":"https://api.github.com/users/laikaseung","html_url":"https://github.com/laikaseung","followers_url":"https://api.github.com/users/laikaseung/followers","following_url":"https://api.github.com/users/laikaseung/following{/other_user}","gists_url":"https://api.github.com/users/laikaseung/gists{/gist_id}","starred_url":"https://api.github.com/users/laikaseung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laikaseung/subscriptions","organizations_url":"https://api.github.com/users/laikaseung/orgs","repos_url":"https://api.github.com/users/laikaseung/repos","events_url":"https://api.github.com/users/laikaseung/events{/privacy}","received_events_url":"https://api.github.com/users/laikaseung/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-20T14:28:47Z","updated_at":"2015-10-13T10:49:09Z","closed_at":"2015-10-13T10:49:09Z","body":"Hi Mr.Sebastian Annies,\r\n\r\nI'm trying to build(export as Runnable JAR file) isoviewer but ran into a problem.\r\nWhen I \"Run\" it on Eclipse, it works perfectly but when I export it as runnable JAR, it shows below crash.\r\n\r\n```java\r\nC:\\Users\\user\\Desktop>java -jar isoViewer001.jar\r\nException in Application start method\r\nException in thread \"main\" java.lang.reflect.InvocationTargetException\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n        at java.lang.reflect.Method.invoke(Unknown Source)\r\n        at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)\r\nCaused by: java.lang.RuntimeException: Exception in Application start method\r\n        at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)\r\n        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(Unknown Source)\r\n        at java.lang.Thread.run(Unknown Source)\r\nCaused by: java.lang.NullPointerException: Input stream must not be null\r\n        at javafx.scene.image.Image.validateInputStream(Unknown Source)\r\n        at javafx.scene.image.Image.<init>(Unknown Source)\r\n        at com.github.sannies.isoviewer.IsoViewerFx.start(IsoViewerFx.java:112)\r\n        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(Unknown Source)\r\n        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(Unknown Source)\r\n        at com.sun.javafx.application.PlatformImpl.lambda$null$174(Unknown Source)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(Unknown Source)\r\n        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)\r\n        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)\r\n        at com.sun.glass.ui.win.WinApplication.lambda$null$149(Unknown Source)\r\n        ... 1 more\r\n```\r\n\r\nAs far as I concern, it is because of below line, but the exported JAR file clearly contains the icon.png file.\r\n```java\r\nstage.getIcons().add(new Image(this.getClass().getResourceAsStream(\"/icon.png\")));\r\n```\r\n\r\nI believe this could be not an issue but my mistake.\r\nCould you please tell me what I'm doing wrong?\r\n\r\nThank you,\r\nlaikaseung\r\n\r\n\r\n\r\n"}}