An error occurred while processing the template.
The following has evaluated to null or missing:
==> themeDisplay.getRequest().getParameter('articleId')  [in template "20116#20152#283049" at line 53, column 22]

----
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 articleId = themeDisplay.getR...  [in template "20116#20152#283049" at line 53, column 1]
----
1<#-- 
2Name: Provider News Article 
3Type: Web Content Template 
4Provides the template for a Provider News Article structure. Intended 
5to be used in conjunction with the Provider News & Updates Application 
6Display Template in an Asset Publisher. 
7--> 
8 
9<style> 
10    .breadcrumb { 
11        font-size: .9375rem !important; 
12
13    .breadcrumb-icon::before{ 
14        content: '\203A\00a0'; 
15        padding: 0 0 0 5px; 
16        color: #555; 
17
18    .breadcrumb > span:first-of-type .breadcrumb-icon { 
19        display: none; 
20
21    .pageTools { 
22        background-color: #f5f5f5; 
23        padding: 0.625rem 0; 
24
25    .breadcrumb > span:last-child a { 
26        color: inherit !important; 
27
28    @media (max-width: 48em) { 
29        .breadcrumb-container { 
30            display:none; 
31        }  
32    }     
33    @media (min-width: 48em) { 
34        .breadcrumb-container { 
35            padding: .5rem 3rem !important; 
36        }  
37    }     
38    @media (min-width: 75em) { 
39        .breadcrumb-container { 
40            padding: .5rem 7rem !important; 
41        }  
42
43     
44</style> 
45 
46<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
47<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
48<#assign layout = themeDisplay['plid'] /> 
49<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
50<#assign layoutObject = layoutService.getLayout(layout?number) /> 
51<#assign page_group = layoutObject.getGroup() /> 
52<#assign site_title = page_group.getDescriptiveName() /> 
53<#assign articleId = themeDisplay.getRequest().getParameter('articleId')> 
54<#assign classPK = themeDisplay.getRequest().getParameter('classPK')> 
55<#assign JournalArticleResource = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")> 
56<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
57<#assign SAXReaderUtil = serviceLocator.findService("com.liferay.portal.kernel.xml.SAXReaderUtil")> 
58<#assign journalArticleResource = JournalArticleResource.getJournalArticleResource(getterUtil.getLong(classPK))> 
59<#assign journalArticle = JournalArticleLocalService.getLatestArticle(journalArticleResource.getResourcePrimKey())> 
60<#assign document = SAXReaderUtil.read(journalArticle.getContent())> 
61<#assign Headline = document.selectSingleNode("/root/dynamic-element[@name='Headline']/dynamic-content").getStringValue()?trim> 
62<#assign Audience = document.selectSingleNode("/root/dynamic-element[@name='Audience']/dynamic-content").getStringValue()> 
63<#assign Dateline = document.selectSingleNode("/root/dynamic-element[@name='Dateline']/dynamic-content").getStringValue()> 
64<#assign Body = document.selectSingleNode("/root/dynamic-element[@name='Body']/dynamic-content").getStringValue()> 
65<div class="pageTools body hidden-print breadcrumb-container"> 
66	<div class="container-block"> 
67	<div role="navigation" aria-label="breadcrumb" class="breadcrumb breadcrumbDisplay"> 
68		<#if site_title == "Excellus Providers"> 
69			<span> 
70			<span class="breadcrumb-icon" aria-hidden="true"></span> <a href="https://provider.excellusbcbs.com">Provider</a></span> 
71		<#else> 
72			<span> 
73			<soan class="breadcrumb-icon" aria-hidden="true"></span> <a href="https://provider.univerahealthcare.com">Provider</a></span> 
74		</#if> 
75		<span><span class="breadcrumb-icon" aria-hidden="true"></span> <a href="/resources/news">News and Updates</a></span> 
76		<span><span class="breadcrumb-icon" aria-hidden="true"></span> <a>${Headline}</a></span> 
77	</div> 
78	</div> 
79</div> 
80 
81<#if site_title == "Excellus Providers"> 
82	<script> 
83		var headline = "${Headline}"; 
84		document.title = headline + ' | Provider | Excellus BlueCross BlueShield'; 
85	</script> 
86<#else> 
87	<script> 
88		var headline = "${Headline}"; 
89		document.title = headline + ' | Provider | Univera Healthcare'; 
90	</script> 
91</#if> 
92 
93<div class="container-fluid body"> 
94	<div class="row"> 
95	   <div class="col-sm-9 provider-news__article"> 
96		  <a class="provider-news__article__back-link" href="/resources/news"> 
97		  <i class="fa fa-chevron-left"></i>Return to Provider News 
98		  </a> 
99		  <h1 class="provider-news__article__title" id="${Headline}">${Headline}</h1> 
100		  <#if validator.isNotNull(Dateline)> 
101		  <#assign DateObj = dateUtil.parseDate("yyyy-MM-dd", Dateline, locale)> 
102		  <span class="provider-news__article__dateline text-muted"> 
103		  Issued ${dateUtil.getDate(DateObj, "MMMM d, yyyy", locale)} 
104		  </span> 
105		  </#if> 
106		  <div class="provider-news__article__body"> 
107			 <#if Audience?contains("*") == false> 
108				<p class="text-center"><strong>Audience: ${Audience}</strong></p> 
109			 </#if> 
110			 ${Body} 
111			 <#if site_title == "Excellus Providers"> 
112			    <a class="email-icon" href="mailto:?subject=Read%20%22${Headline}%22%20from Excellus%20BCBS&amp;body=I%20thought%20you%20might%20be%20interested%20in%20this%20article%20from%20Excellus%20BCBS%3A%0Ahttps://provider.excellusbcbs.com/resources/news/article?articleId=${articleId}%26classPK=${classPK}">Email this article</a> 
113			 <#else> 
114			    <a class="email-icon" href="mailto:?subject=Read%20%22${Headline}%22%20from%20Univera%20Healthcare&amp;body=I%20thought%20you%20might%20be%20interested%20in%20this%20article%20from%20Univera%20Healthcare%3A%0Ahttps://provider.univerahealthcare.com/resources/news/article?articleId=${articleId}%26classPK=${classPK}">Email this article</a> 
115			 </#if> 
116		  </div> 
117	   </div> 
118	   <div class="col-sm-3  provider-news" > 
119		  <#-- 
120		  Name: Provider Related News 
121		  Type: Asset Publisher Template 
122		  Uses content template: No 
123		  Provides template to retrieve Related Article based on Journal Article Categories. 
124		  --> 
125		  <style> 
126			 .relatedCat{background-color:transparent;border-color:#bbb;color:#007ac3;border:solid #007ac3 1px;font-size:1.1rem;border-radius:4px;font-weight:600;padding-bottom:.75rem;padding-top:.75rem;transition:color .3s,border-color .3s,background-color .3s;display:inline-block;text-align:center;vertical-align:middle;touch-action:manipulation;white-space:nowrap;padding:3px 6px;font-family:'Open Sans',sans-serif} 
127		  </style> 
128		  <#assign templateTitle = "Related News"> 
129		  <#assign templateCategory = "Category"> 
130		  <#assign articleUrl = "article"> 
131		  <#assign strArticleId = themeDisplay.getRequest().getParameter('articleId')> 
132		  <#assign strClassPK = themeDisplay.getRequest().getParameter('classPK')> 
133		  <#assign classPK = strClassPK?number> 
134		  <#assign articleId = strArticleId?number> 
135		  <#assign portalURL = themeDisplay.getURLPortal()> 
136		  <#assign siteGroupId = themeDisplay.getSiteGroupId()> 
137		  <#assign globalGroupId = themeDisplay.getCompanyGroupId()> 
138		   
139		  <#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
140		  <#assign categories = AssetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle",classPK)/> 
141		  <#assign RelatedArticlcleService = serviceLocator.findService("com.excellus.custom.service.relatedarticles.RelatedArticleService")> 
142		   <#assign relatedEntries = RelatedArticlcleService.getRelatedArticles(articleId,classPK,portalURL,siteGroupId,globalGroupId)/> 
143		  <h5 class="provider-news__title">${templateTitle}</h5> 
144		  <#if relatedEntries?has_content> 
145		  <#list relatedEntries> 
146		  <#items as relatedEntry> 
147		  <#-- Get Article Metadata --> 
148		  <#assign renderer = relatedEntry.getAssetRenderer()> 
149		  <#assign journalArticle = renderer.getAssetObject()> 
150		  <#assign urlTitle = renderer.getUrlTitle()> 
151		  <#assign modifiedDate = relatedEntry.getModifiedDate()> 
152		  <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale))> 
153		  <#assign rootElement = document.getRootElement()> 
154		  <#-- Get fields --> 
155		  <#assign HeadlinexPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Headline']")> 
156		  <#assign Headline = HeadlinexPathSelector.selectSingleNode(rootElement).getStringValue()> 
157		  <#assign DatelinexPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Dateline']")> 
158		  <#assign Dateline = DatelinexPathSelector.selectSingleNode(rootElement).getStringValue()> 
159		  <#assign BodyxPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Body']")> 
160		  <#assign Body = BodyxPathSelector.selectSingleNode(rootElement).getStringValue()> 
161		  <#-- Get article link --> 
162		  <#assign viewURL = "${articleUrl}?articleId=" + relatedEntry.getEntryId() + "&classPK=" + relatedEntry.getClassPK()> 
163		  <div class="provider-news__entry"> 
164			 <b><a class="provider-news__entry__link" href="${viewURL}">${Headline}</a></b> 
165			 <p><span class="provider-news__entry__dateline text-muted"> 
166				<#if Dateline?trim?has_content> 
167				<#assign DateObj = dateUtil.parseDate("yyyy-MM-dd", Dateline?trim, locale)> 
168				Issued ${dateUtil.getDate(DateObj, "MMMM d, yyyy", locale)} 
169				</#if> 
170				</span> 
171			 </p> 
172		  </div> 
173		  </#items> 
174		  </#list> 
175		  </#if> 
176		  <h5 class="provider-news__title">${templateCategory}</h5> 
177		  <#list categories as category> 
178		  <p class="badge">${category.getName()}</p> 
179		  </#list> 
180		</div> 
181	</div> 
182</div>