This works perfectly if the priobann list is populated:
banns << priobann?.pop()
However, if it's empty, I get the exception: java.util.NoSuchElementException: Cannot pop() an empty List
Shouldn't the question mark after priobann avoid this exception ?