microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception initLoggerFileHandler() java.io.FileNotFoundException: C:\Users\91998\.AzureToolsForIntelliJ\corelibs.log (Access is denied)
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 262
- Forks
- 185
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
IntelliJ build version: 2021.3 IC-213.5744.223
OS: Windows 11
JDK: JetBrains s.r.o. 11.0.13
Plugin version: 3.66.2-2021.3
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,7,7,1537x816,invalid,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=initLoggerFileHandler(), throwable=java.io.FileNotFoundException: C:\Users\91998\.AzureToolsForIntelliJ\corelibs.log (Access is denied)
at java.base/java.io.FileOutputStream.open0(Native Method)
at com.microsoft.intellij.AzureActionsListener.initLoggerFileHandler(AzureActionsListener.java:189)
at com.microsoft.intellij.AzureActionsListener.initAuthManage(AzureActionsListener.java:179)
at com.microsoft.intellij.AzureActionsListener.appFrameCreated(AzureActionsListener.java:155)
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.
Research direction
Start at AzureActionsListener.java lines 189, 179, and 155, where the stack trace reports the failure while initializing the logger during application startup. Reproduce the IntelliJ 2021.3, Windows 11, and plugin 3.66.2-2021.3 setup if possible, then verify that startup no longer raises the access-denied FileNotFoundException for corelibs.log.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100