Error when building HTML5 - com.samskivert.mustache.MustacheException$Context: No method or field with name 'env' on line 1

Hi - started getting this error today when building for HTML5. We’re using 1.9.0 (hard to change right now as we are about to soft launch and the newer versions have spine libraries which are not compatible with our animations).

Do we need to change some settings somewhere to stop this happening? I am guessing it’s something to do with the build server/ Xcode changes but am not familiar enough with the build process to know what to do.

Thanks!

com.samskivert.mustache.MustacheException$Context: No method or field with name ‘env’ on line 1
at com.samskivert.mustache.Template.checkForMissing(Template.java:370)
at com.samskivert.mustache.Template.getValue(Template.java:273)
at com.samskivert.mustache.Template.getCompoundValue(Template.java:286)
at com.samskivert.mustache.Template.getValue(Template.java:270)
at com.samskivert.mustache.Template.getValueOrDefault(Template.java:318)
at com.samskivert.mustache.Mustache$VariableSegment.execute(Mustache.java:1313)
at com.samskivert.mustache.Template.executeSegs(Template.java:196)
at com.samskivert.mustache.Template.execute(Template.java:139)
at com.samskivert.mustache.Template.execute(Template.java:130)
at com.defold.extender.TemplateExecutor.execute(TemplateExecutor.java:18)
at com.defold.extender.Extender.(Extender.java:331)
at com.defold.extender.Extender$Builder.build(Extender.java:180)
at com.defold.extender.AsyncBuilder.asyncBuildEngine(AsyncBuilder.java:106)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:359)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:114)
at org.springframework.scheduling.concurrent.DelegatingErrorHandlingCallable.call(DelegatingErrorHandlingCallable.java:52)
at io.micrometer.context.ContextSnapshot.lambda$wrap$1(ContextSnapshot.java:106)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)

Hello!
It was misconfiguration during last deployment.
Now it fixed.
Sorry for inconvenience.

Let me know if issue is still persist.

3 Likes

Thank you, I can confirm it works fine again now!

1 Like