Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: BUG Report - Cell with Accounting Format produces crash during String Table creation

$
0
0
My first application based on ClosedXML deals with some old, complicated spreadsheet which can crash Excel itself.

I found a bug in the GetA1Column() method of the "XLCell" class.

The cell in question is formatted as "Accounting" and contains only a hyphen. The exception occurs when the following operation is attempted:
Int32.Parse("-");
See relevant code:

Image

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>