Skip to content
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

线上卡住在org.apache.xmlbeans.impl.store.Locale.count,无法执行 #4085

Open
VVVinco opened this issue Feb 11, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@VVVinco
Copy link

VVVinco commented Feb 11, 2025

触发场景描述

导入excel时,pod的cpu打满,线程似乎一直卡住了,以下是arthas抓取的信息。
导入的excel文件大小约20kb,行数为11行,列数为6行。
重新导入相同的excel时无法复现。

触发Bug的代码

'xxxxxxx" Id=135 cpuUsage=24.77% deltaTime=248ms time=338221ms RUNNABLE
at
org.apache.xmlbeans.impl.store.Locale.count(Locale.java:2062)
at org.apache.xmlbeans.impl.store.Xobj.count elements (obj.java: 2068)
at
org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTColsImpl.sizeofColArray(UnknownSource)
at
org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTColsImpl$1ColList.size(UnknownSource)
at java.util.Abstractlist$Itr.hasNext(AbstractList.java:351)
at
org.apache.poi.xssf.usermodel.helpers.ColumnHelper.columnExists(ColumnHelper.java:312)
at
org.apache.poi.xssf.usermodel.helpers.ColumnHelper.insertcol(ColumnHelper.java:219)
at
org.apache.poi.xssf.usermodel.helpers.ColumnHelper.insertcol(ColumnHelper.java:214)
at
org.apache.poi.xssf.usermodel.helpers.ColumnHelper.getColumn1Based(ColumnHelper.java:198)
at
org.apache.poi.xssf.usermodel.helpers.ColumnHelper.getOrCreateColumnlBased(ColumnHelper.java:285)
at
org.apache.poi.xssf.usermodel.helpers.ColumnHelper.setcolWidth(ColumnHelper.java:271)
at
org.apache.poi.xssf.usermodel.XSSFSheet.setColumnWidth(XSSFSheet.java:2572)
at
org.apache.poi.xssf.usermodel.XSSFSheet.autoSizeColumn(XSSFSheet.java:563)
@VVVinco VVVinco added the bug Something isn't working label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants