CFZIP error "net/lingala/zip4j/io/inputstream/NumberedSplitRandomAccessFile

Description

https://dev.lucee.org/t/cfzip-failure-using-compress-tags-1-0-0-7-with-lucee-5-3-9-133/10126

Code example will have to be later on but was zipping a folder into one file

“ERROR”,“ajp-nio-127.0.0.1-8009-exec-6”,“05/10/2022”,“11:13:46”,"","net/lingala/zip4j/io/inputstream/NumberedSplitRandomAccessFile;lucee.runtime.exp.NativeException: net/lingala/zip4j/io/inputstream/NumberedSplitRandomAccessFile
at org.lucee.extension.zip.tag.Zip.getZip(Zip.java:888)
at org.lucee.extension.zip.tag.Zip.actionZip(Zip.java:602)
at org.lucee.extension.zip.tag.Zip.doEndTag(Zip.java:867)

this is a regression since the Compress extension 1.0.0.2

Environment

None

Activity

Show:

Michael Offner 24 April 2023 at 15:00

can this ticket be closed?

Julian Halliwell 25 November 2022 at 14:50

Possibly. I think it was because at one point we deliberately wanted to avoid the then current Zip extension release version (v1.0.0.1) in favour of a later snapshot (v1.0.0.2) due to a bug in the former. I guess that snapshot had got “stuck” in our system. Extensions are great, but also introduce a fair amount of configuration complexity!

Zac Spitzer 25 November 2022 at 14:05

wonder if that was related to https://luceeserver.atlassian.net/browse/LDEV-4187 ?

Julian Halliwell 25 November 2022 at 14:02

I experienced this error (which is a java.lang.NoClassDefFoundError) after upgrading Lucee to the current version and found that I had an old zip4j jar in my lucee-server/context/lib folder, which was clearly causing a conflict. Removing that and restarting fixed the issue.

Zac Spitzer 13 September 2022 at 07:41

any feedback, no news is good news normally?

Fixed

Details

Assignee

Reporter

Priority

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

Created 12 May 2022 at 04:13
Updated 13 October 2023 at 08:22
Resolved 24 April 2023 at 16:35