Community
Participate
Working Groups
This is for egit 0.9.0.201007281519 I select project > Team > Synchronize Then I select check "Include local uncommitted changes in comparison" Synchronize view is populated, I select uncommitted changes in this view > "Commit .." and get NPE: org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:4083) at org.eclipse.swt.SWT.error(SWT.java:3998) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) ... Caused by: java.lang.NullPointerException at org.eclipse.egit.ui.internal.actions.RepositoryAction.run(RepositoryAction.java:69) at org.eclipse.egit.ui.internal.synchronize.CommitOperation$2.run(CommitOperation.java:47) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 47 more
I think I also have this with 0.9.3 except eclipse crashes on me and I have no way to check it was an npe (it's a jvm crash and I could not find any log anywhere). But the way to reproduce the crash is the same as described by original poster. I'm on arch linux 64 bits, eclipse helios
Fixed with http://egit.eclipse.org/r/#change,2018