idok / scss-lint-plugin

SCSS Lint plugin for intellij
http://plugins.jetbrains.com/plugin/7530
93 stars 8 forks source link

Error running ScssLint inspection: @NotNull method com/wix/files/BaseActualFile.getPath must not return #58

Open ScutelnicuIonel opened 6 years ago

ScutelnicuIonel commented 6 years ago

Versions

scss-lint version: scss-lint 0.57.0

OS: Windows 8.1 IDEA product and version: PHPStorm 2017.3.6

Description

This error occur when I edit the scss file. Error running ScssLint inspection: @NotNull method com/wix/files/BaseActualFile.getPath must not return

Details:

Error running ScssLint inspection: @NotNull method com/wix/files/BaseActualFile.getPath must not return null
java.lang.IllegalStateException: @NotNull method com/wix/files/BaseActualFile.getPath must not return null
    at com.wix.files.BaseActualFile.getPath(BaseActualFile.java:30)
    at com.scss.ScssLintExternalAnnotator.doAnnotate(ScssLintExternalAnnotator.java:278)
    at com.scss.ScssLintExternalAnnotator.doAnnotate(ScssLintExternalAnnotator.java:53)
    at com.intellij.codeInsight.daemon.impl.ExternalToolPass.d(ExternalToolPass.java:214)
    at com.intellij.codeInsight.daemon.impl.ExternalToolPass.access$500(ExternalToolPass.java:36)
    at com.intellij.codeInsight.daemon.impl.ExternalToolPass$1.run(ExternalToolPass.java:155)
    at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
    at com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
    at com.intellij.util.ui.update.MergingUpdateQueue.lambda$flush$1(MergingUpdateQueue.java:277)
    at com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:291)
    at com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:246)
    at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:246)
    at com.intellij.util.Alarm$Request.runSafely(Alarm.java:417)
    at com.intellij.util.Alarm$Request.access$700(Alarm.java:344)
    at com.intellij.util.Alarm$Request$1.run(Alarm.java:384)
    at com.intellij.util.Alarm$Request.run(Alarm.java:395)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:242)
    at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:212)
    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)