From e3f415d0563c45403179e9669d0e1a57457d0651 Mon Sep 17 00:00:00 2001 From: Alexandr Evstigneev Date: Fri, 6 Oct 2023 15:04:46 +0400 Subject: [PATCH] CAMELCADE-13505 component may not be created #CAMELCADE-13505 Fixed --- .../lang/perl/idea/run/GenericPerlRunConfigurationEditor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); + } } }