{"action":"created","issue":{"url":"https://api.github.com/repos/jrtom/jung/issues/59","repository_url":"https://api.github.com/repos/jrtom/jung","labels_url":"https://api.github.com/repos/jrtom/jung/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/jrtom/jung/issues/59/comments","events_url":"https://api.github.com/repos/jrtom/jung/issues/59/events","html_url":"https://github.com/jrtom/jung/issues/59","id":168037390,"number":59,"title":"NullPointerException: edu.uci.ics.jung.graph.util.Context#hashCode","user":{"login":"uwolfer","id":2202,"avatar_url":"https://avatars.githubusercontent.com/u/2202?v=3","gravatar_id":"","url":"https://api.github.com/users/uwolfer","html_url":"https://github.com/uwolfer","followers_url":"https://api.github.com/users/uwolfer/followers","following_url":"https://api.github.com/users/uwolfer/following{/other_user}","gists_url":"https://api.github.com/users/uwolfer/gists{/gist_id}","starred_url":"https://api.github.com/users/uwolfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwolfer/subscriptions","organizations_url":"https://api.github.com/users/uwolfer/orgs","repos_url":"https://api.github.com/users/uwolfer/repos","events_url":"https://api.github.com/users/uwolfer/events{/privacy}","received_events_url":"https://api.github.com/users/uwolfer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-28T08:09:46Z","updated_at":"2016-07-29T05:40:06Z","closed_at":"2016-07-29T05:40:05Z","body":"```\r\njava.lang.NullPointerException: null\r\n\tat edu.uci.ics.jung.graph.util.Context.hashCode(Context.java:38)\r\n\tat java.util.HashMap.hash(HashMap.java:338)\r\n\tat java.util.HashMap.get(HashMap.java:556)\r\n\tat edu.uci.ics.jung.graph.util.DefaultParallelEdgeIndexFunction.getIndex(DefaultParallelEdgeIndexFunction.java:60)\r\n\tat edu.uci.ics.jung.visualization.renderers.BasicEdgeLabelRenderer.labelEdge(BasicEdgeLabelRenderer.java:81)\r\n\tat edu.uci.ics.jung.visualization.renderers.BasicRenderer.renderEdgeLabel(BasicRenderer.java:82)\r\n\tat edu.uci.ics.jung.visualization.renderers.BasicRenderer.render(BasicRenderer.java:42)\r\n\tat edu.uci.ics.jung.visualization.BasicVisualizationServer.renderGraph(BasicVisualizationServer.java:348)\r\n\tat edu.uci.ics.jung.visualization.BasicVisualizationServer.paintComponent(BasicVisualizationServer.java:303)\r\n```\r\n\r\nI think the issue is that `Context#getInstance` is called with a `null` `Graph` initiated at BasicEdgeLabelRenderer.java:81.\r\n\r\n```\r\n\t  at edu.uci.ics.jung.graph.util.Context.getInstance(Context.java:31)\r\n\t  at edu.uci.ics.jung.graph.util.DefaultParallelEdgeIndexFunction.getIndex(DefaultParallelEdgeIndexFunction.java:60)\r\n\t  at edu.uci.ics.jung.visualization.renderers.BasicEdgeLabelRenderer.labelEdge(BasicEdgeLabelRenderer.java:81)\r\n\t  at edu.uci.ics.jung.visualization.renderers.BasicRenderer.renderEdgeLabel(BasicRenderer.java:82)\r\n\t  at edu.uci.ics.jung.visualization.renderers.BasicRenderer.render(BasicRenderer.java:42)\r\n\t  at edu.uci.ics.jung.visualization.BasicVisualizationServer.renderGraph(BasicVisualizationServer.java:348)\r\n\t  at edu.uci.ics.jung.visualization.BasicVisualizationServer.paintComponent(BasicVisualizationServer.java:303)\r\n```\r\n\r\nUsing version 2.1."},"comment":{"url":"https://api.github.com/repos/jrtom/jung/issues/comments/236099002","html_url":"https://github.com/jrtom/jung/issues/59#issuecomment-236099002","issue_url":"https://api.github.com/repos/jrtom/jung/issues/59","id":236099002,"user":{"login":"uwolfer","id":2202,"avatar_url":"https://avatars.githubusercontent.com/u/2202?v=3","gravatar_id":"","url":"https://api.github.com/users/uwolfer","html_url":"https://github.com/uwolfer","followers_url":"https://api.github.com/users/uwolfer/followers","following_url":"https://api.github.com/users/uwolfer/following{/other_user}","gists_url":"https://api.github.com/users/uwolfer/gists{/gist_id}","starred_url":"https://api.github.com/users/uwolfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwolfer/subscriptions","organizations_url":"https://api.github.com/users/uwolfer/orgs","repos_url":"https://api.github.com/users/uwolfer/repos","events_url":"https://api.github.com/users/uwolfer/events{/privacy}","received_events_url":"https://api.github.com/users/uwolfer/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T05:40:05Z","updated_at":"2016-07-29T05:40:05Z","body":"@jrtom: Thanks, this looks like (almost) the same. Any plans to publish a bugfix release soon?"}}
{"actor":{"display_login":"uwolfer"}}