Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incomplete Type Index / Bug 109084 #4

Open
HeikoKlare opened this issue Jun 26, 2023 · 8 comments
Open

Incomplete Type Index / Bug 109084 #4

HeikoKlare opened this issue Jun 26, 2023 · 8 comments
Assignees
Labels
Bug A Derivation of Expected Behavior JDT Issues for JDT

Comments

@HeikoKlare
Copy link
Contributor

Current Behavior

In some cases (with unknown reasons), the type index does not contain all available types, so the type search does not find some types that actually exist.
Rebuilding the index via the preferences does not resolve the issue.

Image

The bug has been existing for a long time and does not seem to be fixed by now: https://bugs.eclipse.org/bugs/show_bug.cgi?id=109084

Expected Behavior

In the best case, the type index should properly contain the expected types.
At least, the "rebuild index" operation in the preferences should properly rebuild the index.

Existing Workaround

Delete .metadata.plugins\org.eclipse.jdt.core*.index, and restart Eclipse.

@HeikoKlare HeikoKlare converted this from a draft issue Jun 26, 2023
@HeikoKlare HeikoKlare added Bug A Derivation of Expected Behavior JDT Issues for JDT labels Jun 26, 2023
@HeikoKlare HeikoKlare changed the title Incomplete Type Index Incomplete Type Index / Bug 109084 Jun 26, 2023
@fedejeanne fedejeanne self-assigned this Jul 21, 2023
@fedejeanne fedejeanne moved this from 🆕 New to 🏗 In progress in Eclipse Jul 21, 2023
@fedejeanne
Copy link

The problem was reproduced in 2023-03 but it was not because of a broken index so applying the workaround did not solve the problem.
The problem is not reproducible in 2023-06.

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Eclipse Aug 21, 2023
@HeikoKlare
Copy link
Contributor Author

Why is this one closed if the conducted reproduction does not apply to the issue? The original issue was a broken type index (e.g., because of some application crash during JDT indexing). This led to faulty results when using the index (e.g., when using type search). I don't see how a case where no broken index exists shows that this issue is not reproducible or that the workaround is not applicable.

@fedejeanne
Copy link

Sorry, I mixed this one with the (not so) related issue: #9

@fedejeanne fedejeanne moved this from ✅ Done to Ongoing in Eclipse Aug 22, 2023
@HeikoKlare HeikoKlare moved this from Ongoing to 🏗 In progress in Eclipse Oct 13, 2023
@HeikoKlare
Copy link
Contributor Author

HeikoKlare commented Jan 19, 2024

This is one has been marked as "in work" for half a year: what is the current state?

@fedejeanne
Copy link

I left it as "Ongoing" in August because I intended to see if the problem surfaced again, but I see no activity in it and I also have no novel ideas on how to tackle this.
Should we set it as "new" again? BTW what happened to "ready"?

No idea why it wen from Ongoing -> In Progress: short

@HeikoKlare
Copy link
Contributor Author

No idea why it wen from Ongoing -> In Progress: short

I guess it was moved because it does not fulfill our definition of being "ongoing" :-)

Should we set it as "new" again? BTW what happened to "ready"?

I think it should be moved to "ready" then.

@fedejeanne fedejeanne moved this from 🏗 In Work: Short to 🔖 Ready: Atomic in Eclipse Mar 26, 2024
@fedejeanne
Copy link

No idea why it wen from Ongoing -> In Progress: short

I guess it was moved because it does not fulfill our definition of being "ongoing" :-)

Do we have our definition of Ongoing written somewhere? It was my understanding that as long as there is something going on but there is no "active" work on the ticket then it's "ongoing". I activated some logging back then to see if there was something useful in the logs when the error happened.

@HeikoKlare
Copy link
Contributor Author

HeikoKlare commented Mar 26, 2024

Do we have our definition of Ongoing written somewhere?

Yes, it's given in the description of the backlog state:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A Derivation of Expected Behavior JDT Issues for JDT
Projects
Status: 🔖 Ready: Atomic
Development

No branches or pull requests

2 participants