updating the image extension throws errors until Lucee is restarted

Description

as per LDEV-3029, if you downgrade then upgrade the image extension, it will throw the following error until Lucee is restarted

Initially I tested with image extension version - 1.0.0.36-SNAPSHOT

  • update the version to 1.0.0.35 - release means, works fine.

  • update version to initial version 1.0.0.36-SNAPSHOT means, it throws an error like

lucee.runtime.exp.CasterException: Can't cast Object type [Struct] to a value of type [Image] at lucee.runtime.op.ExceptonImpl.createCasterException(ExceptonImpl.java:108) at org.lucee.extension.image.Image.createImage(Image.java:1655) at org.lucee.extension.image.tag.Image.doStartTag(Image.java:281)

Can't cast Object type [Struct] to a value of type [Image]

lucee.runtime.exp.CasterException: Can't cast Object type [Struct] to a value of type [Image] at lucee.runtime.op.ExceptonImpl.createCasterException(ExceptonImpl.java:108) at org.lucee.extension.image.Image.createImage(Image.java:1655) at org.lucee.extension.image.tag.Image.doStartTag(Image.java:281)

Environment

None

Activity

Show:
Zac Spitzer
February 13, 2021, 2:29 PM

same problem with the latest 2 snapshots 1.0.0.39-SNAPSHOT → 1.0.0.38-SNAPSHOT → 1.0.0.39-SNAPSHOT

lucee.runtime.exp.CasterException: Can't cast Object type [Struct] to a value of type [Image]
  at lucee.runtime.op.ExceptonImpl.createCasterException(ExceptonImpl.java:108)
  at org.lucee.extension.image.Image.createImage(Image.java:1712)
  at org.lucee.extension.image.tag.Image.doStartTag(Image.java:281)

Pothys - MitrahSoft
September 3, 2020, 1:37 PM
Edited

I've confirmed the issue happened on lucee latest version 5.3.8.58-SNAPSHOT also. I've already mentioned the issue in above linked ticket

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Michael Offner

Reporter

Zac Spitzer

Priority

New

Labels