null Genelec delivers fat sound at Ciccio’s, Stockholm

An error occurred while processing the template.
Java method "com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl.getMarkdown(String, int)" threw an exception when invoked on com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl object "com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl@20c9bca6"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${cmsContentFormatterService.getMarkd...  [in template "20116#20152#352205" at line 109, column 25]
----
1<#-- Include common helpers --> 
2<#include "${templatesPath}/379393" /> 
3 
4<#-- Article title --> 
5<#assign title = .vars['reserved-article-title'].data> 
6 
7<#-- Get and format article publish date --> 
8<#assign displayDate = .vars['reserved-article-display-date'].data> 
9 
10<#-- Save the original page locale for later --> 
11<#assign originalLocale = locale> 
12 
13<#-- Set the page locale to the portals default locale --> 
14<#setting locale = localeUtil.getDefault()> 
15 
16<#-- Parse the date to a date object --> 
17<#assign displayDate = displayDate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
18 
19<#assign cmsContentService= serviceLocator.findService("com.ch5finland.genelec.cms.service.CMSContentService") > 
20<#assign profileService = serviceLocator.findService("com.ch5finland.genelec.cms.service.ProfileService") > 
21 
22<#assign profile = profileService.getProfile(request) > 
23<#assign journalArticleId = .vars['reserved-article-id'].data> 
24<#assign cmsEntity = cmsContentService.getEntityByArticleId(profile, groupId, journalArticleId) > 
25 
26<#assign cmsContentFormatterService= serviceLocator.findService("com.ch5finland.genelec.cms.service.CMSContentFormatterService") > 
27 
28<#--  Complete URL  --> 
29<#assign portalUrl = themeDisplay.getPortalURL() > 
30<#assign urlTitle = themeDisplay.getURLCurrent() > 
31<#assign currentURL = portalUrl + urlTitle > 
32 
33<#assign facebook_share_url = themeDisplay.getThemeSetting("facebook_share_url") > 
34<#assign linkedin_share_url = themeDisplay.getThemeSetting("linkedin_share_url") > 
35<#assign twitter_share_url = themeDisplay.getThemeSetting("twitter_share_url") > 
36 
37<@appendHTMLMetas currentURL cmsEntity "article" /> 
38 
39<div class="article-page"> 
40 
41    <div class="row"> 
42        <div class="col-12"> 
43            <h1 class="article-heading">${title}</h1> 
44            <div class="heading-date h3 text-bold"> 
45                ${displayDate?string["dd.MM.yyyy"]} 
46            </div> 
47 
48            <div class="article-share-buttons"> 
49 
50                <a href="${facebook_share_url}${currentURL}" target="_blank"> 
51                    <span class="fa-stack fa-md">  
52                        <i class="fas fa-circle fa-stack-2x icon-dark"></i>  
53                        <i class="fab fa-facebook-f fa-stack-1x fa-inverse"></i>  
54                    </span> 
55                </a> 
56 
57                <a href="${linkedin_share_url}${currentURL}" target="_blank"> 
58                    <span class="fa-stack fa-md">  
59                        <i class="fas fa-circle fa-stack-2x icon-dark"></i>  
60                        <i class="fab fa-linkedin-in fa-stack-1x fa-inverse"></i>  
61                    </span> 
62                </a> 
63 
64                <a href="mailto:?subject=${title}&amp;body=${title} ${currentURL}" 
65   title="${title}" target="_blank"> 
66                    <span class="fa-stack fa-md">  
67                        <i class="fas fa-circle fa-stack-2x icon-dark"></i>  
68                        <i class="fas fa-envelope fa-stack-1x fa-inverse"></i>  
69                    </span> 
70                </a> 
71                 
72                <a href="${twitter_share_url}${currentURL}" target="_blank"> 
73                    <span class="fa-stack fa-md">  
74                        <i class="fas fa-circle fa-stack-2x icon-dark"></i>  
75                        <i class="fab fa-twitter fa-stack-1x fa-inverse"></i>  
76                    </span> 
77                </a> 
78 
79            </div> 
80 
81        </div> 
82    </div> 
83 
84    <div class="row"> 
85        <div class="col-12"> 
86            <#if cmsEntity.getLocalizedField(profile, "/entity/assets/mainImage")?has_content> 
87                <#assign mainImg = cmsEntity.getLocalizedField(profile, "/entity/assets/mainImage")> 
88                <#assign mainImage = mainImg.url > 
89 
90            <#else> 
91                <#assign mainImage = ""> 
92            </#if> 
93 
94            <#if cmsEntity.getLocalizedField(profile, "/entity/assets/mainImage/description")?has_content> 
95                <#assign mainImageDescription = cmsEntity.getLocalizedField(profile, "/entity/assets/mainImage/description")> 
96            <#else> 
97                <#assign mainImageDescription = ""> 
98            </#if> 
99 
100            <img class="article-image" src="${mainImage}?w=1250&fm=jpg" alt="${mainImageDescription}"> 
101        </div> 
102    </div> 
103     
104    <div class="article-section mt-4"> 
105        <div class="row"> 
106            <div class="col-xs-12 col-lg-8 col-xl-9"> 
107                <div> 
108                    <#if  cmsEntity.getField(profile, "/entity/fields/content")?has_content> 
109                        ${cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/content"), 930)} 
110                    </#if> 
111                </div> 
112                <@imageGallery cmsEntity /> 
113            </div> 
114            <div class="col-xs-12 col-lg-4 col-xl-3 mt-5 mt-lg-0"> 
115 
116                <#if cmsEntity.getField(profile, "/entity/relationships/documents")?has_content> 
117                    <#assign documents = cmsEntity.getField(profile, "/entity/relationships/documents")> 
118 
119                    <#list documents.iterator() as document> 
120                        <#if !document.assets.isNull("file")> 
121                            <#if document?is_first> 
122                                <h3>Documents</h3> 
123                                <ul class="list-unstyled text-bold"> 
124                            </#if> 
125                                    <li> 
126                                        <a href="${document.assets.file.url}" target="_blank"> 
127                                            ${localizeField(document.assets.file.title, profile.getCMSLangCode())} 
128                                        </a> 
129                                    </li> 
130                        </#if> 
131                    </#list> 
132                         
133                    </ul> 
134                </#if> 
135 
136                <@imageList cmsEntity /> 
137 
138            </div> 
139        </div> 
140    </div>     
141</div> 
142 
143 
144 
145 
146 
147<style> 
148 
149    .heading-date { 
150        padding-left: 23px; 
151
152 
153</style>