Open intgr opened 2 years ago
I seem to get a similar error repeatedly. While in the editor, I do see "live" warnings within code generally. But, I suspect that this is a contributing cause of the recent PyCharm crashes that I'm seeing (never saw them before) and the out of memory errors. I guess I'll disable the plug-in for now until I can see some activity here.
FYI: I'm on PyCharm 2021.1 with MyPy 0.942 and mypy-extensions 0.4.3.
12:17 PM Unexpected Exception Caught
The scan failed due to an exception: An error occurred while scanning a file.
Root cause:
null
com.intellij.openapi.progress.ProcessCanceledException
at com.intellij.openapi.progress.EmptyProgressIndicator.checkCanceled(EmptyProgressIndicator.java:85)
at com.intellij.openapi.progress.impl.CoreProgressManager.doCheckCanceled(CoreProgressManager.java:133)
at com.intellij.openapi.progress.ProgressManager.checkCanceled(ProgressManager.java:230)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.readLock(ReadMostlyRWLock.java:123)
at com.intellij.openapi.application.impl.ApplicationImpl.acquireReadLock(ApplicationImpl.java:856)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:817)
at com.leinardi.pycharm.mypy.checker.ScanFiles.scan(ScanFiles.java:121)
at com.leinardi.pycharm.mypy.checker.ScanFile... (show balloon)
I blame Java haha.
Step 1: Are you in the right place?
Step 2: Describe your environment
0.12.0
2021.3
0.910
Step 3: Describe the problem:
I just wanted to document for now; I didn't even notice when this happened, but saw this exception in Event Log.
This is probably a new issue introduced in 0.12. Looks like a race condition, IntelliJ can throw
ProcessCanceledException
earlier before our current exception handler. So should probably move the exception handler