You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
建议先去看文档 快速开始 、常见问题 触发场景描述
版本 2.2.0-beta2
使用tableWrite方式写入,两个table对应两个类DemoData1,DemoData2。DemoData1和DemoData2中有添加样式@headstyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 42)
java.lang.NullPointerException: null
at com.alibaba.excel.util.StyleUtil.buildDefaultCellStyle(StyleUtil.java:27)
at com.alibaba.excel.util.StyleUtil.buildHeadCellStyle(StyleUtil.java:49)
at com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy.setHeadCellStyle(AbstractVerticalCellStyleStrategy.java:45)
at com.alibaba.excel.write.style.AbstractCellStyleStrategy.afterCellDispose(AbstractCellStyleStrategy.java:56)
at com.alibaba.excel.util.WriteHandlerUtils.afterCellDispose(WriteHandlerUtils.java:159)
建议先去看文档
快速开始 、常见问题
触发场景描述
版本 2.2.0-beta2
使用tableWrite方式写入,两个table对应两个类DemoData1,DemoData2。DemoData1和DemoData2中有添加样式@headstyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 42)
java.lang.NullPointerException: null
at com.alibaba.excel.util.StyleUtil.buildDefaultCellStyle(StyleUtil.java:27)
at com.alibaba.excel.util.StyleUtil.buildHeadCellStyle(StyleUtil.java:49)
at com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy.setHeadCellStyle(AbstractVerticalCellStyleStrategy.java:45)
at com.alibaba.excel.write.style.AbstractCellStyleStrategy.afterCellDispose(AbstractCellStyleStrategy.java:56)
at com.alibaba.excel.util.WriteHandlerUtils.afterCellDispose(WriteHandlerUtils.java:159)
触发Bug的代码
提示的异常或者没有达到的效果
The text was updated successfully, but these errors were encountered: