Weighted Interval Schedule throws exception