{"action":"created","issue":{"url":"https://api.github.com/repos/Telenav/missingroads/issues/2","labels_url":"https://api.github.com/repos/Telenav/missingroads/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Telenav/missingroads/issues/2/comments","events_url":"https://api.github.com/repos/Telenav/missingroads/issues/2/events","html_url":"https://github.com/Telenav/missingroads/pull/2","id":113625036,"number":2,"title":"Allow to load plugin in headless environment","user":{"login":"don-vip","id":596867,"avatar_url":"https://avatars.githubusercontent.com/u/596867?v=3","gravatar_id":"","url":"https://api.github.com/users/don-vip","html_url":"https://github.com/don-vip","followers_url":"https://api.github.com/users/don-vip/followers","following_url":"https://api.github.com/users/don-vip/following{/other_user}","gists_url":"https://api.github.com/users/don-vip/gists{/gist_id}","starred_url":"https://api.github.com/users/don-vip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/don-vip/subscriptions","organizations_url":"https://api.github.com/users/don-vip/orgs","repos_url":"https://api.github.com/users/don-vip/repos","events_url":"https://api.github.com/users/don-vip/events{/privacy}","received_events_url":"https://api.github.com/users/don-vip/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-27T16:29:48Z","updated_at":"2015-10-30T14:21:53Z","closed_at":"2015-10-30T14:15:50Z","pull_request":{"url":"https://api.github.com/repos/Telenav/missingroads/pulls/2","html_url":"https://github.com/Telenav/missingroads/pull/2","diff_url":"https://github.com/Telenav/missingroads/pull/2.diff","patch_url":"https://github.com/Telenav/missingroads/pull/2.patch"},"body":"We load all plugins in headless environment in JOSM unit tests. See https://josm.openstreetmap.de/jenkins/job/JOSM/jdk=JDK7/lastUnstableBuild/testReport/org.openstreetmap.josm.plugins/PluginHandlerTest/testValidityOfAvailablePlugins/ where we get:\r\n\r\n```\r\nERROR: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin missingRoads. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.ExceptionInInitializerError. Cause: java.lang.NullPointerException\r\norg.openstreetmap.josm.plugins.PluginException: An error occurred in plugin missingRoads\r\n\tat org.openstreetmap.josm.plugins.PluginProxy.handlePluginException(PluginProxy.java:38)\r\n\tat org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:48)\r\n\tat org.openstreetmap.josm.Main.addMapFrameListener(Main.java:1613)\r\n\tat org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:710)\r\n\tat org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:770)\r\n\tat org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:809)\r\n\tat org.openstreetmap.josm.plugins.PluginHandlerTest.testValidityOfAvailablePlugins(PluginHandlerTest.java:70)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)\r\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:363)\r\n\tat junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)\r\n\tat org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535)\r\n\tat org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182)\r\n\tat org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1004)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.openstreetmap.josm.plugins.PluginProxy.mapFrameInitialized(PluginProxy.java:44)\r\n\t... 27 more\r\nCaused by: java.lang.ExceptionInInitializerError\r\n\tat org.openstreetmap.josm.plugins.missinggeo.gui.details.MissingGeometryDetailsDialog.<init>(Unknown Source)\r\n\tat org.openstreetmap.josm.plugins.missinggeo.MissingGeometryPlugin.mapFrameInitialized(Unknown Source)\r\n\t... 32 more\r\nCaused by: java.lang.NullPointerException\r\n\tat org.openstreetmap.josm.plugins.missinggeo.gui.GuiBuilder.<clinit>(Unknown Source)\r\n\t... 34 more\r\n```"},"comment":{"url":"https://api.github.com/repos/Telenav/missingroads/issues/comments/152539176","html_url":"https://github.com/Telenav/missingroads/pull/2#issuecomment-152539176","issue_url":"https://api.github.com/repos/Telenav/missingroads/issues/2","id":152539176,"user":{"login":"beataj-telenav","id":13517512,"avatar_url":"https://avatars.githubusercontent.com/u/13517512?v=3","gravatar_id":"","url":"https://api.github.com/users/beataj-telenav","html_url":"https://github.com/beataj-telenav","followers_url":"https://api.github.com/users/beataj-telenav/followers","following_url":"https://api.github.com/users/beataj-telenav/following{/other_user}","gists_url":"https://api.github.com/users/beataj-telenav/gists{/gist_id}","starred_url":"https://api.github.com/users/beataj-telenav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beataj-telenav/subscriptions","organizations_url":"https://api.github.com/users/beataj-telenav/orgs","repos_url":"https://api.github.com/users/beataj-telenav/repos","events_url":"https://api.github.com/users/beataj-telenav/events{/privacy}","received_events_url":"https://api.github.com/users/beataj-telenav/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T14:21:53Z","updated_at":"2015-10-30T14:21:53Z","body":"Hello Vincent,\r\n\r\nThanks for reporting the issue.  We will release a new build sometime next week that along with other changes will contains also this fix.\r\n\r\nBest regards,\r\n\r\nBea.\r\n\r\nFrom: Vincent Privat [mailto:notifications@github.com]\r\nSent: Friday, October 30, 2015 4:20 PM\r\nTo: Telenav/missingroads <missingroads@noreply.github.com>\r\nCc: Beata Jancso <beata.jancso@telenav.com>\r\nSubject: Re: [missingroads] Allow to load plugin in headless environment (#2)\r\n\r\n\r\nthanks! :)\r\n\r\n—\r\nReply to this email directly or view it on GitHub<https://github.com/Telenav/missingroads/pull/2#issuecomment-152538674>.\r\n"}}