Debug procedure can be:
Remove the after startup from the model settings and start it manually by creating an action button on an administration form. In some cases you get more information from the error if you do it this way.
Fix the problem and put it again in place.