Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368307

Summary: [github] Pull requests no longer available : 'Gone'
Product: [Technology] EGit Reporter: Robert Munteanu <robert.munteanu>
Component: GitHubAssignee: Kevin Sawicki <kevin>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: kevin, matthias.sohn, zanetu
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Robert Munteanu CLA 2012-01-10 18:49:44 EST
What steps will reproduce the problem?
1. Set up a query for all pull requests at http://github.com/mantisbt/mantisbt

The query and the task are decorated with a warning marker and the error text 'Gone' appears on mouse over. New tasks seem to appear, but can not be synchronized.

-- Error Details --
Date: Wed Jan 11 01:45:24 EET 2012
Message: Unexpected error: Gone
Severity: Error
Product: Eclipse 1.4.1.20110909-0613 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.mylyn.github.core
Session Data:
eclipse.buildId=M20110909-1335
java.version=1.6.0_22
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

Exception Stack Trace:
java.io.IOException: Gone
	at org.eclipse.egit.github.core.client.GitHubClient.createException(GitHubClient.java:429)
	at org.eclipse.egit.github.core.client.GitHubClient.get(GitHubClient.java:514)
	at org.eclipse.egit.github.core.client.PageIterator.next(PageIterator.java:170)
	at org.eclipse.egit.github.core.service.GitHubService.getAll(GitHubService.java:136)
	at org.eclipse.egit.github.core.service.GitHubService.getAll(GitHubService.java:120)
	at org.eclipse.egit.github.core.service.IssueService.getComments(IssueService.java:322)
	at org.eclipse.mylyn.internal.github.core.pr.PullRequestConnector.getTaskData(PullRequestConnector.java:241)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.synchronizeTask(SynchronizeTasksJob.java:245)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.runInternal(SynchronizeTasksJob.java:218)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.run(SynchronizeTasksJob.java:153)
	at org.eclipse.mylyn.internal.tasks.core.sync.SynchronizeTasksJob.run(SynchronizeTasksJob.java:129)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Kevin Sawicki CLA 2012-01-12 12:16:41 EST
Are you seeing this consistently? The "Gone" io exception.
Comment 2 Robert Munteanu CLA 2012-01-12 16:16:16 EST
(In reply to comment #1)
> Are you seeing this consistently? The "Gone" io exception.

Yes, just got it for both the query and the single open pull request. The query includes both the open and the closed pull requests. I can only sync the first pull request ( closed ). The second fails with the 'Gone' exception.
Comment 3 Kevin Sawicki CLA 2012-01-13 11:34:20 EST
I was able to reproduced this issue with your repository.

There is currently an issue getting pull request comments on repositories that have GitHub issues disabled.

As a temporary fix,  if you enable issues on that repository, this error should go away.  I know this isn't ideal since users since it allows issues to be created.
Comment 4 Robert Munteanu CLA 2012-01-13 11:41:18 EST
Kevin, thanks for the update . 

The issue functionality will probably not get enabled as it will lead to confusion, but I can rely on email notifications until this gets sorted out.