PhpStorm 2019.2 Plugin Exception
See original GitHub issueAn exception occurs in the new 2019.2 version of PhpStorm, making the Plugin not work correctly.
For example, on a Controller file, it fails to find the usages of a function Action to it’s respective .yml
routing configuration file.
Here’s my stacktrace.txt
data of the Exception:
java.lang.Throwable: Non-idempotent computation: it returns different results when invoked multiple times or on different threads:
fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath@32357ff1 != fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath@3de64903
which is 0th element of [fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath@32357ff1, fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath@43d3b183] and [fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath@3de64903, fr.adrienbrault.idea.symfony2plugin.templating.path.TwigPath@29cb4801]
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:145)
at com.intellij.util.IdempotenceChecker.checkEquivalence(IdempotenceChecker.java:67)
at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:250)
at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:43)
at fr.adrienbrault.idea.symfony2plugin.templating.path.ConfigAddPathTwigNamespaces.getNamespaces(ConfigAddPathTwigNamespaces.java:49)
at fr.adrienbrault.idea.symfony2plugin.templating.util.TwigUtil.getTwigNamespaces(TwigUtil.java:1316)
at fr.adrienbrault.idea.symfony2plugin.templating.util.TwigUtil.getTwigNamespaces(TwigUtil.java:1306)
at fr.adrienbrault.idea.symfony2plugin.templating.util.TwigUtil.getTemplateFiles(TwigUtil.java:1012)
at fr.adrienbrault.idea.symfony2plugin.templating.util.TwigUtil.getTemplatePsiElements(TwigUtil.java:1078)
at fr.adrienbrault.idea.symfony2plugin.navigation.controller.TemplatesControllerRelatedGotoCollector.visitMethodTemplateNames(TemplatesControllerRelatedGotoCollector.java:96)
at fr.adrienbrault.idea.symfony2plugin.navigation.controller.TemplatesControllerRelatedGotoCollector.collectGotoRelatedItems(TemplatesControllerRelatedGotoCollector.java:37)
at fr.adrienbrault.idea.symfony2plugin.dic.ControllerMethodLineMarkerProvider.getGotoRelatedItems(ControllerMethodLineMarkerProvider.java:98)
at fr.adrienbrault.idea.symfony2plugin.dic.ControllerMethodLineMarkerProvider.collect(ControllerMethodLineMarkerProvider.java:49)
at fr.adrienbrault.idea.symfony2plugin.dic.ControllerMethodLineMarkerProvider.collectSlowLineMarkers(ControllerMethodLineMarkerProvider.java:108)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.queryProviders(LineMarkersPass.java:194)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.lambda$doCollectInformation$3(LineMarkersPass.java:104)
at com.intellij.codeInsight.daemon.impl.Divider.divideInsideAndOutsideInOneRoot(Divider.java:79)
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:91)
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)
Hope this helps.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:8
Top Results From Across the Web
PluginException in PhpStorm 2019.2 · Issue #87 - GitHub
After upgrade to new PhpStorm 2019.2 this exception occured: Error while ... PluginException: TypeProvider contract violation? by class ...
Read more >Failing plugin tests with latest EAP (2019.2.*)
Hi, I am having a Gradle setup for my CSV Plugin (https://github.com/SeeSharpSoft/intellij-csv-validator), making use of Travis CI for...
Read more >IntelliJ-Plugin-Developers/Lobby - Gitter
Caused by: com.intellij.diagnostic.PluginException: class org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to class javax.xml.parsers.
Read more >PhpStorm 2021.2 Syntax errors not going away even after ...
The problem is that, when I am editing the PHP file, the syntax error doesn't go away even I am very certain that...
Read more >How to implement code completion in an IntelliJ plugin
Check out the next section to learn how to use these attributes – and by the way, IntelliJ 2019.2 includes nice code completion...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hey @Haehnchen 👋 the error still occurs on
Plugin version is current
0.23.209
This issue is duplicated by #1532 and #1554
@Haehnchen Hi! Are there any news on this issue? Still see it at least several times per day. Plugin version 0.20.197 (latest) PhpStorm 2020.1.2 (latest stable)