Bug 514499 - Problem with Java Index
Summary: Problem with Java Index
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.6   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-30 12:05 EDT by L S CLA
Modified: 2022-09-18 14:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description L S CLA 2017-03-30 12:05:53 EDT
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.
Comment 1 Andrey Loskutov CLA 2017-03-31 04:06:05 EDT
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.
Comment 2 Eclipse Genie CLA 2020-07-07 02:15:27 EDT
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.
Comment 3 Eclipse Genie CLA 2022-09-18 14:57:24 EDT
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.