You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BoxChart rejects valid List.of data with NullPointerException #1032
Describe the bug
BoxChart rejects valid, null-free lists created with List.of(...). Both adding a series and replacing its data throw NullPointerException because the validation calls contains(null), which these lists do not support.
The same exception occurs when calling series.replaceData(List.of(4, 5)) or chart.updateBoxSeries(...) on an existing series.
Expected behavior
Accept the null-free lists while continuing to reject lists that actually contain null elements.
Reproduced on 4.0.5-SNAPSHOT, Java 11. The exception happens before rendering, so no screenshot is needed. Tests cover two- and three-element immutable lists, replacement/update, and rejection of actual null elements.
Activity