We handle may Excel sheets in our automated systems and we use the great ClosedXml opensource library (https://closedxml.codeplex.com/). However today we stumbled upon a sheet that crashed one of our applications.
InvalidOperationException: Sequence contains no matching elements.
After downloading the ClosedXml source I found out the sheet had a rogue comment. Somehow this comment did not have the shapetype that ClosedXml expected. After removing it everything ran smoothly again.
It seems I am, for the first time, going to make a bugfix contribution to an opensource project….