Closed travisseitler closed 3 years ago
Pretty strange! But I will test on the exact same version of PhpStorm to verify! Thanks for the report!
Could you also try a previous version of the plugin? It should be 0.15.0
I just checked with 0.15.0 and I get the same exception. The only difference is in the first line:
java.lang.ClassCastException: class com.github.lppedd.cc.parser.InvalidToken cannot be cast to class com.github.lppedd.cc.parser.ValidToken (com.github.lppedd.cc.parser.InvalidToken and com.github.lppedd.cc.parser.ValidToken are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @692dbfba)
java.lang.ClassCastException: class com.github.lppedd.cc.parser.InvalidToken cannot be cast to class com.github.lppedd.cc.parser.ValidToken (com.github.lppedd.cc.parser.InvalidToken and com.github.lppedd.cc.parser.ValidToken are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @11f0a234)
...but I'm not sure if that's relevant. It almost looks like it could just be an internal reference to the installed plugin (and if that's the case, I'd expect it to be different for each install).
That said, I also just tried the same thing with 1.14.0 and I do not get an exception there. Progress?! :smile:
Fixed with commit 54bb971747ec9ead95c54550f7b52b4a10f961ae.
Thanks!
@travisseitler hey! Did you notice crashes again?
@lppedd I haven't noticed any crashes, and the autocomplete seems more snappy overall. 😄
When writing a commit message in PhpStorm, I get the following error any time the auto-suggest list for types or footerTypes appears. (I've checked this a few times, and the only difference I've seen is the line number reference for
ensureItemIterator
(I've seeSequences.kt:269
andSequences.kt:278
.)I don't know if this would be helpful (say, if the issue is specific to my setup in some way), but here are the contents of my Help > About screen: