From 497b210f7ce68c76e92d6d783cf55ec63e47b213 Mon Sep 17 00:00:00 2001 From: irengrig Date: Mon, 7 Mar 2016 12:43:20 +0100 Subject: [PATCH] WEB-20643 Remote interpreter: NullPointerException on applying empty Vagrant configuration --- .../src/com/intellij/remote/VagrantBasedCredentialsHolder.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/platform-impl/src/com/intellij/remote/VagrantBasedCredentialsHolder.java b/platform/platform-impl/src/com/intellij/remote/VagrantBasedCredentialsHolder.java index fd05645a94d0..1eabdc20b34c 100644 --- a/platform/platform-impl/src/com/intellij/remote/VagrantBasedCredentialsHolder.java +++ b/platform/platform-impl/src/com/intellij/remote/VagrantBasedCredentialsHolder.java @@ -27,10 +27,12 @@ public class VagrantBasedCredentialsHolder { private static final String VAGRANT_FOLDER = "VAGRANT_FOLDER"; private static final String MACHINE_NAME = "MACHINE_NAME"; + @NotNull private String myVagrantFolder; private String myMachineName; public VagrantBasedCredentialsHolder() { + myVagrantFolder = ""; } @Deprecated