When I was working on a company project today, I came across this error message: com.alibaba.fastjson.jsonexception: syntax error, POS 1, JSON
later, I located the key code line where the error was reported. The
location object is not empty, and data.getstring (key)
is also valuable, but the value is null after two consecutive gets in the sheet, I can’t understand it.
Finally, it is found that this cell does not exist, so it is null after getting the row and column. After null, it continues to set and reports a null pointer error