Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IntelliJ][ReportedByUser] Uncaught Exception java.lang.IllegalArgumentException: Argument for @NotNull parameter 'virtualFile' of com/microsoft/azure/toolkit/intellij/common/AzureArtifact.createFromFile must not be null #6271

Closed
silvioricardo87 opened this issue Dec 27, 2021 · 2 comments

Comments

@silvioricardo87
Copy link

IntelliJ build version: 2021.3 IU-213.5744.223
OS: Mac OS X
JDK: JetBrains s.r.o. 11.0.13
Plugin version: 3.59.0-2021.3
Additional Info: None
Parent component:

com.intellij.openapi.wm.impl.IdeRootPane[,0,0,1440x900,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=null, throwable=java.lang.IllegalArgumentException: Argument for @NotNull parameter 'virtualFile' of com/microsoft/azure/toolkit/intellij/common/AzureArtifact.createFromFile must not be null
	at com.microsoft.azure.toolkit.intellij.common.AzureArtifact.$$$reportNull$$$0(AzureArtifact.java)
	at com.microsoft.azure.toolkit.intellij.common.AzureArtifact.createFromFile(AzureArtifact.java)
	at com.microsoft.azure.toolkit.intellij.common.AzureArtifact.createFromFile(AzureArtifact.java:36)
	at com.microsoft.azure.toolkit.intellij.common.AzureArtifactManager.getAzureArtifactById(AzureArtifactManager.java:98)
	at com.microsoft.azure.toolkit.intellij.webapp.runner.webappconfig.slimui.WebAppDeployConfigurationPanel.lambda$setValue$13(WebAppDeployConfigurationPanel.java:233)
@wangmingliang-ms
Copy link
Collaborator

this issue should have been fixed by commit 65caf14, can you try with the latest versions

@wangmingliang-ms
Copy link
Collaborator

wangmingliang-ms commented Nov 8, 2022

close as it has been fixed since v3.69.0, you can upgrade to the latest and try. Feel free to reopen it when you encounter this error again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants