carymrobbins / intellij-haskforce

Haskell plugin for IntelliJ IDEA
http://carymrobbins.github.io/intellij-haskforce/
Apache License 2.0
487 stars 39 forks source link

NPE in RelativeDiscoveryFileHyperlinkRawDataFinder (stack output link parser) #403

Open carymrobbins opened 5 years ago

carymrobbins commented 5 years ago
java.lang.NullPointerException
    at com.haskforce.run.stack.task.RelativeDiscoveryFileHyperlinkRawDataFinder.$anonfun$find$3(StackTaskCommandLineState.scala:116)
    at com.haskforce.run.stack.task.RelativeDiscoveryFileHyperlinkRawDataFinder.$anonfun$find$3$adapted(StackTaskCommandLineState.scala:116)
    at com.haskforce.utils.FileTreeLike$.loop$3(FileUtil.scala:151)
    at com.haskforce.utils.FileTreeLike$.findRecursively(FileUtil.scala:154)
    at com.haskforce.utils.FileUtil$.findFilesRecursively(FileUtil.scala:113)
    at com.haskforce.run.stack.task.RelativeDiscoveryFileHyperlinkRawDataFinder.$anonfun$find$2(StackTaskCommandLineState.scala:116)
    at scala.collection.Iterator$$anon$10.next(Iterator.scala:448)
    at scala.collection.TraversableOnce.collectFirst(TraversableOnce.scala:145)
    at scala.collection.TraversableOnce.collectFirst$(TraversableOnce.scala:132)
    at scala.collection.AbstractIterator.collectFirst(Iterator.scala:1417)
    at com.haskforce.run.stack.task.RelativeDiscoveryFileHyperlinkRawDataFinder.find(StackTaskCommandLineState.scala:128)
    at com.intellij.execution.filters.PatternBasedFileHyperlinkFilter.parse(PatternBasedFileHyperlinkFilter.java:39)
    at com.intellij.execution.filters.AbstractFileHyperlinkFilter.applyFilter(AbstractFileHyperlinkFilter.java:59)
    at com.intellij.execution.filters.CompositeFilter.applyFilter(CompositeFilter.java:74)
    at com.intellij.execution.impl.AsyncFilterRunner$HighlighterJob.analyzeLine(AsyncFilterRunner.java:218)
    at com.intellij.execution.impl.AsyncFilterRunner$HighlighterJob.analyzeNextLine(AsyncFilterRunner.java:207)
    at com.intellij.execution.impl.AsyncFilterRunner.runTasks(AsyncFilterRunner.java:141)
    at com.intellij.openapi.application.ReadAction.lambda$nonBlocking$2(ReadAction.java:67)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:162)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$null$2(NonBlockingReadActionImpl.java:140)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1106)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:72)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:126)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
    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.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:115)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:72)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$transferToBgThread$6(NonBlockingReadActionImpl.java:140)
    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:207)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:29)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.lambda$run$0(BoundedTaskExecutor.java:185)
    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:181)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)