regression: class net.glxn.qrgen.javase.QRCode cannot be cast to class net.glxn.qrgen.javase.QRCode

Description

whilst investigating the performance of the qr code generator in preside

https://github.com/lucee/lucee-testlab/commit/456178597ed1d2bf2d9e59b03cbb53d9f9651754

I hit this problem

https://github.com/lucee/lucee-testlab/actions/runs/12339415624/job/34435628271#step:7:450

fails with 6.1.2.11 with both java 21 and 11

only under load, warmup is fine

[java] [script] "}],"ErrorCode":"0","type":"java.lang.NoSuchMethodException","StackTrace":"lucee.runtime.exp.NativeException: No matching method for net.glxn.qrgen.javase.QRCode.to(net.glxn.qrgen.core.image.ImageType) found. there are similar methods with the same name, but diferent arguments: [java] [script] to(net.glxn.qrgen.core.image.ImageType); [java] [script] [java] [script] at lucee.transformer.dynamic.meta.Clazz.getMethodMatch(Clazz.java:229) [java] [script] at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:70) [java] [script] at lucee.runtime.reflection.Reflector.callMethod(Reflector.java:928) [java] [script] at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:840) [java] [script] at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1992) [java] [script] at tests.res.qrcodes.qrcodegenerator_cfc$cf.udfCall(/tests/res/qrcodes/QrCodeGenerator.cfc:20) [java] [script] at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112) [java] [script] at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357) [java] [script] at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224) [java] [script] at lucee.runtime.ComponentImpl._call(ComponentImpl.java:715) [java] [script] at lucee.runtime.ComponentImpl._call(ComponentImpl.java:588) [java] [script] at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2033) [java] [script] at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:796) [java] [script] at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1992) [java] [script] at tests.qrcode_cfm$cf.call(/tests/qrcode.cfm:3)

but I’m also seeing https://luceeserver.atlassian.net/browse/LDEV-5197

in the exception.logs, potentially related?

https://github.com/lucee/lucee-testlab/actions/runs/12339415624/job/34435628271#step:7:545

Environment

None

Activity

Show:

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

Sprint

Affects versions

Created 15 December 2024 at 14:28
Updated 15 December 2024 at 14:28

Flag notifications