Kyle-Falconer / Court-Scheduler

3 stars 2 forks source link

Program crashes if no configuration is set for a conference. #20

Closed Kyle-Falconer closed 10 years ago

Kyle-Falconer commented 10 years ago

If no configuration exists for a conference, then prefDays becomes null in CourtScheduleIO#processRequestConstraints. This null value is then sent into CourtScheduleIO#parseDateConstraints as the request parameter which then throws an exception when String#contains is called on the null value.

As I see it, this situation can be handled in one of two ways: