Image extension 1.0.0: does not work with Lucee 5.4

Description

Repro

  1. Install Lucee light 5.4.x with latest stable 1.0.0 series image extension (i.e. 1.0.0.50)

  2. In application, attempt to use <cfimage> tag

Expected: it works
Current: error thrown parsing <cfimage>

lucee.transformer.TransformerException: In the OSGi Bundle with the name [lucee.image.extension] and the version [1.0.0.50] was no class with name [org.lucee.extension.image.tag.Image] found. org.lucee.extension.image.tag.Image.

Caused by:

Unable to resolve lucee.image.extension [57](R 57.0): missing requirement [lucee.image.extension [57](R 57.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=metadata.extractor)(bundle-version>=2.8.1.0002L)) [caused by: Unable to resolve metadata.extractor [59](R 59.0): missing requirement [metadata.extractor [59](R 59.0)] osgi.wiring.package; (osgi.wiring.package=com.adobe.xmp)] Unresolved requirements: [[lucee.image.extension [57](R 57.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=metadata.extractor)(bundle-version>=2.8.1.0002L))

Useful bits of stack trace

lucee.transformer.TransformerException: In the OSGi Bundle with the name [lucee.image.extension] and the version [1.0.0.50] was no class with name [org.lucee.extension.image.tag.Image] found. org.lucee.extension.image.tag.Image at lucee.transformer.bytecode.statement.tag.TagHelper.writeOut(TagHelper.java:158) at lucee.transformer.bytecode.statement.tag.TagBase._writeOut(TagBase.java:137) at lucee.transformer.bytecode.statement.tag.TagOther._writeOut(TagOther.java:44) at lucee.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:81) at lucee.transformer.bytecode.util.ExpressionUtil.writeOut(ExpressionUtil.java:146) at lucee.transformer.bytecode.BodyBase.writeOut(BodyBase.java:191) at lucee.transformer.bytecode.BodyBase.writeOut(BodyBase.java:147) at lucee.transformer.bytecode.BodyBase._writeOut(BodyBase.java:143) at lucee.transformer.bytecode.FlowControlBody._writeOut(FlowControlBody.java:39) at lucee.transformer.bytecode.statement.StatementBase.writeOut(StatementBase.java:81) at lucee.transformer.bytecode.statement.NativeSwitch._writeOut(NativeSwitch.java:74) at lucee.transformer.bytecode.Page.writeOutUdfCallInner(Page.java:868) at lucee.transformer.bytecode.Page.execute(Page.java:495) at lucee.runtime.compiler.CFMLCompilerImpl._compile(CFMLCompilerImpl.java:109) at lucee.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:76) at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:446) at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:413) at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:346) at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:237) at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:1013) at lucee.runtime.component.ComponentLoader._search(ComponentLoader.java:365) at lucee.runtime.component.ComponentLoader._search(ComponentLoader.java:188) at lucee.runtime.component.ComponentLoader.searchComponent(ComponentLoader.java:92) at lucee.runtime.functions.other.GetComponentMetaData.call(GetComponentMetaData.java:51) ...

Environment

java 15

is caused by

Activity

Show:

Zac Spitzer 19 July 2023 at 13:26

Zac Spitzer 19 July 2023 at 13:05

Our Java CI works with java 11, 5.4.1.8 and lucee-light with no other extensions

https://github.com/lucee/extension-image/actions/runs/5599377352/jobs/10240256706#step:9:78

Fixed

Details

Assignee

Reporter

Priority

Labels

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

Affects versions

Created 19 July 2023 at 12:33
Updated 20 May 2024 at 15:07
Resolved 25 July 2023 at 22:09