diff --git a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java index 7bca9565d..fe36aff9b 100644 --- a/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java +++ b/engine/src/desktop/com/jme3/system/JmeDesktopSystem.java @@ -103,7 +103,10 @@ public class JmeDesktopSystem extends JmeSystemDelegate { final AppSettings settings = new AppSettings(false); settings.copyFrom(sourceSettings); - String iconPath = sourceSettings.getSettingsDialogImage(); + String iconPath = sourceSettings.getSettingsDialogImage(); + if(iconPath == null){ + iconPath = ""; + } final URL iconUrl = JmeSystem.class.getResource(iconPath.startsWith("/") ? iconPath : "/" + iconPath); if (iconUrl == null) { throw new AssetNotFoundException(sourceSettings.getSettingsDialogImage());