Fixed the comment to say that 0 is the issue, not a negative number. nextInt doesn't allow 0 to be passed, and since the filtered stream above yields 0 elements, this seems to cause the crash.
Sommige resultaten zijn verborgen omdat ze mogelijk niet toegankelijk zijn voor u.
Niet-toegankelijke resultaten weergeven