Open georgeamason opened 1 year ago
Seeing the same thing:
Error Message:
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at ConsoleTables.ConsoleTable.ToStringAlternative()
I'm using Release 2.6.1 and still got the error.
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=ConsoleTables
StackTrace:
at ConsoleTables.ConsoleTable.ToStringAlternative() in /home/runner/work/ConsoleTables/ConsoleTables/src/ConsoleTables/ConsoleTable.cs:line 254
at Program.<>c__DisplayClass0_0.<<
Setting the format inside the constructor of
table.Write
toFormat.Alternative
, causes a null reference exception to be thrown. Happening somewhere inToStringAlternative()
method