-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullPointerException #1527
Comments
@InspireYi 我在这个项目的代码中没有找到SingleRowListener这个类,也没有在你的报错信息中看到NullPointerException。你能否提供有关这个NullPointerException问题的全部信息,例如错误提示或屏幕截图?请以附件的形式上传问题的所有代码和对应的excel,例如错误提示、屏幕截图、Demo、测试用例、整个项目的代码、对应的excel,等等,以帮助你分析此问题。谢谢! |
class SingleRowListener extends AnalysisEventListener {
List list = new ArrayList<>(); |
@Alanscut excel 我没法发上来,不知道是不是excel格式问题,并且不是所有导入都会报错,仅个别 |
<[{"bytes":"UEsDBAoAAAAAAIdO4kAAAAAAAAAAAAAAAAAJAAAAZG9jUHJvcHMvUEsDBBQAAAAIAIdO4kBie5TdOQEAAEMCAAAQAAAAZG9jUHJvcHMvYXBwLnhtbJ2RwUoDMRCG74LvEHJv0xYRKbspgoqXYsHqPWZnu4HdJGTGpfVZvHgQfANPvo2Cj2F2A7oVT95m8v/8880kW2ybmrUQ0Dib8+l4whlY7QpjNzm/WV+MTjhDUrZQtbOQ8x0gX8jDg2wVnIdABpDFCIs5r4j8XAjUFTQKx1G2USldaBTFNmyEK0uj4czp+wYsidlkcixgS2ALKEb+O5CnxHlL/w0tnO748Ha98xFYZqfe10YrilvKpdHBoSuJLZU2lhxW7Hyroc7E0JZdgurOsFImoMxamregyQWG5iEeYsbZnULoBuS8VcEoS3FQZ0tNX9ceKciP1+f3t8fPp5dMRD299eXQOqzNkZz2hljsG7uAxBGFfcK1oRrwqlypQH8AT4fAPUPCTTjXFQClmUO+fuM46Ve2+Pl9+QVQSwMEFAAAAAgAh07iQIRu/vdFAQAAaQIAABEAAABkb2NQcm9wcy9jb3JlLnhtbI2SUU+DMBSF3038D6TPQlu2GNIwFqeZPjhjIkazt6a924hQSNv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ACACHTuJAaR9Jxc8AAAC4AQAAIwAAAAAAAAABACAAAABxIwAAeGwvd29ya3NoZWV0cy9fcmVscy9zaGVldDEueG1sLnJlbHNQSwECFAAUAAAACACHTuJA/3rPTZcCAAB5BgAAGAAAAAAAAAABACAAAAA3CwAAeGwvd29ya3NoZWV0cy9zaGVldDEueG1sUEsFBgAAAAAWABYAWwUAADEmAAAAAA==","contentType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","empty":false,"inputStream":{"channel":{"open":true},"fD":{}},"name":"file","originalFilename":"作业区域配置表.xlsx","size":11170}]> |
我按照你的代码新建了这个SingleRowListener,发现Consumer涉及导包有多个选择的问题,尝试几次后发现仍然编译报错。excel 应该可以上传,评论窗口下方有attach files,点击这个就可以上传excel、代码、图片、压缩包等。你说“不知道是不是excel格式问题,并且不是所有导入都会报错,仅个别”,我如果看到这个问题的全部信息后,就方便debug分析了。还请以附件的形式上传问题的所有代码和对应的excel,例如错误提示、屏幕截图、Demo、测试用例、整个项目的代码、对应的excel,等等,以帮助你分析此问题。谢谢! |
@Alanscut 已将报错demo放至git,地址 |
TestApplication 直接运行main,有报错和不报错的示例 |
StylesTable 240行 |
贴全代码 并上传文件。 |
已经在 |
代码
EasyExcel.read(file.getInputStream(), clazz, new SingleRowListener(rowProcessor)).sheet(0).doRead();
导入excel报错堆栈
at org.apache.poi.xssf.usermodel.XSSFTableStyle.(XSSFTableStyle.java:64)
at org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:247)
at org.apache.poi.xssf.model.StylesTable.(StylesTable.java:141)
at org.apache.poi.xssf.eventusermodel.XSSFReader.getStylesTable(XSSFReader.java:126)
at com.alibaba.excel.analysis.v07.XlsxSaxAnalyser.(XlsxSaxAnalyser.java:81)
at com.alibaba.excel.analysis.ExcelAnalyserImpl.choiceExcelExecutor(ExcelAnalyserImpl.java:99)
at com.alibaba.excel.analysis.ExcelAnalyserImpl.(ExcelAnalyserImpl.java:51)
at com.alibaba.excel.ExcelReader.(ExcelReader.java:145)
at com.alibaba.excel.read.builder.ExcelReaderBuilder.build(ExcelReaderBuilder.java:193)
at com.alibaba.excel.read.builder.ExcelReaderBuilder.sheet(ExcelReaderBuilder.java:229)
at com.alibaba.excel.read.builder.ExcelReaderBuilder.sheet(ExcelReaderBuilder.java:221)
请问这种怎么解决?
The text was updated successfully, but these errors were encountered: