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
Read More:
- [Solved] Failed toString() invocation on an object com.alibaba.fastjson.JSONException: write javaBean error
- [Solved] fastjson Error: write javaBean error, fastjson version 1.2.76, class io.undertow.servlet.xx
- Fastjson Error: Error: Cannot create inner bean ‘org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
- [Solved] com.alibaba.druid.filter.FilterManager : load filter error, filter not found : sl4j
- Java database Druid error: com.alibaba.druid.pool.DruidDataSource error
- [Solved] nacos Error: com.alibaba.nacos.api.exception.NacosException: failed to req API:/nacos/v1/ns/instance
- [Solved] write javaBean error, fastjson version 1.2.76, class org.apache.flink.table.data.binary
- [Solved] fragment error: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapplication/com.example.myapplication.MainActivity}…
- springcloud alibaba Integrating nacos reports errors: create config service error!properties=NacosConfigPropertie
- [Solved] Docker-compose Start error: pyrsistent syntax error: invalid syntax
- JAVA: How to Read JSON Format Data (Web Game Development)
- Solution to the problem of using Alibaba gateway but unable to route successfully
- org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deseria
- [Solved] HttpMessageNotReadableException: JSON parse error: Unrecognized field “xxxx“
- JSON parse error: invalid UTF-8 solution series [How to Solve]
- How to Solve SSM JSON Chinese Messy Code Issue
- [Solved] JSON parse error: Cannot deserialize instance of `java.util.ArrayList<..> out of START_OBJECT token;
- Java will convert Excel to list set or JSON, export excel file to local, excel import and export, easyexcel tool class
- [Solved] org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot
- Uncaught SyntaxError: Unexpected token o in JSON at position 1 [How to Solve]