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

Bug 339158

Summary: Exceptions thrown when clicking Assume Unchanged
Product: [Technology] EGit Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: UIAssignee: Kevin Sawicki <kevin>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, marcus
Version: 0.11   
Target Milestone: 0.12-M1   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Eisenberg CLA 2011-03-07 23:16:20 EST
This exception appeared in my error log after clicking on Assume Unchanged.  

http://pastebin.com/bzxaeEnx

The repository I cloned from is:
git://git.springsource.org/spring-ide/spring-ide.git

After cloning the repository:
* I imported the "/org.springframework.ide.eclipse.uaa" project
* I made a trivial edit to IUsageMonitor.java and saved
* Right click on the file and select "Assume Unchanged"

This caused the ClassCastException.  It looks like the operation eventually worked since the '>' went away.
Comment 1 Chris Aniszczyk CLA 2011-03-08 08:58:24 EST
Thanks for the report.

Out of curiosity, why did you select 'Assume Unchanged' as part of your workflow? I think the menu needs to be cleaned up a bit.
Comment 2 Andrew Eisenberg CLA 2011-03-08 18:06:24 EST
I was just evaluating egit to see what stage it is at.  So, there wasn't any real workflow really.  I just clicked on a menu item that seemed like it would do something interesting.  :)
Comment 3 Kevin Sawicki CLA 2011-04-08 14:16:30 EDT
I think this bug was fixed in: http://egit.eclipse.org/r/#change,2919
Commit: 6c304386d84e509634acd7323e367dc0555168a1
Comment 4 Chris Aniszczyk CLA 2011-04-08 14:21:34 EDT
Fixed with 6c304386d84e509634acd7323e367dc0555168a1.

Please open a new bug if you see anymore exceptions.