-
Notifications
You must be signed in to change notification settings - Fork 2
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
"Outdated stub in index" and "PSI and index do not match." #43
Comments
I'll be honest, I'm not really sure what's going on here. The color provider extension point is just doing some checks using PSI elements passed in from the IJ framework. There's no caching. I don't think the fundamental issue (outdated stubs, etc.) is something I'm causing. Possibly I can wrap my code in a try / catch Throwable to avoid getting pointed at as a bad extension by IDEA. |
@bitspittle Wrapping the entire parsing function in a try-catch seems a little overkill. From what I can deduce using the stacktrace, stuff goes downhill when accessing |
I do aggree though that this is probably not the plugin causing the issue |
Thanks @Nxllpointer for also taking a look. It's possible the best course of action is to actually remove the code I introduced entirely. This seems like such a fundamental error that there's no way we could catch all places. It's also unfortunately very timing specific and hard (impossible?) for us to reproduce. Here are some more interesting links that LoP surfaced:
LoP saw the error two times when they were doing rebase / merges. |
Could this perhaps be due to a race condition? I am pretty certain our |
Outdated stub in index
PSI and index do not match
The text was updated successfully, but these errors were encountered: