asciidoctor / asciidoctor-intellij-plugin

AsciiDoc plugin for products on the IntelliJ platform (IDEA, RubyMine, etc)
https://intellij-asciidoc-plugin.ahus1.de/
Apache License 2.0
347 stars 146 forks source link

Throwable: Invalid file when processing Antora references #1220

Closed sentry-io[bot] closed 1 year ago

sentry-io[bot] commented 1 year ago

This might happen if the file was deleted in the meantime.

Sentry Issue: ASCIIDOC-INTELLIJ-PLUGIN-1Y1

Throwable: Invalid file: file:///Users/*/xxxx.adoc (invalid)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:184)
    at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:357)
    at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java:155)
    at org.asciidoc.intellij.asciidoc.AntoraIncludeAdapter.lambda$process$1(AntoraIncludeAdapter.java:97)
    at org.asciidoc.intellij.threading.AsciiDocProcessUtil.lambda$runInReadActionWithWriteActionPriority$1(AsciiDocProcessUtil.java:51)
...
(119 additional frame(s) were not displayed)
ahus1 commented 1 year ago

Workaround in upcoming release. Reported upstream as https://youtrack.jetbrains.com/issue/IDEA-306288