1
Vote

nullreference exception

description

when you call addshedule on the shedule runtime before you ran anny of the start methods you get a nullreference exception since the instance.initialize() is only called in the start functions.

something like

shedulerruntime.addshedule(shed1);
shedulerruntime.addshedule(shed2);
shedulerruntime.addshedule(shed3);
shedulerruntime.addshedule(shed4);
shedulerruntime.start()

will not work

on the other hand .

shedulerruntime.start(shed1);
shedulerruntime.addshedule(shed2);
shedulerruntime.addshedule(shed3);
shedulerruntime.addshedule(shed4);

does.

comments

pettijohn wrote Oct 9, 2014 at 3:52 PM

Thanks for the bug report. If you could fix and submit a pull request I'd be happy to review it. I am not actively working on this project at the moment.