We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
触发场景描述 不设置表头 触发Bug的代码
当不设置表头时,这里的boolean needSetWidth = relativeRowIndex != null && (isHead || relativeRowIndex == 0);判断为true会执行 Integer width = columnWidth(head); 当入参head为null时,执行AbstractWriteHolder类中的 new AbstractHeadColumnWidthStyleStrategy() { protected Integer columnWidth(Head head) { return columnWidthMap.containsKey(head.getColumnIndex()) ? (Integer)columnWidthMap.get(head.getColumnIndex()) / 256 : 20; } 时,会出现空指针异常。
提示的异常或者没有达到的效果
The text was updated successfully, but these errors were encountered:
这个字段可能为空 。2.1.3新增了一个 columnIndex 这个肯定不为空
2.1.3
columnIndex
Sorry, something went wrong.
zhuangjiaju
No branches or pull requests
触发场景描述
不设置表头
触发Bug的代码
提示的异常或者没有达到的效果
The text was updated successfully, but these errors were encountered: