| Summary: | [rename] Exception when doing Java refactoring | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Daniel <dsegall> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r, martinae |
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Daniel
I got it to work by doing a refresh of my source tree from the root. It would be nice if I would have gotten a dialog box explaining what happened and telling me to do a refresh instead of the refactoring operation failing silently and having to figure out what went wrong and how to fix it. I believe we already check that all elements are in sync, and you would get a warning. So the reason might have been another one. Markus can you confirm? The reason was definitely that the elements were out of sync. When the refactoring didn't work, I tried using text search/replace to do the refactoring instead, and that dialog did give me a warning that resources were out of sync. That's how I knew to try the refresh. The refactoring operation did NOT give me a warning that resources were out of sync. I did not use the refactor dialog; just the in-place rename and press Enter. *** This bug has been marked as a duplicate of bug 160609 *** |