From c98627929f3d33db5d66ce1f4a96991c2384ce72 Mon Sep 17 00:00:00 2001 From: srosse <stephane.rosse@frentix.com> Date: Mon, 4 Jan 2021 09:04:41 +0100 Subject: [PATCH] OO-5166: permanent meeting doesn't have a start date --- .../modules/bigbluebutton/manager/BigBlueButtonManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/olat/modules/bigbluebutton/manager/BigBlueButtonManagerImpl.java b/src/main/java/org/olat/modules/bigbluebutton/manager/BigBlueButtonManagerImpl.java index f905f476b17..78a635410a1 100644 --- a/src/main/java/org/olat/modules/bigbluebutton/manager/BigBlueButtonManagerImpl.java +++ b/src/main/java/org/olat/modules/bigbluebutton/manager/BigBlueButtonManagerImpl.java @@ -435,7 +435,7 @@ public class BigBlueButtonManagerImpl implements BigBlueButtonManager, Date now = new Date(); Date start = meeting.getStartDate(); Date startWithLeadingTime = meeting.getStartWithLeadTime(); - if(startWithLeadingTime.compareTo(now) <= 0 && start.compareTo(now) >= 0) { + if(startWithLeadingTime != null && startWithLeadingTime.compareTo(now) <= 0 && start.compareTo(now) >= 0) { List<VFSLeaf> slides = getSlides(meeting); if(!slides.isEmpty()) { BigBlueButtonErrors errors = new BigBlueButtonErrors(); -- GitLab