Actions
Bug #4382
closed![Author: David Cramer](https://www.gravatar.com/avatar/8512aaea36b438e0b455cfb9bfe3e859?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
NullPointerException when running collection() with recurse=yes over a directory tree containing a large number of files
Start date:
2019-11-14
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:
Description
See readme in attached zip file for details and a set of files that should reproduce the error as well as details about the environment.
dcramer@anatine ~/Desktop/SaxonCollectionOpenFilesBug (master %)
$ java -jar ~/Downloads/SaxonEE9-9-1-5J/saxon9ee.jar -repeat:10 -xsl:copy-images.xsl -o:out.xml document/document.xml
Error code: saxon:XXXX9999
Reason: java.lang.NullPointerException(null)
Error in xsl:copy-of/@select on line 54 column 63 of copy-images.xsl:
SXRD0004: Unable to write to output destination:
/Users/dcramer/Desktop/SaxonCollectionOpenFilesBug/zipmanifest.xml (Too many open files)
In template rule with match="/" on line 50 of copy-images.xsl
Unable to write to output destination
Files
Please register to edit this issue
Actions