{"action":"opened","issue":{"url":"https://api.github.com/repos/gephi/gephi/issues/1581","repository_url":"https://api.github.com/repos/gephi/gephi","labels_url":"https://api.github.com/repos/gephi/gephi/issues/1581/labels{/name}","comments_url":"https://api.github.com/repos/gephi/gephi/issues/1581/comments","events_url":"https://api.github.com/repos/gephi/gephi/issues/1581/events","html_url":"https://github.com/gephi/gephi/issues/1581","id":181281952,"number":1581,"title":"new File(getClass().getResource(\"\").toURI()); reports java.lang.NullPointerException","user":{"login":"Jamie42","id":9435469,"avatar_url":"https://avatars.githubusercontent.com/u/9435469?v=3","gravatar_id":"","url":"https://api.github.com/users/Jamie42","html_url":"https://github.com/Jamie42","followers_url":"https://api.github.com/users/Jamie42/followers","following_url":"https://api.github.com/users/Jamie42/following{/other_user}","gists_url":"https://api.github.com/users/Jamie42/gists{/gist_id}","starred_url":"https://api.github.com/users/Jamie42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jamie42/subscriptions","organizations_url":"https://api.github.com/users/Jamie42/orgs","repos_url":"https://api.github.com/users/Jamie42/repos","events_url":"https://api.github.com/users/Jamie42/events{/privacy}","received_events_url":"https://api.github.com/users/Jamie42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-05T22:28:18Z","updated_at":"2016-10-05T22:28:18Z","closed_at":null,"body":"Opening a file with Gephi 0.9.1 Toolkit causes a NullPointerException.\r\n``\r\ntry {\r\n            File file = new File(getClass().getResource(\"series.gexf\").toURI());\r\n            container4 = importController4.importFile(file);\r\n            container4.getLoader().setEdgeDefault(EdgeDirectionDefault.DIRECTED); \r\n            container4.getLoader().setAllowAutoNode(false);\r\n        } \r\n            catch (Exception ex){\r\n            ex.printStackTrace();\r\n            return;\r\n        }\r\n``\r\nThis code was working in Gephi 0.8.2 and appears to be broken in Gephi 0.9.1."}}
{"actor":{"display_login":"Jamie42"}}