Community
Participate
Working Groups
>Steffen in bug 413480 comment 48: If I cancel retrieval of a patch set and then select the Fetch button I get the following exception: java.lang.NullPointerException at org.eclipse.mylyn.internal.gerrit.ui.factories.AbstractPatchSetUiFactory.getGitRepository(AbstractPatchSetUiFactory.java:105) at org.eclipse.mylyn.internal.gerrit.ui.factories.FetchUiFactory.execute(FetchUiFactory.java:32) at org.eclipse.mylyn.reviews.ui.spi.factories.AbstractUiFactory.handleExecute(AbstractUiFactory.java:81) at org.eclipse.mylyn.reviews.ui.spi.factories.AbstractUiFactory.access$0(AbstractUiFactory.java:79) at org.eclipse.mylyn.reviews.ui.spi.factories.AbstractUiFactory$1.widgetSelected(AbstractUiFactory.java:72) __ This is occuring because we're allowing the user to trigger a fetch when a Remote object is not available. (Because the user cancelled the retrieval.) We need to prevent from getting to this point. (Though the user won't be able to accomplish what they want any better, at least it will be a nicer error message.)
Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn