Sleep Management Program Reminder (DO NOT EXPIRE OR REMOVE - THIS IS THE PLACEHOLDER ARTICLE FOR THE DISPLAY PAGE)

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 16, column 22]

----
Tip: If the failing expression is known to be 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 16, 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<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
10<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
11<#assign layout = themeDisplay['plid'] /> 
12<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
13<#assign layoutObject = layoutService.getLayout(layout?number) /> 
14<#assign page_group = layoutObject.getGroup() /> 
15<#assign site_title = page_group.getDescriptiveName() /> 
16<#assign articleId = themeDisplay.getRequest().getParameter('articleId')> 
17<#assign classPK = themeDisplay.getRequest().getParameter('classPK')> 
18<#assign JournalArticleResource = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")> 
19<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
20<#assign SAXReaderUtil = serviceLocator.findService("com.liferay.portal.kernel.xml.SAXReaderUtil")> 
21<#assign journalArticleResource = JournalArticleResource.getJournalArticleResource(getterUtil.getLong(classPK))> 
22<#assign journalArticle = JournalArticleLocalService.getLatestArticle(journalArticleResource.getResourcePrimKey())> 
23<#assign document = SAXReaderUtil.read(journalArticle.getContent())> 
24<#assign Headline = document.selectSingleNode("/root/dynamic-element[@name='Headline']/dynamic-content").getStringValue()?trim> 
25<#assign Dateline = document.selectSingleNode("/root/dynamic-element[@name='Dateline']/dynamic-content").getStringValue()> 
26<#assign Body = document.selectSingleNode("/root/dynamic-element[@name='Body']/dynamic-content").getStringValue()> 
27<div class="pageTools body hidden-print breadcrumb-container"> 
28	<div class="container-block"> 
29	<div role="navigation" aria-label="breadcrumb" class="breadcrumb breadcrumbDisplay"> 
30		<#if site_title == "Excellus Providers"> 
31			<span><a href="https://provider.excellusbcbs.com">Provider</a></span> 
32		<#else> 
33			<span><a href="https://provider.univerahealthcare.com">Provider</a></span> 
34		</#if> 
35		<span><a href="/resources/news">News and Updates</a></span> 
36		<span>${Headline}</span> 
37	</div> 
38	</div> 
39</div> 
40 
41<#if site_title == "Excellus Providers"> 
42	<script> 
43		var headline = "${Headline}"; 
44		document.title = headline + ' | Provider | Excellus BlueCross BlueShield'; 
45	</script> 
46<#else> 
47	<script> 
48		var headline = "${Headline}"; 
49		document.title = headline + ' | Provider | Univera Healthcare'; 
50	</script> 
51</#if> 
52 
53<div class="container-fluid body"> 
54	<div class="row"> 
55	   <div class="col-sm-9 provider-news__article"> 
56		  <a class="provider-news__article__back-link" href="/resources/news"> 
57		  <i class="fa fa-chevron-left"></i>Return to Provider News 
58		  </a> 
59		  <h1 class="provider-news__article__title" id="${Headline}">${Headline}</h1> 
60		  <#if validator.isNotNull(Dateline)> 
61		  <#assign DateObj = dateUtil.parseDate("yyyy-MM-dd", Dateline, locale)> 
62		  <span class="provider-news__article__dateline text-muted"> 
63		  Issued ${dateUtil.getDate(DateObj, "MMMM d, yyyy", locale)} 
64		  </span> 
65		  </#if> 
66		  <div class="provider-news__article__body"> 
67			 ${Body} 
68		  </div> 
69	   </div> 
70	   <div class="col-sm-3  provider-news" > 
71		<div class="row "><div class="row ">&nbsp;</div><div class="row ">&nbsp;</div> 
72		  <#-- 
73		  Name: Provider Related News 
74		  Type: Asset Publisher Template 
75		  Uses content template: No 
76		  Provides template to retrieve Related Article based on Journal Article Categories. 
77		  --> 
78		  <style> 
79			 .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} 
80		  </style> 
81		  <#assign templateTitle = "Related News"> 
82		  <#assign templateCategory = "Category"> 
83		  <#assign articleUrl = "article"> 
84		  <#assign strArticleId = themeDisplay.getRequest().getParameter('articleId')> 
85		  <#assign strClassPK = themeDisplay.getRequest().getParameter('classPK')> 
86		  <#assign classPK = strClassPK?number> 
87		  <#assign articleId = strArticleId?number> 
88		  <#assign portalURL = themeDisplay.getURLPortal()> 
89		  <#assign siteGroupId = themeDisplay.getSiteGroupId()> 
90		  <#assign globalGroupId = themeDisplay.getCompanyGroupId()> 
91		   
92		  <#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
93		  <#assign categories = AssetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle",classPK)/> 
94		  <#assign RelatedArticlcleService = serviceLocator.findService("com.excellus.custom.service.relatedarticles.RelatedArticleService")> 
95		   <#assign relatedEntries = RelatedArticlcleService.getRelatedArticles(articleId,classPK,portalURL,siteGroupId,globalGroupId)/> 
96		  <h5 class="provider-news__title">${templateTitle}</h5> 
97		  <#if relatedEntries?has_content> 
98		  <#list relatedEntries> 
99		  <#items as relatedEntry> 
100		  <#-- Get Article Metadata --> 
101		  <#assign renderer = relatedEntry.getAssetRenderer()> 
102		  <#assign journalArticle = renderer.getAssetObject()> 
103		  <#assign urlTitle = renderer.getUrlTitle()> 
104		  <#assign modifiedDate = relatedEntry.getModifiedDate()> 
105		  <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale))> 
106		  <#assign rootElement = document.getRootElement()> 
107		  <#-- Get fields --> 
108		  <#assign HeadlinexPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Headline']")> 
109		  <#assign Headline = HeadlinexPathSelector.selectSingleNode(rootElement).getStringValue()> 
110		  <#assign DatelinexPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Dateline']")> 
111		  <#assign Dateline = DatelinexPathSelector.selectSingleNode(rootElement).getStringValue()> 
112		  <#assign BodyxPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='Body']")> 
113		  <#assign Body = BodyxPathSelector.selectSingleNode(rootElement).getStringValue()> 
114		  <#-- Get article link --> 
115		  <#assign viewURL = "${articleUrl}?articleId=" + relatedEntry.getEntryId() + "&classPK=" + relatedEntry.getClassPK()> 
116		  <div class="provider-news__entry"> 
117			 <b><a class="provider-news__entry__link" href="${viewURL}">${Headline}</a></b> 
118			 <p><span class="provider-news__entry__dateline text-muted"> 
119				<#if Dateline?trim?has_content> 
120				<#assign DateObj = dateUtil.parseDate("yyyy-MM-dd", Dateline?trim, locale)> 
121				Issued ${dateUtil.getDate(DateObj, "MMMM d, yyyy", locale)} 
122				</#if> 
123				</span> 
124			 </p> 
125		  </div> 
126		  </#items> 
127		  </#list> 
128		  </#if> 
129		  <h5 class="provider-news__title">${templateCategory}</h5> 
130		  <#list categories as category> 
131		  <p class="badge">${category.getName()}</p> 
132		  </#list> 
133		  </div> 
134		</div> 
135	</div> 
136</div>