{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/californium/issues/345","repository_url":"https://api.github.com/repos/eclipse/californium","labels_url":"https://api.github.com/repos/eclipse/californium/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/californium/issues/345/comments","events_url":"https://api.github.com/repos/eclipse/californium/issues/345/events","html_url":"https://github.com/eclipse/californium/issues/345","id":239549528,"number":345,"title":"NPE in UDPConnector.stop()","user":{"login":"sbernard31","id":840294,"avatar_url":"https://avatars1.githubusercontent.com/u/840294?v=3","gravatar_id":"","url":"https://api.github.com/users/sbernard31","html_url":"https://github.com/sbernard31","followers_url":"https://api.github.com/users/sbernard31/followers","following_url":"https://api.github.com/users/sbernard31/following{/other_user}","gists_url":"https://api.github.com/users/sbernard31/gists{/gist_id}","starred_url":"https://api.github.com/users/sbernard31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbernard31/subscriptions","organizations_url":"https://api.github.com/users/sbernard31/orgs","repos_url":"https://api.github.com/users/sbernard31/repos","events_url":"https://api.github.com/users/sbernard31/events{/privacy}","received_events_url":"https://api.github.com/users/sbernard31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-29T17:08:13Z","updated_at":"2017-06-30T13:57:28Z","closed_at":null,"body":"I faced an NPE :\r\n```\r\njava.lang.NullPointerException\r\n\tat org.eclipse.californium.elements.UDPConnector.stop(UDPConnector.java:206)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint.stop(CoapEndpoint.java:455)\r\n\tat org.eclipse.californium.core.network.CoapEndpoint.start(CoapEndpoint.java:426)\r\n```\r\nin :\r\n```java\r\nString address = socket.getLocalSocketAddress().toString();\r\nif (socket != null) {\r\n    socket.close();\r\n    socket = null;\r\n}\r\nLOGGER.log(Level.CONFIG, \"UDPConnector on [{0}] has stopped.\", address);\r\n```"},"comment":{"url":"https://api.github.com/repos/eclipse/californium/issues/comments/312274110","html_url":"https://github.com/eclipse/californium/issues/345#issuecomment-312274110","issue_url":"https://api.github.com/repos/eclipse/californium/issues/345","id":312274110,"user":{"login":"boaks","id":10937819,"avatar_url":"https://avatars1.githubusercontent.com/u/10937819?v=3","gravatar_id":"","url":"https://api.github.com/users/boaks","html_url":"https://github.com/boaks","followers_url":"https://api.github.com/users/boaks/followers","following_url":"https://api.github.com/users/boaks/following{/other_user}","gists_url":"https://api.github.com/users/boaks/gists{/gist_id}","starred_url":"https://api.github.com/users/boaks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boaks/subscriptions","organizations_url":"https://api.github.com/users/boaks/orgs","repos_url":"https://api.github.com/users/boaks/repos","events_url":"https://api.github.com/users/boaks/events{/privacy}","received_events_url":"https://api.github.com/users/boaks/received_events","type":"User","site_admin":false},"created_at":"2017-06-30T13:57:28Z","updated_at":"2017-06-30T13:57:28Z","body":"@sbernard31 \r\nSo is this issue closed with PR #347?\r\n(I picked the fix to 1.0.0 and master as well)"}}
{"actor":{"display_login":"boaks"}}