Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Brad WoodBrad WoodPriority
BlockerLabels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
NoneAffects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Brad Wood
Brad WoodPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Affects versions
Created 17 June 2019 at 16:08
Updated 8 May 2020 at 19:03
Resolved 23 September 2019 at 09:47
This is a regression.
If you try to zip a directory structure that contains an empty folder, an exception is thrown.
Attached
is a real life scenario in a CommandBox task runner that shows the issue though you can construct a much simpler example by just creating an empty folder and trying to zip it.
lucee.runtime.exp.NativeException: input parameters are null, cannot add folder to zip file at net.lingala.zip4j.core.ZipFile.addFolder(ZipFile.java:327) at net.lingala.zip4j.core.ZipFile.addFolder(ZipFile.java:309) at org.lucee.extension.zip.tag.Zip.addDir(Zip.java:673) at org.lucee.extension.zip.tag.Zip.addDir(Zip.java:664) at org.lucee.extension.zip.tag.Zip.addDir(Zip.java:664) at org.lucee.extension.zip.tag.Zip.addDir(Zip.java:664) at org.lucee.extension.zip.tag.Zip.actionZip(Zip.java:649) at org.lucee.extension.zip.tag.Zip.actionZip(Zip.java:571) at org.lucee.extension.zip.tag.Zip.doEndTag(Zip.java:787) at sandbox.lucee_zip192.task_cfc$cf.udfCall(/C_drive/sandbox/lucee zip/task.cfc:17) ... Caused by: net.lingala.zip4j.exception.ZipException: input parameters are null, cannot add folder to zip file