diff --git a/plugin/core/src/main/java/com/perl5/lang/perl/idea/run/GenericPerlRunConfigurationEditor.java b/plugin/core/src/main/java/com/perl5/lang/perl/idea/run/GenericPerlRunConfigurationEditor.java index ec32720940..787e802a86 100644 --- a/plugin/core/src/main/java/com/perl5/lang/perl/idea/run/GenericPerlRunConfigurationEditor.java +++ b/plugin/core/src/main/java/com/perl5/lang/perl/idea/run/GenericPerlRunConfigurationEditor.java @@ -52,6 +52,8 @@ protected void applyEditorTo(@NotNull Configuration perlRunConfiguration) throws @Override protected void disposeEditor() { super.disposeEditor(); - myArgumentsPanel.disposeUIResources(); + if( myArgumentsPanel != null){ + myArgumentsPanel.disposeUIResources(); + } } }