Project

Profile

Help

Support #4903

closed

Stack overflow caused by recursive calls to DescendantEnumeration.next

Added by Nick Mancuso about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Maven
Sprint/Milestone:
-
Start date:
2021-02-12
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

During checkstyle report generation by maven-checkstyle-plugin, Saxon fails with java.lang.StackOverflowError on deeply concatenated strings. Full checkstyle issue and full report found here: https://github.com/checkstyle/checkstyle/issues/9267

Excerpt from failing CI:

Caused by: java.lang.StackOverflowError13:23
	at com.puppycrawl.tools.checkstyle.xpath.ElementNode.createChildren(ElementNode.java:147)13:23
	at com.puppycrawl.tools.checkstyle.xpath.AbstractNode.getChildren(AbstractNode.java:95)13:23
	at com.puppycrawl.tools.checkstyle.xpath.ElementNode.iterateAxis(ElementNode.java:251)13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1352)13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1315)13:23
 13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1315)13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1315)13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1315)13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1315)13:23
	at net.sf.saxon.tree.util.Navigator$DescendantEnumeration.next(Navigator.java:1315)13:23
...

Please let me know if there are any other details I can provide!

Please register to edit this issue

Also available in: Atom PDF