Asset Publisher

An error occurred while processing the template.
The following has evaluated to null or missing:
==> saxReaderUtil.read(journalArticle.getTitle())  [in template "10154#10194#56198533" at line 62, column 29]

----
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: #assign document = saxReaderUtil.read...  [in template "10154#10194#56198533" at line 62, column 9]
----
1<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.1/css/font-awesome.min.css" /> 
2<style> 
3.event_details {display: table;} 
4</style> 
5 
6<div class="ifac"> 
7	<main id="main-content"> 
8		<div id="events-filtered"> 
9			<div> 
10				<div class="content-head"> 
11					<div class="content-head__inner"> 
12						<div class="content-head__header"> 
13							<h1>All Events</h1> 
14							 <!--<h3>To submit payment for one or more events listed, please click <a href="/web/vu-alumni-foundation-site/payment-form" target="_blank">HERE</a></h3> --> 
15						</div><!----><!----> 
16					</div> 
17				</div> 
18				<div class="content-wrapper"> 
19					<div class="events-listing"> 
20						<!----> 
21						<div class="events-listing__inner"> 
22						 
23					<#if entries?has_content> 
24                        <#list entries as curEntry> 
25    				<#assign journalArticle = curEntry.getAssetRenderer().getArticle() /> 
26    		<#-- 
27                    <#assign detailUrl = "/web" + layout.getGroup().getFriendlyURL() + "/student-story/" + journalArticle.getUrlTitle() /> 
28    		-->		 
29 
30                    <#assign detailUrl = "/web" + layout.getGroup().getFriendlyURL() + "/event?id=" + journalArticle.getResourcePrimKey() /> 
31 
32     
33    				<#assign document = saxReaderUtil.read(journalArticle.getContent()) /> 
34    				<#assign rootElement = document.getRootElement() /> 
35    	 
36    				<#list rootElement.elements() as dynamicElement> 
37    				    <#if "Date" == dynamicElement.attributeValue("name")> 
38    		                <#assign eventDate = dynamicElement.element("dynamic-content").getData() /> 
39    		                <#assign eventDateObj = eventDate?date("yyyy-MM-dd") /> 
40    		                <#assign eventMonth = eventDateObj?string.MM /> 
41    		                <#assign eventDay = eventDateObj?string.dd /> 
42    		                <#assign eventYear = eventDateObj?string.yyyy /> 
43    	                </#if> 
44    	                <#if "StartTime" == dynamicElement.attributeValue("name")> 
45    		                <#assign eventStartTime = dynamicElement.element("dynamic-content").getText() /> 
46    	                </#if> 
47    	                <#if "EndTime" == dynamicElement.attributeValue("name")> 
48    		                <#assign eventEndTime = dynamicElement.element("dynamic-content").getText() /> 
49    	                </#if> 
50    	                <#if "Location" == dynamicElement.attributeValue("name")> 
51    		                <#assign eventLocation = dynamicElement.element("dynamic-content").getText() /> 
52    	                </#if> 
53    	                <#if "Body" == dynamicElement.attributeValue("name")> 
54    		                <#assign eventBody = dynamicElement.element("dynamic-content").getText() /> 
55    	                </#if> 
56    	                <#if "Image" == dynamicElement.attributeValue("name")> 
57    	    	            <#assign eventImage = dynamicElement.element("dynamic-content").getText() /> 
58    	                </#if> 
59    				</#list> 
60    				 
61    <#-- Get title --> 
62	<#assign document = saxReaderUtil.read(journalArticle.getTitle()) /> 
63	<#assign rootElement = document.getRootElement() /> 
64	<#assign eventTitle = rootElement.element("Title").getText() /> 
65 
66							<ol class="events-listing__list"> 
67								<li class="events-listing__item"> 
68									<div class="event event--listing"> 
69										<div class="event__eventblock"> 
70											<div class="event__daybg"> 
71												<#--<span>${eventDay}</span>--> 
72											</div> 
73											<div class="event__pubdate"> 
74											<div class="event__month"> 
75													<#--<p>${eventMonth}</p>--> 
76												</div> 
77												<div class="event__date"> 
78													<p>${eventMonth}/${eventDay}/${eventYear}</p> 
79												</div> 
80											</div> 
81										</div> 
82										<div style="display: table;" class="event__details"> 
83											<div class="event__title"> 
84												<h2><a class="cta--link" href="${detailUrl}">${eventTitle}</a></h2> 
85											</div> 
86											<div class="event__time"> 
87												<p>${eventStartTime}<span>-${eventEndTime}</span></p> 
88											</div> 
89											<div class="event__location"> 
90												<p>${eventLocation}</p> 
91											</div> 
92										</div> 
93									</div> 
94								</li> 
95								</#list> 
96							</ol> 
97							</#if> 
98						</div> 
99					</div> 
100				</div> 
101			</div> 
102		</div> 
103	</main> 
104</div>