Comments (6)
com.intellij.diagnostic.PluginException: Tool #ArrayMapToCollectionInspection registers INFORMATION level problem in batch mode on PHP file. INFORMATION level 'warnings' are invisible in the editor and should not become visible in batch mode. Moreover, cause INFORMATION level fixes act more like intention actions, they could e.g. change semantics and thus should not be suggested for batch transformations [Plugin: dev.nybroe.collector]
at com.intellij.codeInsight.daemon.impl.LocalInspectionsPass.doInspectInBatch(LocalInspectionsPass.java:154)
at com.intellij.codeInspection.ex.GlobalInspectionContextImpl.inspectFile(GlobalInspectionContextImpl.java:475)
at com.intellij.codeInspection.ex.GlobalInspectionContextImpl.lambda$runTools$4(GlobalInspectionContextImpl.java:338)
at com.intellij.openapi.project.DumbService.lambda$runReadActionInSmartMode$0(DumbService.java:112)
at com.intellij.openapi.project.DumbService.lambda$runReadActionInSmartMode$1(DumbService.java:156)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:854)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:61)
at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:149)
at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:112)
at com.intellij.openapi.project.DumbService.tryRunReadActionInSmartMode(DumbService.java:129)
at com.intellij.codeInspection.ex.GlobalInspectionContextImpl.lambda$runTools$10(GlobalInspectionContextImpl.java:327)
at com.intellij.concurrency.JobLauncherImpl$1MyTask.lambda$call$0(JobLauncherImpl.java:293)
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.JobLauncherImpl$1MyTask.call(JobLauncherImpl.java:280)
at com.intellij.concurrency.JobLauncherImpl$1MyTask.call(JobLauncherImpl.java:270)
at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1448)
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)
from collector-intellij.
Thanks for reporting this.
Did not know about this limitation when using batch mode. Just to verify, this happens when you run the inspection on multiple files at once right?
from collector-intellij.
no, I got these when doing sth nonrelated to this plugin. it was just running in the background in a PHP project
from collector-intellij.
Hmm interesting, I'll see how I can solve them 👍
from collector-intellij.
I just experienced this exception when opening a project. I'm not sure how related it is to the original, but I didn't want to open a duplicate ticket.
com.intellij.diagnostic.PluginException: Tool #ArrayMapToCollectionInspection (class dev.nybroe.collector.inspections.ArrayMapToCollectionInspection) registers 'INFORMATION'-level problem in batch mode on PHP file. Warnings of the 'INFORMATION' level are invisible in the editor and should not become visible in batch mode. Moreover, since 'INFORMATION'-level fixes act more like intention actions, they could e.g. change semantics and thus should not be suggested for batch transformations [Plugin: dev.nybroe.collector]
at com.intellij.codeInspection.InspectionEngine.warnAboutInformationLevelInBatchMode(InspectionEngine.java:267)
at com.intellij.codeInspection.InspectionEngine$2.registerProblem(InspectionEngine.java:300)
at com.intellij.codeInspection.ProblemsHolder.registerProblem(ProblemsHolder.java:55)
at dev.nybroe.collector.inspections.ArrayMapToCollectionInspection$buildVisitor$1.visitPhpFunctionCall(ArrayMapToCollectionInspection.kt:21)
at com.jetbrains.php.lang.psi.elements.impl.FunctionReferenceImpl.accept(FunctionReferenceImpl.java:48)
at com.jetbrains.php.lang.psi.elements.impl.PhpASTElementImpl.accept(PhpASTElementImpl.java:26)
at com.intellij.codeInspection.InspectionEngine.acceptElements(InspectionEngine.java:99)
at com.intellij.codeInspection.InspectionEngine.createVisitorAndAcceptElements(InspectionEngine.java:58)
at com.intellij.codeInspection.InspectionEngine.lambda$inspectElements$8(InspectionEngine.java:317)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:139)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:152)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1075)
at com.intellij.concurrency.ApplierCompleter.lambda$wrapInReadActionAndIndicator$1(ApplierCompleter.java:96)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:685)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:641)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:609)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:108)
at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:89)
at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:754)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
from collector-intellij.
@rk Thank you for reporting! It seems related, I'll def. have to take a closer look on this to understand the issue.
from collector-intellij.
Related Issues (20)
- [Security] Workflow build.yml is using vulnerable action gradle/wrapper-validation-action
- It makes my PHPSTORM code inspections to be so slow HOT 3
- Exception (java.lang.AssertionError) HOT 1
- java.lang.AssertionError HOT 1
- java.lang.Exception HOT 1
- Closure to Arrow Function - Pint style matching HOT 3
- `where->first` to `firstWhere` refactor
- Another `use` issue when refactoring foreach to collection HOT 4
- [foreach-to-collection] non-fixable warning given for @foreach blade directive HOT 3
- Add dummy higher order collection autocompletion
- Convert to short arrow fails when if statement HOT 1
- First stable release HOT 1
- where->isNotEmpty to contains HOT 1
- Suggesting collection methods on higher order calls HOT 1
- Wrong recursive call on collection detected HOT 10
- Add dependabot
- Inspection is triggered when collecting an `stdClass` object HOT 2
- IDE Fatal Errors HOT 2
- `java.lang.AssertionError: #顶#M#P#P#g#F\App\Console\Commands\collect.map.events` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collector-intellij.