Browse Source

fix npe in isSageLauncher

tags/v1.2.3
Jonathan Cobb 4 years ago
parent
commit
f72bc613e4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bubble-server/src/main/java/bubble/server/BubbleConfiguration.java

+ 1
- 1
bubble-server/src/main/java/bubble/server/BubbleConfiguration.java View File

@@ -144,7 +144,7 @@ public class BubbleConfiguration extends PgRestServerConfiguration
}
@JsonIgnore @Transient public boolean isSageLauncher() {
final BubbleNetwork thisNetwork = getThisNetwork();
return (isSelfSage() || !hasSageNode()) && thisNetwork.sage();
return (isSelfSage() || !hasSageNode()) && (thisNetwork == null || thisNetwork.sage());
}

@JsonIgnore @Transient public boolean isSage() {


Loading…
Cancel
Save