atoum / phpstorm-plugin

Integrate atoum inside PhpStorm
https://plugins.jetbrains.com/plugin/8173?pr=phpStorm
MIT License
23 stars 4 forks source link

NullPointerException: Worker exited due to exception #46

Closed srogier closed 8 years ago

srogier commented 8 years ago

I found about 15 of them in the last hour in a project.

I can trigger one of them by opening sometimes a file or folder (maybe for the first time ?)

Worker exited due to exception
java.lang.NullPointerException
    at org.atoum.intellij.plugin.atoum.Utils.isClassAtoumTest(Utils.java:20)
    at org.atoum.intellij.plugin.atoum.AtoumIconProvider.getIcon(AtoumIconProvider.java:15)
    at com.intellij.util.PsiIconUtil.getProvidersIcon(PsiIconUtil.java:42)
    at com.intellij.ide.FileIconPatcherImpl.getIcon(FileIconPatcherImpl.java:40)
    at com.intellij.util.IconUtil.getProvidersIcon(IconUtil.java:182)
    at com.intellij.util.IconUtil.access$200(IconUtil.java:49)
    at com.intellij.util.IconUtil$2.fun(IconUtil.java:145)
    at com.intellij.util.IconUtil$2.fun(IconUtil.java:136)
    at com.intellij.ui.DeferredIconImpl.evaluate(DeferredIconImpl.java:261)
    at com.intellij.ui.DeferredIconImpl$1$1$1.run(DeferredIconImpl.java:135)
    at com.intellij.ui.IconDeferrerImpl.evaluateDeferred(IconDeferrerImpl.java:122)
    at com.intellij.ui.DeferredIconImpl$1$1.run(DeferredIconImpl.java:132)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1185)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils$2.run(ProgressIndicatorUtils.java:88)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils$5.run(ProgressIndicatorUtils.java:134)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:130)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:95)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:85)
    at com.intellij.ui.DeferredIconImpl$1.run(DeferredIconImpl.java:129)
    at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:172)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

java.lang.NullPointerException
    at org.atoum.intellij.plugin.atoum.Utils.isClassAtoumTest(Utils.java:20)
    at org.atoum.intellij.plugin.atoum.AtoumIconProvider.getIcon(AtoumIconProvider.java:15)
    at com.intellij.util.PsiIconUtil.getProvidersIcon(PsiIconUtil.java:42)
    at com.intellij.ide.FileIconPatcherImpl.getIcon(FileIconPatcherImpl.java:40)
    at com.intellij.util.IconUtil.getProvidersIcon(IconUtil.java:182)
    at com.intellij.util.IconUtil.access$200(IconUtil.java:49)
    at com.intellij.util.IconUtil$2.fun(IconUtil.java:145)
    at com.intellij.util.IconUtil$2.fun(IconUtil.java:136)
    at com.intellij.ui.DeferredIconImpl.evaluate(DeferredIconImpl.java:261)
    at com.intellij.ui.DeferredIconImpl$1$1$1.run(DeferredIconImpl.java:135)
    at com.intellij.ui.IconDeferrerImpl.evaluateDeferred(IconDeferrerImpl.java:122)
    at com.intellij.ui.DeferredIconImpl$1$1.run(DeferredIconImpl.java:132)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1185)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils$2.run(ProgressIndicatorUtils.java:88)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils$5.run(ProgressIndicatorUtils.java:134)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:130)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:95)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:85)
    at com.intellij.ui.DeferredIconImpl$1.run(DeferredIconImpl.java:129)
    at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:172)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)