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.NullPointerException #4370

Closed
cristianpetrache opened this issue May 12, 2020 · 4 comments · Fixed by #4371
Closed

Comments

@cristianpetrache
Copy link

IntelliJ build version: 2020.1.1 IC-201.7223.91
OS: Mac OS X
JDK: JetBrains s.r.o 11.0.6
Plugin version: 3.36.0-2020.1
Additional Info: None
Parent component:

com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog$DialogRootPane[,0,22,830x475,invalid,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.NullPointerException
	at java.desktop/javax.swing.text.DefaultStyledDocument$ElementBuffer.create(DefaultStyledDocument.java:1469)
	at com.microsoft.intellij.runner.functions.deploy.ui.FunctionDeploymentPanel.fillFunctionApps(FunctionDeploymentPanel.java:141)
	at com.microsoft.intellij.runner.functions.deploy.ui.FunctionDeployViewPresenter.lambda$null$2(FunctionDeployViewPresenter.java:50)
	at com.microsoft.intellij.actions.functions.DeployFunctionAction.runConfiguration(DeployFunctionAction.java:81)
	at com.microsoft.intellij.actions.functions.DeployFunctionAction.lambda$onActionPerformed$0(DeployFunctionAction.java:62)
@Flanker32
Copy link
Member

@cristianpetrache Thanks a lot for your report, could you please share a bit more infos like could this issue be stable reproduced?

@cristianpetrache
Copy link
Author

It actually happened randomly. I was not even using the azure plugin at that time. I will try to pay more attention to what I am doing when the IDE signals the problem and come back with more data.

@cristianpetrache
Copy link
Author

It might be related to the fact that at some time I tried to deploy one azure function project. I right clicked the module, selected Deploy > Deploy to azure functions and then I saw an error message: Failed to list function apps. As a result, the Function field in the ui remained empty. At that point I only managed to deploy with the maven plugin directly (mvn clean package azure-functions:deploy). I hope this helps!

@Flanker32
Copy link
Member

@cristianpetrache Thanks a lot for your information, i could reproduce this issue in mac but not stable too, i'll update here once there are updates.

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

Successfully merging a pull request may close this issue.

2 participants