IC Day End Fails -- "Internal error. Credit note header without details "

I verified that this credit has no line items which is crazy. Don't know how a user would have done this or if it somehow happened by error of the software.

The weird thing is that in the credit note, under Totals tab, it says number of lines 2