Ver a proveniência

fix npe in isSageLauncher

tags/v1.2.3
Jonathan Cobb há 4 anos
ascendente
cometimento
f72bc613e4
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      bubble-server/src/main/java/bubble/server/BubbleConfiguration.java

+ 1
- 1
bubble-server/src/main/java/bubble/server/BubbleConfiguration.java Ver ficheiro

@@ -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() {


Carregando…
Cancelar
Guardar