Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312852 - Opening compare editor on deleted file causes message to be logged
Summary: Opening compare editor on deleted file causes message to be logged
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Stefan Lay CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 21:51 EDT by Remy Suen CLA
Modified: 2010-05-25 09:55 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-05-13 21:51:12 EDT
1. Have the 'History' view open on some file.
2. Delete it and then commit the change.
3. Now you should have a 'D' entry from your latest commit. Double-click on it to open it.

!ENTRY org.eclipse.egit.core 4 0 2010-05-13 21:49:43.987
!MESSAGE Git blob 0000000000000000000000000000000000000000 with path org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/actions/IgnoreAction.java not found

Thread [main] (Suspended)	
	CommitBlobStorage(BlobStorage).open() line: 58	
	CommitBlobStorage(BlobStorage).getContents() line: 46	
	FileRevisionTypedElement(StorageTypedElement).getContents() line: 40	
	CompareUIPlugin.getContentType(ITypedElement) line: 1000	
	CompareUIPlugin.getCommonType(ICompareInput) line: 1062	
	CompareUIPlugin.findStructureViewerDescriptor(Viewer, ICompareInput, CompareConfiguration) line: 772	
	CompareUIPlugin.findStructureViewer(Viewer, ICompareInput, Composite, CompareConfiguration) line: 816	
	CompareUI.findStructureViewer(Viewer, ICompareInput, Composite, CompareConfiguration) line: 312	
	GitCompareFileRevisionEditorInput(CompareEditorInput).findStructureViewer(Viewer, ICompareInput, Composite) line: 930	
	CompareEditorInput$10(CompareStructureViewerSwitchingPane).getViewer(Viewer, Object) line: 84	
	CompareEditorInput$10.getViewer(Viewer, Object) line: 714	
	CompareEditorInput$10(CompareViewerSwitchingPane).setInput(Object) line: 265	
	CompareEditorInput$10(CompareStructureViewerSwitchingPane).setInput(Object) line: 132	
	GitCompareFileRevisionEditorInput(CompareEditorInput).feedInput() line: 746	
	GitCompareFileRevisionEditorInput(CompareEditorInput).createContents(Composite) line: 554	
	CompareEditor.createCompareControl() line: 456	
	CompareEditor.access$6(CompareEditor) line: 422	
	CompareEditor$3.run() line: 378	
	UILockListener.doPendingWork() line: 164	
	UISynchronizer$3.run() line: 158	
	RunnableLock.run() line: 35	
	UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 134	
	Display.runAsyncMessages(boolean) line: 4041	
	Display.readAndDispatch() line: 3660	
	Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2601	
	Workbench.runUI() line: 2565	
	Workbench.access$4(Workbench) line: 2399	
	Workbench$7.run() line: 669	
	Realm.runWithDefault(Realm, Runnable) line: 332	
	Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 662	
	PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149	
	IDEApplication.start(IApplicationContext) line: 115	
	EclipseAppHandle.run(Object) line: 196	
	EclipseAppLauncher.runApplication(Object) line: 110	
	EclipseAppLauncher.start(Object) line: 79	
	EclipseStarter.run(Object) line: 369	
	EclipseStarter.run(String[], Runnable) line: 179	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25	
	Method.invoke(Object, Object...) line: 597	
	Main.invokeFramework(String[], URL[]) line: 619	
	Main.basicRun(String[]) line: 574	
	Main.run(String[]) line: 1407	
	Main.main(String[]) line: 1383
Comment 1 Stefan Lay CLA 2010-05-25 06:45:45 EDT
Proposed patch: http://egit.eclipse.org/r/#change,744
Comment 2 Chris Aniszczyk CLA 2010-05-25 09:55:54 EDT
Fixed with I070b2a2476973a1ed41dcff94fc41e5ad36bc528.