Skip to content

Commit 04fdebc

Browse files
authored
dbeaver#35145 Add sanity check (dbeaver#35556)
1 parent 54684b9 commit 04fdebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/org.jkiss.dbeaver.launcher/src/org/jkiss/dbeaver/launcher/DBeaverLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2701,7 +2701,7 @@ private void mergeWithSystemProperties(Properties source, Properties userConfigu
27012701
}
27022702

27032703
private void setupVMProperties() {
2704-
if (Stream.of(vmargs).noneMatch(arg -> arg.startsWith("-D" + PROP_LOG_INCLUDE_COMMAND_LINE))) {
2704+
if (vmargs != null && Stream.of(vmargs).noneMatch(arg -> arg.startsWith("-D" + PROP_LOG_INCLUDE_COMMAND_LINE))) {
27052705
// Disable logging of command line by default if it's not explicitly set
27062706
vmargs = Arrays.copyOf(vmargs, vmargs.length + 1);
27072707
vmargs[vmargs.length - 1] = "-D" + PROP_LOG_INCLUDE_COMMAND_LINE + "=false";

0 commit comments

Comments
 (0)