diff --git a/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java b/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java index 07f87b28e..1e858dfc0 100644 --- a/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java +++ b/jadx-gui/src/main/java/jadx/gui/utils/DesktopEntryUtils.java @@ -144,7 +144,7 @@ public class DesktopEntryUtils { public static @Nullable String getLaunchScriptPath() { String launchScriptPath = System.getProperty("jadx.launchScript.path"); - if (launchScriptPath.isEmpty()) { + if (launchScriptPath == null || launchScriptPath.isEmpty()) { LOG.error( "The jadx.launchScript.path property is not set. Please launch JADX with the bundled launch script or set it to the appropriate value yourself."); return null;