Webstorm Freezing

Issue #1476 resolved
Justin Julicher created an issue

Hi @Scott Wells

I’m currently having frequent crashes again.

I found this in the log file:

019-11-21 09:47:33,537 [1174977]   INFO - agnostic.FrequentEventDetector - Too many events posted, #1. Event: java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=LaterInvocator.FlushQueue,notifier=null,catchExceptions=false,when=1574293653537] on sun.awt.X11.XToolkit@1c891064
2019-11-21 09:47:35,736 [1177176]   INFO - tellij.openapi.util.IconLoader - replace '/nodes/enum.svg' with '/icons/nodes/glyphs/enum.svg'
2019-11-21 09:47:41,428 [1182868]   INFO - agnostic.FrequentEventDetector - Too many events posted, #1. Event: java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=LaterInvocator.FlushQueue,notifier=null,catchExceptions=false,when=1574293661428] on sun.awt.X11.XToolkit@1c891064
2019-11-21 09:47:42,150 [1183590]  ERROR - tellij.util.IdempotenceChecker - Non-idempotent computation: it returns different results when invoked multiple times or on different threads:
3 != 4
which is length of CachedValue dependencies: [com.illuminatedcloud.intellij.psi.util.ApexPsiUtil$ValidatingModificationTracker@4cd64c5c, Apex(Card.cls), com.intellij.openapi.util.SimpleModificationTracker@58df0869] and [com.illuminatedcloud.intellij.psi.util.ApexPsiUtil$ValidatingModificationTracker@5c960832, Apex(Card.cls), com.illuminatedcloud.intellij.psi.util.ApexPsiUtil$ValidatingModificationTracker@49a3b27, com.intellij.openapi.util.SimpleModificationTracker@58df0869]
where values are  ChargeRequest (class com.illuminatedcloud.intellij.psi.impl.ApexExpressionType) and Card.ChargeRequest (class com.illuminatedcloud.intellij.psi.impl.ApexExpressionType)
java.lang.Throwable: Non-idempotent computation: it returns different results when invoked multiple times or on different threads:
3 != 4
which is length of CachedValue dependencies: [com.illuminatedcloud.intellij.psi.util.ApexPsiUtil$ValidatingModificationTracker@4cd64c5c, Apex(Card.cls), com.intellij.openapi.util.SimpleModificationTracker@58df0869] and [com.illuminatedcloud.intellij.psi.util.ApexPsiUtil$ValidatingModificationTracker@5c960832, Apex(Card.cls), com.illuminatedcloud.intellij.psi.util.ApexPsiUtil$ValidatingModificationTracker@49a3b27, com.intellij.openapi.util.SimpleModificationTracker@58df0869]
where values are  ChargeRequest (class com.illuminatedcloud.intellij.psi.impl.ApexExpressionType) and Card.ChargeRequest (class com.illuminatedcloud.intellij.psi.impl.ApexExpressionType)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:145)
at com.intellij.util.IdempotenceChecker.checkEquivalence(IdempotenceChecker.java:70)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:250)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129)
at com.illuminatedcloud.intellij.psi.impl.ApexTypeMixin.getExpressionType(SourceFile:85)
at com.illuminatedcloud.intellij.psi.impl.ApexFormalParameterMixin.doGetExpressionType(SourceFile:76)
at com.illuminatedcloud.intellij.psi.impl.ApexDeclarationMixin.lambda$getExpressionType$1(SourceFile:135)
at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:148)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:240)
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129)
at com.illuminatedcloud.intellij.psi.impl.ApexDeclarationMixin.getExpressionType(SourceFile:134)
at com.illuminatedcloud.intellij.psi.util.ApexExpressionUtil$9.getExpressionTypes(SourceFile:489)
at com.illuminatedcloud.intellij.psi.util.ApexExpressionUtil.lambda$getExpressionTypes$0(SourceFile:1089)
at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:148)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:240)
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129)
at com.illuminatedcloud.intellij.psi.util.ApexExpressionUtil.getExpressionTypes(SourceFile:1086)
at com.illuminatedcloud.intellij.psi.impl.ApexSimpleRefExpressionMixin.tryAsContinuationOfRefExpression(SourceFile:727)
at com.illuminatedcloud.intellij.psi.impl.ApexSimpleRefExpressionMixin.getReferencesNoCache(SourceFile:180)
at com.illuminatedcloud.intellij.psi.impl.ApexSimpleRefExpressionMixin.doGetReferences(SourceFile:158)
at com.illuminatedcloud.intellij.psi.impl.PsiReferenceCacheHolderExpression$1.doGetReferences(SourceFile:57)
at com.illuminatedcloud.intellij.psi.impl.PsiReferenceCache.compute(SourceFile:107)
at com.intellij.psi.util.CachedValuesManager.lambda$getCachedValue$0(CachedValuesManager.java:148)
at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:54)
at com.intellij.util.CachedValueBase.lambda$getValueWithLock$1(CachedValueBase.java:240)
at com.intellij.openapi.util.RecursionManager$1.doPreventingRecursion(RecursionManager.java:113)
at com.intellij.openapi.util.RecursionManager.doPreventingRecursion(RecursionManager.java:71)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:241)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
at com.intellij.util.CachedValuesManagerImpl.getCachedValueFromExHolder(CachedValuesManagerImpl.java:72)
at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:45)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:147)
at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:129)
at com.illuminatedcloud.intellij.psi.impl.PsiReferenceCache.getReferences(SourceFile:77)
at com.illuminatedcloud.intellij.psi.impl.PsiReferenceCacheHolderExpression.getReferences(SourceFile:47)
at com.illuminatedcloud.intellij.editor.ApexParameterNameHints.getParameterHints(SourceFile:143)
at com.intellij.codeInsight.hints.ParameterHintsPass.process(ParameterHintsPass.java:91)
at com.intellij.codeInsight.hints.ParameterHintsPass.lambda$doCollectInformation$0(ParameterHintsPass.java:83)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at com.intellij.codeInsight.hints.ParameterHintsPass.doCollectInformation(ParameterHintsPass.java:83)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:55)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$null$1(PassExecutorService.java:429)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:422)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:421)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:397)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:164)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:204)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:395)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:161)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)
2019-11-21 09:47:42,151 [1183591]  ERROR - tellij.util.IdempotenceChecker - WebStorm 2019.2.4  Build #WS-192.7142.35
2019-11-21 09:47:42,151 [1183591]  ERROR - tellij.util.IdempotenceChecker - JDK: 11.0.4; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o

I’ve attached the full log a thread dump.

thanks

Comments (4)

  1. Scott Wells repo owner

    Hey, Justin. Sorry for the continuing problems. I'm at Dreamforce this week and can't look at this immediately, but I'll try to look at it tomorrow. In the interim, can you explain what you mean by "crashes"? Does the entire process die? lock up? throw errors? Just trying to figure out the downstream effect of this issue.

  2. Justin Julicher reporter

    Hi Scott,

    Look Webstorm completely froze - however, I had installed it using snap (a packaging system on Linux) and thought I would try a manual installation. So far I haven’t had a repeat of the crash so all good for the moment.

    I’ll leave it with you - if you can find anything that might be a cause of the issue (although at this stage I’m thinking it’s an installation issue) please fix . But from my point of view I’m thinking it was probably more of a snap issue (although Jetbrains are creating the ‘snap’ themeselves).

    thanks

  3. Scott Wells repo owner

    That's interesting. Yeah, let me know if you see these problems with the standard install. My guess is that you will. If not, though, I'd be curious to know the difference between the two install methods. Different JRE perhaps?

  4. Log in to comment