Community
Participate
Working Groups
1) When trying to refactor/rename a method name, (highlight method name, rightclick -> REFACTOR -> RENAME and edit the name in the IDE) Neon would go into a seemingly infinite loop of trying to build a java index. There are only 20 or 30 classes in this project After 2 hours, I will need to kill the eclipse process from Task Manager. 2) Upon restart of Eclipse Neon, I have this popup "Problem Occurred - Updating Java Index. See 'Details' for more information. The details only contain 'An internal error occurred during "Updating Java Index", Error. ======================== After restart, it would allow me to refactor using Rename, but still pops up a message that Problem Occurred, Updating Java Index, blah blah. Project was upgraded from Eclipse Mars, and was in use for a couple of weeks. This is the first time I've needed to rename the method name.
Can you please create few thread dumps via jstack while Eclipse is "busy" building the index, and attach them here? Thanks. I believe I've seen this once, and this happened while the project had compile errors, but it could be just coincident. BTW, if your original method name was "getName()" or "toString()" or something very frequently used, it can be that this is a problem of refactoring code. Such renames *seem* to scan over ALL types where such method exist (and not just the type hierarchy of the current class/interface), and I don't think this is clever.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.