Skip to content

LDEV-4772 - Move len to a new class, so old lex file still get "doubl… #7929

LDEV-4772 - Move len to a new class, so old lex file still get "doubl…

LDEV-4772 - Move len to a new class, so old lex file still get "doubl… #7929

GitHub Actions / Lucee Test Results failed Dec 6, 2024 in 0s

1 errors, 191 skipped, 3 656 pass in 3m 50s

    1 files  +    1  1 464 suites  +1 464   3m 50s ⏱️ + 3m 50s
3 848 tests +3 848  3 656 ✅ +3 656  191 💤 +191  0 ❌ ±0  1 🔥 +1 
3 980 runs  +3 980  3 768 ✅ +3 768  211 💤 +211  0 ❌ ±0  1 🔥 +1 

Results for commit 48b7ec1. ± Comparison against earlier commit 4140821.

Annotations

Check failure on line 0 in test.tickets.LDEV4772

See this annotation in the file changed.

@github-actions github-actions / Lucee Test Results

LDEV-4975 checking if we can load a component from an old lex file (test.tickets.LDEV4772) with error

test/reports/junit-test-results-6.1.2.5-SNAPSHOT.xml [took 1s]
Raw output
Can't cast Component [Spreadsheet] to String

					lucee.runtime.exp.ExpressionException: Can't cast Component [Spreadsheet] to String
	at lucee.runtime.ComponentImpl.castToString(ComponentImpl.java:1349)
	at lucee.runtime.ComponentImpl.castToString(ComponentImpl.java:1327)
	at lucee.runtime.op.Caster.toString(Caster.java:2139)
	at lucee.runtime.op.Caster.castTo(Caster.java:4158)
	at lucee.runtime.interpreter.ref.cast.Casting.getValue(Casting.java:61)
	at lucee.runtime.interpreter.ref.util.RefUtil.getValue(RefUtil.java:37)
	at lucee.runtime.interpreter.ref.func.BIFCall.getValue(BIFCall.java:82)
	at lucee.runtime.type.BIF.call(BIF.java:183)
	at lucee.runtime.type.BIF.call(BIF.java:193)
	at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:790)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:796)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1992)
	at tickets.ldev4772_cfc$cf.udfCall(/test/tickets/LDEV4772.cfc:52)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:214)
	at lucee.runtime.type.EnvUDF.callWithNamedValues(EnvUDF.java:83)
	at lucee.runtime.type.util.StructSupport.callWithNamedValues(StructSupport.java:287)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:875)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2024)
	at system.basespec_cfc$cf.udfCall3(/testbox/system/BaseSpec.cfc:567)
	at system.basespec_cfc$cf.udfCall(/testbox/system/BaseSpec.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:214)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:716)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:588)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2052)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:875)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2024)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:204)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:214)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:800)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:875)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2024)
	at system.runners.bddrunner_cfc$cf.udfCall(/testbox/system/runners/BDDRunner.cfc:75)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:715)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:588)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:796)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1992)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:364)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:214)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:800)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:875)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2024)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:170)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:214)
	at lucee.runtime.type.scope.UndefinedImpl.callWithNamedValues(UndefinedImpl.java:800)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:875)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2024)
	at system.testbox_cfc$cf.udfCall1(/testbox/system/TestBox.cfc:98)
	at system.testbox_cfc$cf.udfCall(/testbox/system/TestBox.cfc)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:214)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:716)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:588)
	at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:2052)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:875)
	at lucee.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:2024)
	at _testrunner_cfc$cf.udfCall(/test/_testRunner.cfc:283)
	at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:112)
	at lucee.runtime.type.UDFImpl._call(UDFImpl.java:357)
	at lucee.runtime.type.UDFImpl.call(UDFImpl.java:224)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:715)
	at lucee.runtime.ComponentImpl._call(ComponentImpl.java:588)
	at lucee.runtime.ComponentImpl.call(ComponentImpl.java:2033)
	at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:796)
	at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1992)
	at run_tests_cfm180$cf.call(/test/run-tests.cfm:348)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1046)
	at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:940)
	at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:921)
	at zli3shic70q.call(Unknown Source)
	at lucee.runtime.compiler.Renderer.tag(Renderer.java:106)
	at lucee.runtime.compiler.Renderer.script(Renderer.java:96)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:66)
	at lucee.runtime.jsr223.ScriptEngineImpl.eval(ScriptEngineImpl.java:221)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:154)
	at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:86)
	at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:54)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
	at org.apache.tools.ant.Task.perform(Task.java:350)
	at org.apache.tools.ant.Target.execute(Target.java:449)
	at org.apache.tools.ant.Target.performTasks(Target.java:470)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
	at org.apache.tools.ant.Main.runBuild(Main.java:818)
	at org.apache.tools.ant.Main.startAnt(Main.java:223)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)