The error is because you don't have a skill tree defined for actor ID 3 (more specifically, SKILLS_ROWS has no entry at index 3 within the array). I take it he's in your "party reserve" since you do have a Party Switcher script. Not sure why this line gets called though.