The problem is this line:
SpecialDay.postUpdate(holidayName)
If I comment this out there is no error. The question is, how is the type convertion correct.
And from here:
I comes only on system startup, if I run the script by other tirgger there is no problem.