Skip to content

NoSuchElementException #732

Closed
Closed
@fcorneli

Description

@fcorneli

On one of our templates, we could trigger the following exception:

java.util.NoSuchElementException
	at java.util.LinkedList.getLast(LinkedList.java:257)
	at com.openhtmltopdf.layout.LayoutContext.getBlockFormattingContext(LayoutContext.java:257)
	at com.openhtmltopdf.layout.LayoutContext.translate(LayoutContext.java:306)
	at com.openhtmltopdf.newtable.TableBox.calcPageClearance(TableBox.java:562)
	at com.openhtmltopdf.newtable.TableBox.layout(TableBox.java:227)
	at com.openhtmltopdf.layout.Layer.layoutAbsoluteChild(Layer.java:1027)
	at com.openhtmltopdf.layout.Layer.layoutAbsoluteChildren(Layer.java:949)
	at com.openhtmltopdf.layout.Layer.finish(Layer.java:931)
	at com.openhtmltopdf.layout.LayoutContext.popLayer(LayoutContext.java:292)
	at com.openhtmltopdf.render.BlockBox.layout(BlockBox.java:1107)
	at com.openhtmltopdf.render.BlockBox.layout(BlockBox.java:984)
	at com.openhtmltopdf.pdfboxout.PdfBoxRenderer.layout(PdfBoxRenderer.java:347)
	at com.openhtmltopdf.pdfboxout.PdfRendererBuilder.run(PdfRendererBuilder.java:45)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions