WebStorm 2019.1.3 constantly freezes when trying to copy or edit code
I have been having constant issues with WebStorm 2019.1.3 freezing up. Sometimes it happens when I copy/paste code, but more often when I am just doing something simple, like writing an IF statement. I just type "if" and an opening parenthesis, and WebStorm freezes. Other times, I have copy/pasted an ELSE IF block in the middle of an if/else chain and started to edit it. Installing version 2019.1.2 seems to have fixed the problem.
The threadDump files in
~/Library/Logs/<PRODUCT><VERSION>
mostly reference JSTypeEvaluator.js, but the files are too big to include here (partial below):
"AWT-EventQueue-0" prio=0 tid=0x0 nid=0x0 runnable java.lang.Thread.State: RUNNABLE at com.intellij.psi.impl.source.SubstrateRef$StubRef.isValid(SubstrateRef.java:133) at com.intellij.extapi.psi.StubBasedPsiElementBase.isValid(StubBasedPsiElementBase.java:272) at com.intellij.psi.impl.source.SubstrateRef$StubRef.isValid(SubstrateRef.java:134) at com.intellij.extapi.psi.StubBasedPsiElementBase.isValid(StubBasedPsiElementBase.java:272) at com.intellij.psi.impl.source.SubstrateRef$StubRef.isValid(SubstrateRef.java:134) at com.intellij.extapi.psi.StubBasedPsiElementBase.isValid(StubBasedPsiElementBase.java:272) at com.intellij.psi.impl.source.SubstrateRef$StubRef.isValid(SubstrateRef.java:134) at com.intellij.extapi.psi.StubBasedPsiElementBase.isValid(StubBasedPsiElementBase.java:272) at com.intellij.psi.impl.PsiCachedValue.getTimeStamp(PsiCachedValue.java:84) at com.intellij.util.CachedValueBase.isDependencyOutOfDate(CachedValueBase.java:133) at com.intellij.psi.impl.PsiCachedValue.isDependencyOutOfDate(PsiCachedValue.java:72) at com.intellij.util.CachedValueBase.isUpToDate(CachedValueBase.java:123) at com.intellij.psi.impl.PsiCachedValue.isUpToDate(PsiCachedValue.java:63) at com.intellij.util.CachedValueBase.getUpToDateOrNull(CachedValueBase.java:102) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:229) at com.intellij.psi.impl.PsiParameterizedCachedValue.getValue(PsiParameterizedCachedValue.java:35) at com.intellij.psi.util.CachedValuesManager.getParameterizedCachedValue(CachedValuesManager.java:93) at com.intellij.lang.javascript.psi.impl.JSCachingTypeOwner.getJSType(JSCachingTypeOwner.java:57) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.addTypeFromProperty(JSTypeEvaluator.java:2010) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.addTypeFromElementResolveResult(JSTypeEvaluator.java:1892) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.addTypeFromResolveResult(JSTypeEvaluator.java:1531) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.addTypeFromResolveResult(JSTypeEvaluator.java:1477) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$processRefExpr$30(JSTypeEvaluator.java:1451) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$$Lambda$2432/181079460.get(Unknown Source) at com.intellij.lang.javascript.psi.resolve.JSEvaluateContext.processExpression(JSEvaluateContext.java:203) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.processRefExpr(JSTypeEvaluator.java:1445) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.doEvaluateTypes(JSTypeEvaluator.java:511) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$evaluateTypes$13(JSTypeEvaluator.java:484) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$$Lambda$2495/1248341402.accept(Unknown Source) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$processWithEvaluationGuard$45(JSTypeEvaluator.java:2783) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$$Lambda$2427/860432813.apply(Unknown Source) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.runWithRecursionGuard(JSTypeEvaluator.java:2802) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.processWithEvaluationGuard(JSTypeEvaluator.java:2777) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.processItem(JSTypeEvaluator.java:2757) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.evaluateTypes(JSTypeEvaluator.java:484) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator.lambda$static$1(JSTypeEvaluator.java:106) at com.intellij.lang.javascript.psi.resolve.JSTypeEvaluator$$Lambda$2396/1186612841.compute(Unknown Source) at com.intellij.psi.impl.PsiParameterizedCachedValue.doCompute(PsiParameterizedCachedValue.java:45) at com.intellij.util.CachedValueBase.lambda$getValueWithLock$0(CachedValueBase.java:236) at com.intellij.util.CachedValueBase$$Lambda$563/1838139144.compute(Unknown Source) at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:239)
Please sign in to leave a comment.
Please share your log folder content (Help | Compress Logs and Show in Finder)
I'm not sure how to share my compressed logs. When I try to add them here, I get the message: "You can only upload images (jpeg, gif, or png). Image uploads are limited to 2 MB."
you can upload it to some file servrer (dropbox, etc) and provide a link
Here is the link: https://www.dropbox.com/s/h4dqt4pfiowhzdw/WebStorm2019.1.zip?dl=0
can you also attach your package.json?
Thanks. Must be https://youtrack.jetbrains.com/issue/WEB-38968, please follow it for updates
It's possible that I am having the same issue as the one linked to above. The file I was trying to edit when WebStorm froze up was a reselect file.
It's 40 degrees here and I have a really short fuse today. This has been happening all morning. Simple editing freezes the IDE all the time. Please fix this ASAP. Very annoying issue.