microsoft / microsoft/azure-tools-for-java
[IntelliJ][ReportedByUser] Uncaught Exception com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: Cannot load property.
Open
Nobody has claimed this yet.
Module: Framework
Tool: IntelliJ
- Dominant language
- Java
- Stars
- 262
- Forks
- 185
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 1
Description
IntelliJ build version: 2022.3.3 IC-223.8836.41
OS: Windows 11
JDK: JetBrains s.r.o. 17.0.6
Plugin version: 3.77.0-2022.3
Additional Info: None
Parent component:
com.intellij.openapi.wm.impl.IdeRootPane[,6,6,1442x853,layout=com.intellij.openapi.wm.impl.IdeRootPane$MyRootLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource@7f92a429,flags=449,maximumSize=,minimumSize=,preferredSize=]
Error message:
IdeaLoggingEvent[message=null, throwable=com.microsoft.azure.toolkit.lib.common.exception.AzureToolkitRuntimeException: Cannot load property.
at com.microsoft.azure.toolkit.ide.common.store.DefaultMachineStore.load(DefaultMachineStore.java:67)
at com.microsoft.azure.toolkit.ide.common.store.DefaultMachineStore.<init>(DefaultMachineStore.java:29)
at com.microsoft.intellij.AzureActionsListener.appFrameCreated(AzureActionsListener.java:134)
Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal character ((CTRL-CHAR, code 0)): only regular white space (\r, \n, \t) is allowed between tokens
at com.microsoft.azure.toolkit.lib.common.utils.JsonUtils.fromJson(JsonUtils.java:49)
at com.microsoft.azure.toolkit.ide.common.store.DefaultMachineStore.load(DefaultMachineStore.java:62)
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 with DefaultMachineStore.load in the IntelliJ plugin and follow its call to JsonUtils.fromJson, using the reported stack trace as the entry point. Inspect how the machine-store property is loaded and determine the expected behavior for the parse failure; done means the reported startup exception is handled or resolved without breaking property loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100