Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Creating patch failed
Creating patch failed [message #661594] Fri, 25 March 2011 14:16 Go to next message
Tom Seidel is currently offline Tom Seidel
Messages: 90
Registered: July 2009
Member
Hi,

I've cloned a Git Repository and committed a change to my local repository. If I go into the History View my commit is listed. When I right-click on that commit to create a patch an error occurs when I press the finish button. I'm using 0.11.3.
My working directory is located at C:\Users\tom\org.eclipse.mylyn.docs and my workspace is located at C:\IDEs\eclipse_mylyn_docs\eclipse\workspace (just FYI because the Stacktrace indicates a path-problem)
The stacktrace is:


java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 1008)
at org.eclipse.egit.ui.internal.history.GitCreatePatchWizard.pe rformFinish(GitCreatePatchWizard.java:141)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:811)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:430)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3657)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.egit.ui.internal.history.GitCreatePatchWizard.ru n(GitCreatePatchWizard.java:101)
at org.eclipse.egit.ui.internal.history.command.CreatePatchHand ler.execute(CreatePatchHandler.java:34)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSel ection(CommandContributionItem.java:820)
at org.eclipse.ui.menus.CommandContributionItem.access$19(Comma ndContributionItem.java:806)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(C ommandContributionItem.java:796)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 38)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Caused by: java.lang.NullPointerException
at org.eclipse.egit.ui.internal.history.FileDiff.getProjectRela tivePath(FileDiff.java:207)
at org.eclipse.egit.ui.internal.history.FileDiff.outputEclipseD iff(FileDiff.java:160)
at org.eclipse.egit.ui.internal.history.FileDiff.outputDiff(Fil eDiff.java:147)
at org.eclipse.egit.ui.internal.history.GitCreatePatchWizard$1. run(GitCreatePatchWizard.java:169)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)
Root exception:
java.lang.NullPointerException
at org.eclipse.egit.ui.internal.history.FileDiff.getProjectRela tivePath(FileDiff.java:207)
at org.eclipse.egit.ui.internal.history.FileDiff.outputEclipseD iff(FileDiff.java:160)
at org.eclipse.egit.ui.internal.history.FileDiff.outputDiff(Fil eDiff.java:147)
at org.eclipse.egit.ui.internal.history.GitCreatePatchWizard$1. run(GitCreatePatchWizard.java:169)
at org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:121)


Any ideas?

Thanks in advance,
Tom

BTW: Your nightly update site is not working for me. Error message is:

Problems downloading artifact: osgi.bundle,org.eclipse.egit.ui,0.12.0.201103250812.
MD5 hash is not as expected. Expected: 2fcad996b11daadd818010ed648e3255 and found 6f56c4423e4d8c130c20e52e962627cd.
Re: Creating patch failed [message #665506 is a reply to message #661594] Thu, 14 April 2011 20:37 Go to previous message
Matthias Sohn is currently offline Matthias Sohn
Messages: 588
Registered: July 2009
Senior Member
Could you file a bug to track this problem ?

For the download problems with nightly see https://bugs.eclipse.org/bugs/show_bug.cgi?id=331301
Previous Topic:No Checkin of .obj possible?
Next Topic:pull of removed project screws up eclipse
Goto Forum:
  


Current Time: Sun Oct 26 00:29:46 GMT 2014

Powered by FUDForum. Page generated in 0.01540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software