Asset Publisher

An error occurred while processing the template.
The following has evaluated to null or missing:
==> npn  [in template "38852" at line 30, column 15]

----
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: #list 0..npn - 1 as x  [in template "38852" in function "listRandomizer" at line 30, column 5]
----
1<#assign cols=2 
2         entryHelperTemplateKey=38852 > 
3 
4<#include templatesPath + "/" + entryHelperTemplateKey /> 
5 
6 
7<#if entries?has_content> 
8    <div class="card-columns col-count-2"> 
9	    <#list listRandomizer(entries) as entry> 
10            <@cardTemplate entry=entry /> 
11	    </#list> 
12	</div> 
13</#if> 
14 
15<#macro cardTemplate entry> 
16    <@getValues entry=entry; valueMap> 
17        <div class="card <#if entry.getPriority() gte 2>card-highlight </#if><#if valueMap.externalContent!false>card-external </#if>${valueMap.type!""}"> 
18            <a href="${valueMap.link}" class="text-decoration-none" <#if valueMap.externalContent!false>target="_blank"</#if> > 
19                <#if valueMap.videoSrc?? && valueMap.videoSrc!=""> 
20                    <div class="card-img-top p-3"> 
21                        <@getVideoIFrame videolink=valueMap.videoSrc /> 
22                    </div> 
23                <#else> 
24                    <#local imageSrc=valueMap.adaptiveMediaSrc(valueMap, "2-col-image")/> 
25                    <#if imageSrc?length gt 0> 
26                        <img src="${imageSrc}" alt="${valueMap.imgAlt!""}" class="card-img-top p-3"> 
27                    </#if> 
28                </#if> 
29            	<div class="card-body text-center"> 
30                  <div class="text-primary text-uppercase">${valueMap.subHeadline}</div> 
31                  <h3 class="card-title mb-3">${valueMap.headline}</h3> 
32                  <div class="card-text small-body">${valueMap.abstract}</div> 
33              </div> 
34            </a> 
35            <#-- Apphero Bookmark and Rating --> 
36            <#if enableRatings?? && enableRatings?boolean> 
37                <div class="card-body text-center"> 
38                    <div data-ndc="ranking-link" data-type="fav" data-score="10"  
39                        data-category-value="<#list entry.getTags() as t>${t.getName()},</#list>" 
40                        data-page-path="${valueMap.link}" 
41                        data-label="${valueMap.headline}"></div> 
42                </div>   
43            </#if> 
44        </div> 
45    </@getValues> 
46</#macro>