microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception Exception at Workspace Model event handling java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.openapi.progress.CeProcessCanceledException) should never be logged. Instead, these should have been rethrown if caught.
Open
@wangmingliang-ms is already working on this.
Since Dec 8, 2023.
Tool: IntelliJ
Type: Bug
- Dominant language
- Java
- Stars
- 262
- Forks
- 185
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
IntelliJ build version: 2023.3 IU-233.11799.241
OS: Mac OS X
JDK: JetBrains s.r.o. 17.0.9
Plugin version: 3.83.0-2023.3
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1728x1080,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=Exception at Workspace Model event handling, throwable=java.lang.Throwable: Control-flow exceptions (e.g. this class com.intellij.openapi.progress.CeProcessCanceledException) should never be logged. Instead, these should have been rethrown if caught.
at com.intellij.openapi.diagnostic.Logger.ensureNotControlFlow(Logger.java:513)
at com.microsoft.azure.toolkit.intellij.facet.AzureFacet.addTo(AzureFacet.java:47)
at com.microsoft.azure.toolkit.intellij.facet.AddFacetStartupActivity.lambda$addFacetWhenNecessary$0(AddFacetStartupActivity.java:57)
at com.microsoft.azure.toolkit.lib.common.task.AzureTask.lambda$new$0(AzureTask.java:119)
at com.microsoft.azure.toolkit.lib.common.task.AzureTaskManager.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.