OSGI error with Image Extension 2.0.0.26-RC and build

Description

We are getting the following exception:

[INFO] [java] [script] ERROR: /home/runner/work/Lucee/Lucee/test/functions/filereadbinary.cfc [INFO] [java] [script] In the OSGi Bundle with the name [lucee.image.extension] and the version [2.0.0.26-RC] was no class with name [org.lucee.extension.image.tag.Image] found. org.lucee.extension.image.tag.Image [INFO] [java] [script] at line: 14, column: 13 [INFO] [java] [script] 12: it(title = "Checking with FileReadBinary with local image", body = function( currentSpec ) { [INFO] [java] [script] 13: imgBinary = imageNew("",200,200,"rgb","red"); [INFO] [java] [script] 14: cfimage(action = "write", source = imgBinary, destination = path&"filebinaryImg.jpg", overwrite="yes"); [INFO] [java] [script] 15: expect(isbinary(FileReadBinary(path&'filebinaryImg.jpg'))).tobe("true"); [INFO] [java] [script] 16: }); [INFO] [java] [script] [INFO] [java] [script] [" "," ... omitted verbose (ant / pagecontext / testbox) default stacktraces ... ","Caused by: lucee.commons.lang.ClassException: In the OSGi Bundle with the name [lucee.image.extension] and the version [2.0.0.26-RC] was no class with name [org.lucee.extension.image.tag.Image] found. org.lucee.extension.image.tag.Image [INFO] [java] [script] at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:202) [INFO] [java] [script] at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:163) [INFO] [java] [script] at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:120) [INFO] [java] [script] at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:111) [INFO] [java] [script] at lucee.transformer.bytecode.statement.tag.TagHelper.writeOut(TagHelper.java:153) [INFO] [java] [script] ... 58 more [INFO] [java] [script] Caused by: java.lang.ClassNotFoundException: org.lucee.extension.image.tag.Image [INFO] [java] [script] at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:2102) [INFO] [java] [script] at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:986) [INFO] [java] [script] at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:189) [INFO] [java] [script] ... 62 more [INFO] [java] [script] Caused by: org.osgi.framework.BundleException: Unable to resolve lucee.image.extension [121](R 121.0): missing requirement [lucee.image.extension [121](R 121.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.twelvemonkeys.common-io)(bundle-version>=3.9.3)) Unresolved requirements: [[lucee.image.extension [121](R 121.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.twelvemonkeys.common-io)(bundle-version>=3.9.3))] [INFO] [java] [script] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) [INFO] [java] [script] at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:2095) [INFO] [java] [script] ... 64 more

Environment

None

Activity

Pothys - MitrahSoft 
6 December 2023 at 10:14

I checked this issue with lucee latest version 6.0.1.38-SNAPSHOT . https://github.com/lucee/Lucee/commit/79f3f9bfdb33ba7694acabc688919dd663021752 This commit seems to have fixed the issue. So I close the ticket.

Unresolved

Details

Assignee

Reporter

Priority

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 5 December 2023 at 15:28
Updated 6 December 2023 at 10:14