NPE in org.sakaiproject.tool.assessment.services.assessment.AssessmentService.isExportable

Description

Viewed in Sakai 11:

is duplicated by

Activity

Show:

Matthew Jones September 12, 2016 at 12:46 PM

Yeah, it wouldn't make sense that section would be null to me and it was added not as a fix but in as a feature. So just checking that probably is unnecessary on the other places, but can't really hurt. Really hate nulls!

Matthew Jones September 12, 2016 at 12:40 PM
Edited

Other code in Samigo protects section too

The cast could pass the NPE fine. I don't know 100% if nulls could get into the section array to being with or not? Probably not but don't see the code that generates this.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created September 7, 2016 at 10:35 AM
Updated April 17, 2018 at 8:39 AM
Resolved September 7, 2016 at 11:14 AM