The following has evaluated to null or missing: ==> navigationEntry.getName()?split("$")[1] [in template "20095#20121#136279" at line 12, column 28] ---- Tip: It's the final [] step 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: ${navigationEntry.getName()?split("$"... [in template "20095#20121#136279" at line 12, column 26] ----
1<#assign activePage =""/>
2<#list entries as navigationEntry>
3 <#if navigationEntry.isSelected()>
4 <#assign activePage = navigationEntry.getName()?split('$')[0] />
5 </#if>
6</#list>
7<#if entries?has_content>
8 <ul class="navbar-nav ml-auto">
9 <#list entries as navigationEntry>
10 <#if navigationEntry.hasChildren() == false>
11 <li class="nav-item <#if navigationEntry.isSelected()>active</#if>" onclick="trackPageNavigation('${activePage}','${navigationEntry.getName()?split('$')[0]}')">
12 <img src=${navigationEntry.getName()?split("$")[1]} height="24px" width="24px"/>
13 <a data-senna-off class="nav-link" href=<#if navigationEntry.isBrowsable()>${navigationEntry.getURL()}</#if> role="button">${navigationEntry.getName()?split("$")[0]}</a>
14 </li>
15 <#else>
16 <li class="nav-item dropdown" onclick="trackPageNavigation('${activePage}','${navigationEntry.getName()?split('$')[0]}')">
17 <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
18 ${navigationEntry.getName()?split("$")[0]}
19 </a>
20 <div class="dropdown-menu" aria-labelledby="navbarDropdown">
21 <#list navigationEntry.getChildren() as subNavigationEntry>
22 ${subNavigationEntry.getName()}
23 <#if subNavigationEntry.getURL()?index_of("orbit-metaverse") < 0>
24 <a data-senna-off class="dropdown-item <#if subNavigationEntry.isSelected()>active</#if>" href=<#if subNavigationEntry.isBrowsable()>${subNavigationEntry.getURL()}</#if>>${subNavigationEntry.getName()}</a>
25 <#else>
26 <a class="dropdown-item disabled" target="_blank" href="#">${subNavigationEntry.getName()}</a>
27 </#if>
28 </#list>
29 </div>
30 </li>
31 </#if>
32 </#list>
33 </ul>
34 </#if>
The following has evaluated to null or missing: ==> navigationEntry.getName()?split("$")[1] [in template "20095#20121#136291" at line 11, column 28] ---- Tip: It's the final [] step 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: ${navigationEntry.getName()?split("$"... [in template "20095#20121#136291" at line 11, column 26] ----
1<#if entries?has_content>
2<#assign activePage =""/>
3<#list entries as navigationEntry>
4 <#if navigationEntry.isSelected()>
5 <#assign activePage = navigationEntry.getName()?split('$')[0] />
6 </#if>
7</#list>
8 <div class="w-100 d-flex flex-column ml-4">
10 <div class="d-flex flex-row align-items-center mb-4" onclick="trackPageNavigation('${activePage}','${navigationEntry.getName()?split('$')[0]}')">
11 <img src=${navigationEntry.getName()?split("$")[1]} height="24px" width="24px"/>
12 <a data-senna-off class="nav-link" href=<#if navigationEntry.isBrowsable()>${navigationEntry.getURL()}</#if> role="button">${navigationEntry.getName()?split("$")[0]}</a>
13 </div>
14
15
16 </#list>
17 </div>
18
19</#if>