Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350440 - NPE in GitHistoryPage
Summary: NPE in GitHistoryPage
Status: RESOLVED DUPLICATE of bug 345354
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 09:02 EDT by John Arthorne CLA
Modified: 2011-06-27 13:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2011-06-27 09:02:46 EDT
eGit 1.0 (Indigo)

I got the following NPE while trying to invoke Team -> Show in History on a file in a Git repository:

!ENTRY org.eclipse.ui.workbench 4 2 2011-06-27 08:58:39.297
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.egit.ui.internal.history.GitHistoryPage.setWarningText(GitHistoryPage.java:1329)
	at org.eclipse.egit.ui.internal.history.GitHistoryPage.setInput(GitHistoryPage.java:937)
	at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistoryPageFor(GenericHistoryView.java:738)
	at org.eclipse.team.internal.ui.history.GenericHistoryView.showHistory(GenericHistoryView.java:969)
	at org.eclipse.team.internal.ui.history.GenericHistoryView.editorActivated(GenericHistoryView.java:892)
	at org.eclipse.team.internal.ui.history.GenericHistoryView$1.partBroughtToTop(GenericHistoryView.java:367)
	at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3939)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:3937)
	at org.eclipse.ui.internal.WorkbenchPage.access$15(WorkbenchPage.java:3930)
	at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:172)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:211)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.access$4(PartServiceImpl.java:209)
	at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:95)
	at org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:41)
	at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:180)
Comment 1 James Blackburn CLA 2011-06-27 13:34:18 EDT
duplicate

*** This bug has been marked as a duplicate of bug 345354 ***