-
Notifications
You must be signed in to change notification settings - Fork 184
Open
Description
Adding an event in the MonthSheetView through the context menu with click behavior is not set to PERFORM_SELECTION (the default) throws a NullPointerException.
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: date
at java.base/java.util.Objects.requireNonNull(Objects.java:246)
at java.base/java.time.LocalDateTime.of(LocalDateTime.java:376)
at java.base/java.time.ZonedDateTime.of(ZonedDateTime.java:267)
at com.calendarfx.view.MonthSheetView.lambda$createContextMenu$3(MonthSheetView.java:142)
Simple workaround for now is this:
calendarView.getYearPage().getMonthSheetView().setClickBehaviour(ClickBehaviour.PERFORM_SELECTION);Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels