When an Assignments model answer does not have a selection for "Show to students", it causes an NPE:
caused by: java.lang.NullPointerException
because AssignmentSupplementItemServiceImpl.java has:
which is an autoboxing error (assigning Integer null to int).
The column definition for this field allows NULL values:
This should be fixed:
- In the UI, to require a selection for "show to students"
- In the schema definition, to disallow null values
- In the code, to avoid this common autoboxing error