Custom report column error

"I created a custom script report, and it works well, but sometimes the ‘type’ column is null, and the column is aligned to the right.
below is the error

@PRaful_9898 any errors/warnings in log , console or anywhere ?