Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368759

Summary: 'Git Staging' view seems to be stuck thinking there is a changed file
Product: [Technology] EGit Reporter: Remy Suen <remy.suen>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: robin, spisek
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot depicting the state in question. none

Description Remy Suen CLA 2012-01-16 14:03:03 EST
Created attachment 209581 [details]
Screenshot depicting the state in question.

Eclipse EGit 1.3.0.201201121315

My view has 'Unstaged Changes (1)' but the command line doesn't seem to think so. Refreshing the view did not help.

---------------

C:\Users\Remy\git\eclipse.platform.ui>git status
# On branch master
nothing to commit (working directory clean)

C:\Users\Remy\git\eclipse.platform.ui>
Comment 1 Remy Suen CLA 2012-01-16 14:26:44 EST
It seems that I get errors when I try to refresh.

Caused by: java.lang.NullPointerException
	at org.eclipse.egit.ui.internal.dialogs.CommitMessageComponent.setDefaults(CommitMessageComponent.java:439)
	at org.eclipse.egit.ui.internal.staging.StagingView.loadInitialState(StagingView.java:1297)
	at org.eclipse.egit.ui.internal.staging.StagingView.updateCommitMessageComponent(StagingView.java:1244)
	at org.eclipse.egit.ui.internal.staging.StagingView$25$1.run(StagingView.java:1169)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 24 more
Comment 2 Robin Stocker CLA 2013-05-20 14:23:22 EDT
Can you still reproduce this problem? Please reopen in that case.