I get a weird bug on trying to parse an excel file exported from WPS Office (Android).
and the parser went through but the rows are mismatched.
[Item Name, Category, Sales Price, Purchase Price, Opening Stock, Low Stock, Item Code, HS code, Description]
[Coca Cola 2L, Drinks, 120, 80, 25, 5, null, 12893773.0, Best drinks]
[Fanta 1L, Drinks, 100, 70, 30, null, null, null, null]
[Mountain Dew 1L, null, 110, 75, 15, 10, MD1, 939783, null]
[Real Juice 250ml, General, 50, 35, 60, null, null, null, Fruit Juice]
[null, bbb, null, null, null, null, null, 8.9, null]
[null, hhh, null, null, null, null, null, hsgs8282, null]
[null, hhhh, null, null, null, null, null, CHECK, null]
[null, 8.9.8, null, null, null, null, null, null, null]
I get a weird bug on trying to parse an excel file exported from WPS Office (Android).
At first, the error was
Null check operator used on null valuecoming fromLine 610onparser.dart.It was the null assertion operator on
sharedStringvariableI changed it to
and the parser went through but the rows are mismatched.
My excel file is like this
The parser output is (converted to strings)
Notice the last three rows on the file and on the parsed data, Also notice the
CHECKkeyword I added to fix null assertion keyword.The file is
wpsExportedExample.xlsx