Occasionally the PDF generator will throw a StackOverflow exception.
Aug 08, 2022 11:17:32 AM tech.grasshopper.pdf.PDFCucumberReport collectReportConfiguration INFO: PDF report configuration YAML file not found. Using default settings. java.lang.StackOverflowError at java.util.stream.ReferencePipeline$5$1.accept(ReferencePipeline.java:227) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) at java.util.stream.LongPipeline.sum(LongPipeline.java:419) at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) at tech.grasshopper.pdf.section.details.executable.table.TableColumnOptimizer.resizeColumnWidth(TableColumnOptimizer.java:81) at tech.grasshopper.pdf.section.details.executable.table.TableColumnOptimizer.resizeColumnWidth(TableColumnOptimizer.java:101) at tech.grasshopper.pdf.section.details.executable.table.TableColumnOptimizer.resizeColumnWidth(TableColumnOptimizer.java:101)
This can be reproduced by using the cucumber-pdf-plugin-report project and adding the following step to the datatable-docstring.feature scenario
Occasionally the PDF generator will throw a StackOverflow exception.
Aug 08, 2022 11:17:32 AM tech.grasshopper.pdf.PDFCucumberReport collectReportConfiguration INFO: PDF report configuration YAML file not found. Using default settings. java.lang.StackOverflowError at java.util.stream.ReferencePipeline$5$1.accept(ReferencePipeline.java:227) at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.util.stream.LongPipeline.reduce(LongPipeline.java:461) at java.util.stream.LongPipeline.sum(LongPipeline.java:419) at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593) at tech.grasshopper.pdf.section.details.executable.table.TableColumnOptimizer.resizeColumnWidth(TableColumnOptimizer.java:81) at tech.grasshopper.pdf.section.details.executable.table.TableColumnOptimizer.resizeColumnWidth(TableColumnOptimizer.java:101) at tech.grasshopper.pdf.section.details.executable.table.TableColumnOptimizer.resizeColumnWidth(TableColumnOptimizer.java:101)
This can be reproduced by using the cucumber-pdf-plugin-report project and adding the following step to the datatable-docstring.feature scenario