microsoft / microsoft/azure-tools-for-java

[IntelliJ][ReportedByUser] Uncaught Exception com.wacommon.utils.WACommonException: Error occurred while retrieving path of Azure libraries

Open
#7,284 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

IntelliJ build version: 2022.3.1 IC-223.8214.52
OS: Mac OS X
JDK: JetBrains s.r.o. 17.0.5
Plugin version: 3.72.0-2022.3
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1335x884,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=com.intellij.ui.ToolbarUtil$3@33d1c39f,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=null, throwable=com.wacommon.utils.WACommonException: Error occurred while retrieving path of Azure libraries
	at com.microsoft.intellij.util.PluginHelper.getAzureLibLocation(PluginHelper.java:31)
	at com.microsoft.intellij.ui.libraries.LibraryPropertiesPanel.prepare(LibraryPropertiesPanel.java:54)
	at com.microsoft.intellij.ui.libraries.LibraryPropertiesStep.prepare(LibraryPropertiesStep.java:30)
	at com.microsoft.intellij.ui.libraries.LibrariesConfigurationDialog.addLibrary(LibrariesConfigurationDialog.java:105)
	at com.microsoft.intellij.ui.libraries.LibrariesConfigurationDialog$3.run(LibrariesConfigurationDialog.java:77)
	at com.microsoft.intellij.ui.libraries.LibrariesConfigurationDialog$3.run(LibrariesConfigurationDialog.java:74)
	at com.microsoft.intellij.actions.LibraryConfigurationAction.onActionPerformed(LibraryConfigurationAction.java

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at com.microsoft.intellij.util.PluginHelper.getAzureLibLocation, which is called from LibraryPropertiesPanel.prepare during LibrariesConfigurationDialog.addLibrary. Reproduce the crash with the reported IntelliJ, macOS, JDK, and plugin versions, then determine why the Azure library path cannot be retrieved. Done means adding a library no longer produces this uncaught exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
cloud, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.