Community
Participate
Working Groups
Given a commit that deletes a file x. Select the commit in the history view. x is shown in the file list on the right bottom of the history view. Double click on x => NPE is thrown. java.lang.NullPointerException at org.eclipse.egit.ui.internal.EgitUiEditorUtils.openEditor(EgitUiEditorUtils.java:50) at org.eclipse.egit.ui.internal.history.CommitFileDiffViewer.openFileInEditor(CommitFileDiffViewer.java:103) at org.eclipse.egit.ui.internal.history.CommitFileDiffViewer.access$2(CommitFileDiffViewer.java:96) at org.eclipse.egit.ui.internal.history.CommitFileDiffViewer$1.open(CommitFileDiffViewer.java:84)
Fix proposed: http://egit.eclipse.org/r/#change,1275
Fixed with cee1a9902d0e41c1854270f787c2f5fc2fba697d. Thanks Jens.