An error occurred while processing the template.
The following has evaluated to null or missing:
==> journalArticle.getContent  [in template "10108#260730#15755765" at line 27, column 41]

----
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: document = saxReaderUtil.read(journal...  [in template "10108#260730#15755765" at line 27, column 11]
----
1<#if entries?has_content> 
2<#assign abstractLength = 200 /> 
3<#list portletPreferences?keys as preference> 
4	<#if portletPreferences[preference] ??> 
5		<#assign mapValues = portletPreferences[preference] /> 
6		<#list mapValues as value > 
7			<#if "abstractLength" =  preference> 
8			    <#assign abstractLength = value /> 
9			</#if> 
10			<#if "portletSetupTitle_en_US" =  preference> 
11				<#assign title = value /> 
12			</#if> 
13		</#list> 
14	</#if> 
15</#list> 
16<#if title?has_content> 
17    <h2>${title}</h2> 
18</#if> 
19 <div class="asset-abstract"> 
20   <#list entries as curEntry> 
21    <#assign 
22          assetRenderer = curEntry.getAssetRenderer() 
23          journalArticle = assetRenderer.getAssetObject() 
24          entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
25          viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry, true) 
26          
27          document = saxReaderUtil.read(journalArticle.getContent()) 
28          rootElement = document.getRootElement() 
29      /> 
30       <#assign displayDate = journalArticle. getModifiedDate() /> 
31       <#assign content = journalArticle.getContent() /> 
32       <#assign dateTimeFormat = "dd.MM.yy"/> 
33       <#assign summary = assetRenderer.getSummary()/> 
34       <#if !summary?has_content> 
35           <#list rootElement.elements() as dynamicElement> 
36                <#if "content" == dynamicElement.attributeValue("name")> 
37                  <#assign summary = dynamicElement.element("dynamic-content").getText()/> 
38                </#if> 
39            </#list> 
40       </#if> 
41       	<div class="pull-right"> 
42			<@getEditIcon /> 
43		</div> 
44         <div class="content-item"> 
45			<div class="component-title"> 
46				<a href="${viewURL}">${entryTitle}</a>  
47			</div> 
48			<div class="asset-summary"> 
49				${summary?truncate(abstractLength?number,'...')} 
50			</div> 
51			<div class="button-section"> 
52				<a href="${viewURL}"  class="readmore">  
53					<svg height="35" width="100"> 
54					<g> 
55                <polygon id="polygonlink" points="5,2 95,0 98,30 0,25" style="fill:#02a7ab;" value="Change Dimensions"></polygon> 
56                <text x="18" y="18" font-family="Verdana" font-size="12px" fill="white">Read More</text> 
57					</g> 
58					</svg> 
59				</a> 
60			</div> 
61			</div> 
62	</#list> 
63  </div> 
64  </#if> 
65  <#macro getEditIcon> 
66  <#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
67		<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("NORMAL"), themeDisplay.getURLCurrent())!"" /> 
68		<#if validator.isNotNull(editPortletURL)> 
69			<#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) /> 
70			<@liferay_ui["icon"] 
71				cssClass="icon-monospaced visible-interaction" 
72				icon="pencil" 
73				markupView="lexicon" 
74				message=title 
75				url=editPortletURL.toString() 
76			/> 
77		</#if> 
78	</#if> 
79</#macro> 
 

Latest News

The RSPCA today launches its new strategy - which will have a huge and exciting impact on animal welfare in Wales; as the charity pledges to ...