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

Thread gets stuck while converting HTML to PDF with tables #987

Open
bahokubo opened this issue Jan 15, 2025 · 0 comments
Open

Thread gets stuck while converting HTML to PDF with tables #987

bahokubo opened this issue Jan 15, 2025 · 0 comments

Comments

@bahokubo
Copy link

[{:type java.lang.NullPointerException :message "Cannot invoke \"com.openhtmltopdf.layout.FloatManager.removeFloat(com.openhtmltopdf.render.BlockBox)\" because the return value of \"com.openhtmltopdf.render.FloatedBoxData.getManager()\" is null" :at [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 656]}] :trace [[com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 656] [com.openhtmltopdf.render.Box resetChildren "Box.java" 773] [com.openhtmltopdf.render.Box reset "Box.java" 725] [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 641] [com.openhtmltopdf.newtable.TableRowBox reset "TableRowBox.java" 490] [com.openhtmltopdf.render.Box resetChildren "Box.java" 773] [com.openhtmltopdf.render.Box reset "Box.java" 725] [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 641] [com.openhtmltopdf.newtable.TableSectionBox reset "TableSectionBox.java" 185] [com.openhtmltopdf.render.Box resetChildren "Box.java" 773] [com.openhtmltopdf.render.Box reset "Box.java" 725] [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 641] [com.openhtmltopdf.newtable.TableBox reset "TableBox.java" 628] [com.openhtmltopdf.render.Box resetChildren "Box.java" 773] [com.openhtmltopdf.render.Box reset "Box.java" 725] [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 641] [com.openhtmltopdf.render.Box resetChildren "Box.java" 773] [com.openhtmltopdf.render.Box reset "Box.java" 725] [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 641] [com.openhtmltopdf.render.Box resetChildren "Box.java" 773] [com.openhtmltopdf.render.Box reset "Box.java" 725] [com.openhtmltopdf.render.BlockBox reset "BlockBox.java" 641] [com.openhtmltopdf.newtable.TableRowBox reset "TableRowBox.java" 490] [com.openhtmltopdf.layout.BlockBoxing layoutContent "BlockBoxing.java" 120] [com.openhtmltopdf.render.BlockBox layoutChildren "BlockBox.java" 1284] [com.openhtmltopdf.newtable.TableSectionBox layoutChildren "TableSectionBox.java" 137] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1085] [com.openhtmltopdf.newtable.TableSectionBox layout "TableSectionBox.java" 278] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1028] [com.openhtmltopdf.layout.BlockBoxing layoutBlockChild0 "BlockBoxing.java" 388] [com.openhtmltopdf.layout.BlockBoxing layoutBlockChild "BlockBoxing.java" 366] [com.openhtmltopdf.layout.BlockBoxing layoutContent "BlockBoxing.java" 106] [com.openhtmltopdf.render.BlockBox layoutChildren "BlockBox.java" 1284] [com.openhtmltopdf.newtable.TableBox layoutChildren "TableBox.java" 326] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1085] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1028] [com.openhtmltopdf.newtable.TableBox layoutTable "TableBox.java" 291] [com.openhtmltopdf.newtable.TableBox layout "TableBox.java" 244] [com.openhtmltopdf.layout.BlockBoxing layoutBlockChild0 "BlockBoxing.java" 388] [com.openhtmltopdf.layout.BlockBoxing layoutBlockChild "BlockBoxing.java" 366] [com.openhtmltopdf.layout.BlockBoxing layoutContent "BlockBoxing.java" 106] [com.openhtmltopdf.render.BlockBox layoutChildren "BlockBox.java" 1284] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1085] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1028] [com.openhtmltopdf.layout.BlockBoxing layoutBlockChild0 "BlockBoxing.java" 388] [com.openhtmltopdf.layout.BlockBoxing layoutBlockChild "BlockBoxing.java" 366] [com.openhtmltopdf.layout.BlockBoxing layoutContent "BlockBoxing.java" 106] [com.openhtmltopdf.render.BlockBox layoutChildren "BlockBox.java" 1284] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1085] [com.openhtmltopdf.render.BlockBox layout "BlockBox.java" 1028] [com.openhtmltopdf.pdfboxout.PdfBoxRenderer layout "PdfBoxRenderer.java" 353] [com.openhtmltopdf.pdfboxout.PdfRendererBuilder run "PdfRendererBuilder.java" 45]

I'm converting HTML to PDF locally and the data is being rendered correctly, but the error above is occurring in the production environment. The memory and resource usage of the pods are healthy. Do you know what might be happening? This HTML file has embedded CSS, could this be related?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant