I’ve been using the excellent iText library for creating a PDF file, but after a request from a user I added an extra table but could not work out why it wasn’t working. I even completely reworked the method. I wasted over 3 hours today. After pasting in some example code, and then realised I had added the table to the document, added content to the cells, but hadn’t actually added the cells to the table.
And I didn’t spot it at all, I feel such an idiot. But the good thing to come out of this was I got to review my code thoroughly.