Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368759 - 'Git Staging' view seems to be stuck thinking there is a changed file
Summary: 'Git Staging' view seems to be stuck thinking there is a changed file
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.2   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 14:03 EST by Remy Suen CLA
Modified: 2013-05-20 14:23 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot depicting the state in question. (8.71 KB, image/png)
2012-01-16 14:03 EST, Remy Suen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.