fix Integrity constraint violation: 1048 Column 'stderr' cannot be null