Skip to content

Commit 40dbd9b

Browse files
committed
- fix NPE when querying for annotations history
1 parent 33fcacb commit 40dbd9b

File tree

1 file changed

+1
-0
lines changed
  • bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard

1 file changed

+1
-0
lines changed

bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/whiteboard/WhiteboardRoom.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public void addAnnotation(Annotation annotation) {
9191
}
9292

9393
public List<Annotation> getAnnotations() {
94+
if (activePresentation == null) return new ArrayList<Annotation>();
9495
return activePresentation.getActivePage().getAnnotations();
9596
}
9697

0 commit comments

Comments
 (0)