Skip to content

[IntelliJ][ReportedByUser] Uncaught Exception update failed for AnAction(com.microsoft.intellij.actions.CreateFunctionAction) with ID=page.new java.lang.IllegalArgumentException: Argument for @NotNull parameter 'project' of com/intellij/openapi/roots/ProjectRootManager.getInstance must not be null #4347

@freeone3000

Description

@freeone3000

IntelliJ build version: 2019.3.4 IU-193.6911.18
OS: Windows 10
JDK: JetBrains s.r.o 11.0.6
Plugin version: 3.34.0-2019.3
Additional Info: None
Parent component:

com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog$DialogRootPane[,8,0,824x520,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]

Error message:

IdeaLoggingEvent[message=update failed for AnAction(com.microsoft.intellij.actions.CreateFunctionAction) with ID=page.new, throwable=java.lang.IllegalArgumentException: Argument for @NotNull parameter 'project' of com/intellij/openapi/roots/ProjectRootManager.getInstance must not be null
	at com.intellij.openapi.roots.ProjectRootManager.$$$reportNull$$$0(ProjectRootManager.java)
	at com.microsoft.intellij.actions.CreateFunctionAction.isAvailable(CreateFunctionAction.java:182)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions