FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> r.fields[1].label [in template "day.html" at line 49, column 53] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${r.fields[1].label} [in template "day.html" at line 49, column 51] ---- Java stack trace (for programmers): ---- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at deployment.tuloteroweb.war//freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) at deployment.tuloteroweb.war//freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:479) at deployment.tuloteroweb.war//freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401) at deployment.tuloteroweb.war//freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370) at deployment.tuloteroweb.war//freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at deployment.tuloteroweb.war//freemarker.core.DollarVariable.accept(DollarVariable.java:63) at deployment.tuloteroweb.war//freemarker.core.Environment.visit(Environment.java:367) at deployment.tuloteroweb.war//freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:321) at deployment.tuloteroweb.war//freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271) at deployment.tuloteroweb.war//freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244) at deployment.tuloteroweb.war//freemarker.core.Environment.visitIteratorBlock(Environment.java:643) at deployment.tuloteroweb.war//freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108) at deployment.tuloteroweb.war//freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at deployment.tuloteroweb.war//freemarker.core.Environment.visit(Environment.java:331) at deployment.tuloteroweb.war//freemarker.core.Environment.visit(Environment.java:337) at deployment.tuloteroweb.war//freemarker.core.Environment.process(Environment.java:310) at deployment.tuloteroweb.war//freemarker.template.Template.process(Template.java:383) at deployment.tuloteroweb.war//com.tulotero.site.commons.TemplateUtils.fillTemplate(TemplateUtils.java:23) at deployment.tuloteroweb.war//com.tulotero.site.generators.AbstractGenerator.generateFileAndAddPageToSitemap(AbstractGenerator.java:155) at deployment.tuloteroweb.war//com.tulotero.site.generators.AbstractGenerator.generateHistoryPage(AbstractGenerator.java:416) at deployment.tuloteroweb.war//com.tulotero.site.generators.AbstractGenerator.lambda$generateHistory$6(AbstractGenerator.java:396) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at deployment.tuloteroweb.war//com.tulotero.site.generators.AbstractGenerator.generateHistory(AbstractGenerator.java:396) at deployment.tuloteroweb.war//com.tulotero.site.generators.EuromillonesGenerator.generate(EuromillonesGenerator.java:47) at deployment.tuloteroweb.war//com.tulotero.site.generators.AbstractGenerator.generateAll(AbstractGenerator.java:108) at jdk.internal.reflect.GeneratedMethodAccessor2302.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
[email protected]//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509) at
[email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79) at
[email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89) at
[email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102) at
[email protected]//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53) at
[email protected]//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:56) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInCallerTx(CMTTxInterceptor.java:201) at
[email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:392) at
[email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:160) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509) at
[email protected]//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:72) at
[email protected]//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.security.IdentityOutflowInterceptor.processInvocation(IdentityOutflowInterceptor.java:73) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.security.SecurityDomainInterceptor.processInvocation(SecurityDomainInterceptor.java:44) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438) at
[email protected]//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:633) at
[email protected]//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53) at
[email protected]//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at
[email protected]//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:191) at
[email protected]//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81) at deployment.tuloteroweb.war//com.tulotero.site.generators.EuromillonesGenerator$$$view467.generateAll(Unknown Source) at jdk.internal.reflect.GeneratedMethodAccessor2302.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
[email protected]//org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:410) at
[email protected]//org.jboss.weld.module.ejb.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:134) at
[email protected]//org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) at
[email protected]//org.jboss.weld.module.ejb.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:68) at
[email protected]//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106) at deployment.tuloteroweb.war//com.tulotero.site.generators.EuromillonesGenerator$Proxy$_$$_Weld$EnterpriseProxy$.generateAll(Unknown Source) at deployment.tuloteroweb.war//com.tulotero.site.GenericListener.processJuego(GenericListener.java:79) at deployment.tuloteroweb.war//com.tulotero.site.GenericListener.listenPortalCalls(GenericListener.java:56) at jdk.internal.reflect.GeneratedMethodAccessor2225.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at
[email protected]//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509) at
[email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79) at
[email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89) at
[email protected]//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102) at
[email protected]//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53) at
[email protected]//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:56) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:254) at
[email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:416) at
[email protected]//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:158) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509) at
[email protected]//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81) at
[email protected]//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.security.IdentityOutflowInterceptor.processInvocation(IdentityOutflowInterceptor.java:73) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.security.SecurityDomainInterceptor.processInvocation(SecurityDomainInterceptor.java:44) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438) at
[email protected]//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:633) at
[email protected]//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53) at
[email protected]//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198) at
[email protected]//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:191) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.LogDiagnosticContextRecoveryInterceptor.processInvocation(LogDiagnosticContextRecoveryInterceptor.java:82) at
[email protected]//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422) at
[email protected]//org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1.lambda$processInvocation$0(AsyncFutureInterceptorFactory.java:92) at
[email protected]//org.wildfly.security.auth.server.SecurityIdentity.runAsFunctionEx(SecurityIdentity.java:421) at
[email protected]//org.wildfly.security.auth.server.Scoped.runAsFunctionEx(Scoped.java:161) at
[email protected]//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:73) at
[email protected]//org.jboss.as.ejb3.component.interceptors.AsyncFutureInterceptorFactory$1$1.runInvocation(AsyncFutureInterceptorFactory.java:102) at
[email protected]//org.jboss.as.ejb3.component.interceptors.AsyncInvocationTask.run(AsyncInvocationTask.java:81) at
[email protected]//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) at
[email protected]//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) at
[email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) at
[email protected]//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) at java.base/java.lang.Thread.run(Thread.java:829) at
[email protected]//org.jboss.threads.JBossThread.run(JBossThread.java:513)