java.lang.NullPointerException at com.baomidou.mybatisplus.extension.service.IService.getById(IService.java:201)
时间: 2023-10-08 13:08:49 浏览: 121
根据提供的引用内容,java.lang.NullPointerException异常发生在com.baomidou.mybatisplus.extension.service.IService.getById(IService.java:201)这个位置。\[1\]根据代码片段,这个异常是由mybatisplus库中的IService.getById方法引起的。具体的异常信息是空指针异常。然而,由于异常被mybatisplus库吞掉了,没有给出对应的错误日志,所以需要进一步排查底层报错的原因。
#### 引用[.reference_title]
- *1* *2* [mybatisplus的executeBatch方法报空指针问题分析](https://blog.csdn.net/qq_36615278/article/details/130740312)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [java.lang.NullPointerException: Inline sharding algorithm expression cannot be null.](https://blog.csdn.net/Dug_Zhang/article/details/119140214)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文