Errors after Webstorm 2021.2 update
It seems that following the Webstorm 2021.2 update it has broken the OST, as I can no longer get to where methods are used.
I have regenerated the full OST but still no luck.
This is from the error log
2021-07-27 11:53:17,532 [8327652] ERROR - aemon.impl.PassExecutorService - WebStorm 2021.2 Build #WS-212.4746.80
2021-07-27 11:53:17,533 [8327653] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-07-27 11:53:17,533 [8327653] ERROR - aemon.impl.PassExecutorService - OS: Mac OS X
2021-07-27 11:53:17,533 [8327653] ERROR - aemon.impl.PassExecutorService - Plugin to blame: Illuminated Cloud 2 version: 2.1.8.4
2021-07-27 11:53:17,533 [8327653] ERROR - aemon.impl.PassExecutorService - Last Action: GotoDeclaration
2021-07-27 11:53:18,444 [8328564] ERROR - aemon.impl.PassExecutorService - Could not initialize class com.illuminatedcloud.intellij.completion.EmbeddedMarkupUtil
java.lang.NoClassDefFoundError: Could not initialize class com.illuminatedcloud.intellij.completion.EmbeddedMarkupUtil
at com.illuminatedcloud.intellij.search.IlluminatedCloudReferencesSearch.highlightMethodAccessorReferences(SourceFile:345)
at com.illuminatedcloud.intellij.search.IlluminatedCloudReferencesSearch.lambda$processQuery$0(SourceFile:105)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:828)
at com.illuminatedcloud.intellij.search.IlluminatedCloudReferencesSearch.processQuery(SourceFile:99)
at com.illuminatedcloud.intellij.search.IlluminatedCloudReferencesSearch.processQuery(SourceFile:89)
at com.intellij.openapi.application.QueryExecutorBase.execute(QueryExecutorBase.java:77)
at com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:28)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108)
at com.intellij.util.MergeQuery.processResults(MergeQuery.java:22)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.delegateProcessResults(AbstractQuery.java:108)
at com.intellij.util.UniqueResultsQuery.processResults(UniqueResultsQuery.java:39)
at com.intellij.util.AbstractQuery.doProcessResults(AbstractQuery.java:91)
at com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:83)
at com.illuminatedcloud.intellij.inspection.unusedDeclaration.ApexUnusedDeclarationInspection$ApexUnusedDeclarationVisitor.findFirstInterestingUsage(SourceFile:339)
at com.illuminatedcloud.intellij.inspection.unusedDeclaration.ApexUnusedDeclarationInspection$ApexUnusedDeclarationVisitor.visitNameIdentifier(SourceFile:193)
at com.illuminatedcloud.intellij.psi.impl.ApexNameIdentifierImpl.accept(SourceFile:20)
at com.illuminatedcloud.intellij.psi.impl.ApexNameIdentifierImpl.accept(SourceFile:25)
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:64)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitRestElementsAndCleanup$7(LocalInspectionsPass.java:352)
at com.intellij.util.AstLoadingFilter.lambda$toComputable$2(AstLoadingFilter.java:172)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:130)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:119)
at com.intellij.util.AstLoadingFilter.disallowTreeLoading(AstLoadingFilter.java:109)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.lambda$visitRestElementsAndCleanup$10(LocalInspectionsPass.java:352)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:136)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:149)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1078)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:92)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:104)
at com.intellij.concurrency.ApplierCompleter.lambda$compute$0(ApplierCompleter.java:83)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:174)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:83)
at com.intellij.concurrency.JobLauncherImpl.invokeConcurrentlyUnderProgress(JobLauncherImpl.java:61)
at com.intellij.concurrency.JobLauncher.invokeConcurrentlyUnderProgress(JobLauncher.java:49)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.visitRestElementsAndCleanup(LocalInspectionsPass.java:372)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.inspect(LocalInspectionsPass.java:214)
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.collectInformationWithProgress(LocalInspectionsPass.java:121)
at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:84)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:56)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$1(PassExecutorService.java:399)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1078)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:392)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:391)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:367)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:174)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:183)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:365)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:188)
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:183)
2021-07-27 11:53:18,445 [8328565] ERROR - aemon.impl.PassExecutorService - WebStorm 2021.2 Build #WS-212.4746.80
2021-07-27 11:53:18,445 [8328565] ERROR - aemon.impl.PassExecutorService - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-07-27 11:53:18,445 [8328565] ERROR - aemon.impl.PassExecutorService - OS: Mac OS X
2021-07-27 11:53:18,445 [8328565] ERROR - aemon.impl.PassExecutorService - Plugin to blame: Illuminated Cloud 2 version: 2.1.8.4
2021-07-27 11:53:18,445 [8328565] ERROR - aemon.impl.PassExecutorService - Last Action: GotoDeclaration
2021-07-27 11:54:25,488 [8395608] WARN - .ExternalResourceManagerExImpl - Cannot find standard resource. filename:/standardSchemas/jspxml.dtd class=class com.intellij.jsp.impl.JspResourcesProvider, classLoader:null
2021-07-27 11:55:19,769 [8449889] ERROR - aemon.impl.PassExecutorService - Exception 'java.lang.NoClassDefFoundError: Could not initialize class com.illuminatedcloud.intellij.completion.EmbeddedMarkupUtil' was reported 20 times
Comments (9)
-
repo owner -
reporter hmm I have just deleted and reinstalled on my mac. I can go to a definition, but not see where it is used.
Looking to the logs to see if there is anything else, I did notice this, not sure if it is related or not:
2021-07-27 12:52:29,806 [ 2543] INFO - intellij.diagnostic.JitWatcher - JIT compilation state checking enabled
2021-07-27 12:52:29,813 [ 2550] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2021-07-27 12:52:29,814 [ 2551] INFO - intellij.util.io.FilePageCache - lower=100; upper=500; buffer=10; max=3992
2021-07-27 12:52:29,981 [ 2718] WARN - Types.impl.FileTypeManagerImpl -
ua.t3hnar.plugins.cmdsupport.BatFileType$@597d770a from 'PluginDescriptor(name=CMD Support, id=CMD Support, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2021.2/plugins/cmdsupport, version=1.0.5, package=null)' (class ua.t3hnar.plugins.cmdsupport.BatFileType$) and
ua.t3hnar.plugins.cmdsupport.CmdFileType$@2bc02be5 from 'PluginDescriptor(name=CMD Support, id=CMD Support, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2021.2/plugins/cmdsupport, version=1.0.5, package=null)' (class ua.t3hnar.plugins.cmdsupport.CmdFileType$)
both have the same .getDisplayName(): 'Cmd'. Please override either one's getDisplayName() to something unique.
com.intellij.diagnostic.PluginException:
ua.t3hnar.plugins.cmdsupport.BatFileType$@597d770a from 'PluginDescriptor(name=CMD Support, id=CMD Support, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2021.2/plugins/cmdsupport, version=1.0.5, package=null)' (class ua.t3hnar.plugins.cmdsupport.BatFileType$) and
ua.t3hnar.plugins.cmdsupport.CmdFileType$@2bc02be5 from 'PluginDescriptor(name=CMD Support, id=CMD Support, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/WebStorm2021.2/plugins/cmdsupport, version=1.0.5, package=null)' (class ua.t3hnar.plugins.cmdsupport.CmdFileType$)
both have the same .getDisplayName(): 'Cmd'. Please override either one's getDisplayName() to something unique.
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.checkUnique(FileTypeManagerImpl.java:1330)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.checkFileTypeNamesUniqueness(FileTypeManagerImpl.java:1304)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.registerFileTypeWithoutNotification(FileTypeManagerImpl.java:1258)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl$PluginFileTypeConsumer.register(FileTypeManagerImpl.java:1630)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl$PluginFileTypeConsumer.consume(FileTypeManagerImpl.java:1597)
at ua.t3hnar.plugins.cmdsupport.CmdFileTypeFactory.createFileTypes(CmdFileType.scala:27)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.lambda$initStandardFileTypes$1(FileTypeManagerImpl.java:279)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:293)
at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:156)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initStandardFileTypes(FileTypeManagerImpl.java:276)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.doInitializeComponent(FileTypeManagerImpl.java:569)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.initializeComponent(FileTypeManagerImpl.java:563)
at com.intellij.configurationStore.ComponentStoreImpl.initComponent(ComponentStoreImpl.kt:134)
at com.intellij.configurationStore.ComponentStoreWithExtraComponents.initComponent(ComponentStoreWithExtraComponents.kt:48)
at com.intellij.serviceContainer.ComponentManagerImpl.initializeComponent$intellij_platform_serviceContainer(ComponentManagerImpl.kt:525)
at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:52)
at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:36)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:113)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:67)
at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:60)
at com.intellij.serviceContainer.ComponentManagerImpl.instantiateService(ComponentManagerImpl.kt:1084)
at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.invoke(ComponentManagerImpl.kt:1056)
at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$1.run(ComponentManagerImpl.kt:58)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinTask.doJoin(ForkJoinTask.java:396)
at java.base/java.util.concurrent.ForkJoinTask.invokeAll(ForkJoinTask.java:853)
at com.intellij.serviceContainer.ComponentManagerImpl$preloadServices$3.run(ComponentManagerImpl.kt:1076)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1728)
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:183)
-
repo owner No, that's benign. It's just saying that those file types have the same display names and are therefore potentially ambiguous in file type configuration. It's been that way all along, though...just a new warning in the new build. But that wouldn't cause what you're seeing.
Typically when there's a
NoClassDefFoundError
, there will be a nested stack trace with more details about why that class couldn't be found/loaded. I'm not seeing anything like that. Feel free to email me the fullidea.log
if you'd prefer not to post it, but note that it's pretty late here so I won't likely get a chance to take a look again until tomorrow morning. Having said that, I've been testing with 2021.2 builds since they were in EAP (a few months ago) and have never seen this issue, nor do I see it locally now on Windows or Mac...just updated my Mac test machine and all good there:That leads me to believe that it's an installation issue. You said that you deleted and reinstalled, but does that equate to a true scorched earth uninstall/reinstall? I'm just concerned that something is still in a bad state in terms of the installation...
-
reporter Ok this time followed these instructions to uninstall (2 extra steps, I suspect doing a cache clear or something might have been sufficient) - https://www.jetbrains.com/help/webstorm/uninstall.html#standalone
Issue does now appear to be resolved
-
reporter - changed status to resolved
After following https://www.jetbrains.com/help/webstorm/uninstall.html#standalone to uninstall and reinstalling it does appear to be resolved
-
repo owner Okay. That's good to hear, though my guess is that this won't be the only time I hear of this. If it happened to one person, it'll almost certainly happen to others. Hopefully only a few, but this will give me good detail to share with those who are affected. Thanks for going through the (in this case evidently necessary) motions, Tony...
-
repo owner - changed status to open
I just saw the exact same thing in my own development environment. Reopening to research.
-
repo owner Logged as a regression with JetBrains:
-
repo owner - changed status to resolved
This was resolved quite a bit back.
- Log in to comment
Tony, I'm not seeing that issue. Here's a find usages in WebStorm 2021.2 that includes references found via the code in that stack trace:
Unfortunately from the provided stack I can't see why it's unable to load
EmbeddedMarkupUtil
, but I'm not seeing that issue locally. Sometimes things can get kind of wonky after an in-place upgrade of a JetBrains IDE, though. Can you please do an uninstall/reinstall of WebStorm and see if the problem persists?