{"action":"created","issue":{"url":"https://api.github.com/repos/ossmeter/ossmeter/issues/7","labels_url":"https://api.github.com/repos/ossmeter/ossmeter/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ossmeter/ossmeter/issues/7/comments","events_url":"https://api.github.com/repos/ossmeter/ossmeter/issues/7/events","html_url":"https://github.com/ossmeter/ossmeter/issues/7","id":55182130,"number":7,"title":"GitHub Issue Manager: NoSuchPageException","user":{"login":"jrwilliams","id":1027838,"avatar_url":"https://avatars.githubusercontent.com/u/1027838?v=3","gravatar_id":"","url":"https://api.github.com/users/jrwilliams","html_url":"https://github.com/jrwilliams","followers_url":"https://api.github.com/users/jrwilliams/followers","following_url":"https://api.github.com/users/jrwilliams/following{/other_user}","gists_url":"https://api.github.com/users/jrwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/jrwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrwilliams/subscriptions","organizations_url":"https://api.github.com/users/jrwilliams/orgs","repos_url":"https://api.github.com/users/jrwilliams/repos","events_url":"https://api.github.com/users/jrwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/jrwilliams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ossmeter/ossmeter/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"yannisKork","id":8688148,"avatar_url":"https://avatars.githubusercontent.com/u/8688148?v=3","gravatar_id":"","url":"https://api.github.com/users/yannisKork","html_url":"https://github.com/yannisKork","followers_url":"https://api.github.com/users/yannisKork/followers","following_url":"https://api.github.com/users/yannisKork/following{/other_user}","gists_url":"https://api.github.com/users/yannisKork/gists{/gist_id}","starred_url":"https://api.github.com/users/yannisKork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yannisKork/subscriptions","organizations_url":"https://api.github.com/users/yannisKork/orgs","repos_url":"https://api.github.com/users/yannisKork/repos","events_url":"https://api.github.com/users/yannisKork/events{/privacy}","received_events_url":"https://api.github.com/users/yannisKork/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-01-22T17:22:39Z","updated_at":"2015-02-23T11:03:11Z","closed_at":null,"body":"I've encountered an exception thrown by the GitHubManager when iterating issues. The project in question doesn't use the Issue tracker on GitHub, so I'm not sure if this is an issue with the GitHub importer, or with the GitHub manager (or both). It looks like the project _used_ to use the issue tracker, but have since removed it, which may be the root of the cause. I guess that, at the least, the GitHubManager needs to catch the exception and continue gracefully. But perhaps the importer shouldn't importer the issue tracker as well.\r\n\r\nSteps to reproduce:\r\n\r\n* Import project\r\n````java\r\nGitHubRepository librePlan = ghImporter.importRepository(\"Igalia/libreplan\", platform);\t\r\nlibrePlan.getBugTrackingSystems().add(createBugzilla(\"http://bugs.libreplan.org/xmlrpc.cgi\", \"LibrePlan\", null));\t\t\r\n````\r\n* Try to calculate first date of the BTS\r\n\r\n````java\r\nPlatformBugTrackingSystemManager manager = new ExtensionPointBugTrackingSystemManager(platform);\r\nfor (BugTrackingSystem bts : p.getBugTrackingSystems()) {\r\n\tmanager.getFirstDate(null, bts)\r\n}\r\n```\r\n\r\n* The following exception was thrown\r\n````\r\norg.eclipse.egit.github.core.client.NoSuchPageException: Not Found (404)\r\n\tat org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:175)\r\n\tat org.ossmeter.platform.bugtrackingsystem.github.GitHubManager.getEarliestIssueDate(GitHubManager.java:135)\r\n\tat org.ossmeter.platform.bugtrackingsystem.github.GitHubManager.getFirstDate(GitHubManager.java:72)\r\n\tat org.ossmeter.platform.bugtrackingsystem.github.GitHubManager.getFirstDate(GitHubManager.java:1)\r\n\tat org.ossmeter.platform.delta.bugtrackingsystem.PlatformBugTrackingSystemManager.getFirstDate(PlatformBugTrackingSystemManager.java:72)\r\n\tat org.ossmeter.playpen.ProjectCreatorApplication.start(ProjectCreatorApplication.java:136)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)\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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1450)\r\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1426)\r\nCaused by: org.eclipse.egit.github.core.client.RequestException: Not Found (404)\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:552)\r\n\tat org.eclipse.egit.github.core.client.GitHubClient.get(GitHubClient.java:740)\r\n\tat org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:173)\r\n\t... 18 more\r\n````"},"comment":{"url":"https://api.github.com/repos/ossmeter/ossmeter/issues/comments/75523440","html_url":"https://github.com/ossmeter/ossmeter/issues/7#issuecomment-75523440","issue_url":"https://api.github.com/repos/ossmeter/ossmeter/issues/7","id":75523440,"user":{"login":"jrwilliams","id":1027838,"avatar_url":"https://avatars.githubusercontent.com/u/1027838?v=3","gravatar_id":"","url":"https://api.github.com/users/jrwilliams","html_url":"https://github.com/jrwilliams","followers_url":"https://api.github.com/users/jrwilliams/followers","following_url":"https://api.github.com/users/jrwilliams/following{/other_user}","gists_url":"https://api.github.com/users/jrwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/jrwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrwilliams/subscriptions","organizations_url":"https://api.github.com/users/jrwilliams/orgs","repos_url":"https://api.github.com/users/jrwilliams/repos","events_url":"https://api.github.com/users/jrwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/jrwilliams/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T11:03:11Z","updated_at":"2015-02-23T11:03:11Z","body":"We're getting this exception again for the odoo project (https://github.com/odoo/odoo). Has there been any progress on this?"}}