klesun / deep-assoc-completion

A phpstorm plugin for associative array key typing and completion
Other
267 stars 17 forks source link

Exception: com.intellij.psi.stubs.UpToDateStubIndexMismatch: PSI and index do not match. #181

Closed ktomk closed 3 years ago

ktomk commented 3 years ago

I just had a hard crash (SIGSEV) in Phpstorm EAP and restarted it. When it came back up, it reported the Phpstorm crash and a second report was about that index were borked or something with stubs along the index line.

I suspect this exception is related to the crash. The plugin likely was not part of the crash.

Just reporting in case it is of use. Currently only appeared once. Will restart with index re-validation.

https://gist.github.com/ktomk/712fab7a58daffe88b8bb89363130637

klesun commented 3 years ago

Hm, thanks. If the issue repeats, you can find out the actual plugin that causes the exception by unchecking this setting: File -> Settings -> Languages & Frameworks -> PHP -> deep-assoc-completion -> Adjust Other Plugin Options:

image

See https://github.com/klesun/deep-assoc-completion/issues/174#issuecomment-782844326

Sorry for the noise in stack trace caused by my plugin.

ktomk commented 3 years ago

All fine, can make the setting, whenever it happens again. Good to know, understanding 174. Close in the meantime.