diff --git a/app/src/main/java/info/nightscout/utils/BolusWizard.java b/app/src/main/java/info/nightscout/utils/BolusWizard.java index 7d7ff128af..cfdd670f51 100644 --- a/app/src/main/java/info/nightscout/utils/BolusWizard.java +++ b/app/src/main/java/info/nightscout/utils/BolusWizard.java @@ -157,7 +157,7 @@ public class BolusWizard { sb.append("IncludeBasalIOB=").append(includeBasalIOB).append("; "); sb.append("Superbolus=").append(superBolus).append("; "); sb.append("Trend=").append(trend).append("; "); - sb.append("Profile=").append(specificProfile != null ? specificProfile.getData().toString() : "null").append("; "); + sb.append("Profile=").append(specificProfile != null && specificProfile.getData() != null ? specificProfile.getData().toString() : "null").append("; "); sb.append("\n"); sb.append("targetBGLow=").append(targetBGLow).append("; ");