EmmyLua / EmmyLua-ErrorReport

0 stars 0 forks source link

[auto-generated:1090968097] Exceptions occurred on invoking the intention 'Rename to '_'' on a copy of the file. #5438

Open emmy-issue opened 1 year ago

emmy-issue commented 1 year ago
---------------------- - Plugin Name: EmmyLua - Plugin Version: 1.3.8-IDEA223 - OS Name: Windows 10 - Java Version: 17.0.5 - App Name: PyCharm - App Full Name: PyCharm - App Version name: PyCharm - Is EAP: false - App Build: PC-223.8617.48 - App Version: 2022.3.2 - Last Action: ``` java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.model.SideEffectGuard$SideEffectNotAllowedException) should never be logged. Instead, these should have been rethrown or, if not possible, caught and ignored at com.intellij.openapi.diagnostic.Logger.ensureNotControlFlow(Logger.java:298) at com.intellij.idea.IdeaLogger.doLogError(IdeaLogger.java:151) at com.intellij.idea.IdeaLogger.error(IdeaLogger.java:142) at com.intellij.openapi.diagnostic.Logger.error(Logger.java:232) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.tryCreateDiffContent(IntentionPreviewComputable.kt:67) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.call(IntentionPreviewComputable.kt:39) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.call(IntentionPreviewComputable.kt:34) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$OTelMonitor.callWrapped(NonBlockingReadActionImpl.java:746) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$OTelMonitor$MonitoredComputation.call(NonBlockingReadActionImpl.java:778) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:573) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:537) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1111) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:71) at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:63) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:128) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:109) at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:68) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:186) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:604) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:679) at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:635) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:603) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:173) at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:68) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:106) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:71) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:537) at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$transferToBgThread$1(NonBlockingReadActionImpl.java:444) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: com.intellij.model.SideEffectGuard$SideEffectNotAllowedException: Side effect not allowed: INVOKE_LATER at com.intellij.model.SideEffectGuard.checkSideEffectAllowed(SideEffectGuard.java:34) at com.intellij.openapi.application.impl.LaterInvocator.invokeLater(LaterInvocator.java:80) at com.intellij.openapi.application.impl.ApplicationImpl.invokeLater(ApplicationImpl.java:338) at com.intellij.openapi.application.impl.ApplicationImpl.invokeLater(ApplicationImpl.java:322) at com.intellij.openapi.application.impl.ApplicationImpl.invokeLater(ApplicationImpl.java:317) at com.tang.intellij.lua.codeInsight.inspection.RemoveUnusedLocal$RenameToUnderlineFix.applyFix(RemoveUnusedLocal.kt:111) at com.tang.intellij.lua.codeInsight.inspection.RemoveUnusedLocal$RenameToUnderlineFix.applyFix(RemoveUnusedLocal.kt:107) at com.intellij.codeInspection.LocalQuickFix.generatePreview(LocalQuickFix.java:99) at com.intellij.codeInspection.ex.QuickFixWrapper.generatePreview(QuickFixWrapper.java:135) at com.intellij.codeInsight.intention.impl.IntentionActionWithTextCaching$MyIntentionAction.generatePreview(IntentionActionWithTextCaching.java:241) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview$lambda$3$lambda$2(IntentionPreviewComputable.kt:146) at com.intellij.psi.impl.source.PostprocessReformattingAspect.lambda$postponeFormattingInside$2(PostprocessReformattingAspect.java:140) at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:148) at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:139) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview$lambda$3(IntentionPreviewComputable.kt:146) at com.intellij.codeInsight.intention.preview.IntentionPreviewUtils.previewSession(IntentionPreviewUtils.java:94) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.invokePreview(IntentionPreviewComputable.kt:144) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.generatePreview(IntentionPreviewComputable.kt:103) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.tryCreateDiffContent$lambda$1(IntentionPreviewComputable.kt:61) at com.intellij.model.SideEffectGuard.computeWithAllowedSideEffects(SideEffectGuard.java:25) at com.intellij.model.SideEffectGuard.computeWithoutSideEffects(SideEffectGuard.java:18) at com.intellij.codeInsight.intention.impl.preview.IntentionPreviewComputable.tryCreateDiffContent(IntentionPreviewComputable.kt:61) ... 31 more ```
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago
emmy-issue commented 1 year ago