Prereleases - www.ussteel.com
An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator.findService("com.liferay.uss.common.service.service.FavoriteItemLocalService") [in template "20101#20128#79989" at line 12, column 37]
----
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 favoriteItemLocalService = se... [in template "20101#20128#79989" at line 12, column 1]
----
1<#assign assetvocLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")>
2<#assign catService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") >
3<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") >
4<#assign AssetEntryRelLocalService = serviceLocator.findService("com.liferay.asset.entry.rel.service.AssetEntryAssetCategoryRelLocalService")>
5<#assign BlogsEntryService = serviceLocator.findService("com.liferay.blogs.service.BlogsEntryService")/>
6 <@liferay_portlet["runtime"]
7 instanceId="HuJCUfzjrWdd"
8 persistSettings=true
9 portletName="com_liferay_asset_categories_navigation_web_portlet_AssetCategoriesNavigationPortlet" />
10<#assign vocab = assetvocLocalService.getGroupVocabulary(themeDisplay.getScopeGroupId(), "Newsroom Type")>
11<#assign catList = catService.getVocabularyCategories(vocab.getVocabularyId(),-1,-1,null)>
12<#assign favoriteItemLocalService = serviceLocator.findService("com.liferay.uss.common.service.service.FavoriteItemLocalService")>
13<#assign portalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"]>
14
15<section class="uss-section page-section media-search bg-white">
16 <div class="container-uss">
17 <div class="row">
18 <div class="col-md-3 col-sm-12"
19 <hr class="head-divider">
20 <h6 class="text-uppercase text-secondary mb-0">MEDIA INQUIRIES</h6>
21 <div class="info-body px-0">
22 <p>(412) 433-1300</p>
23 <a href = "mailto: media@uss.com" class="text-secondary"> media@uss.com</a>
24 </div>
25 <hr>
26 <h6 class="text-uppercase text-secondary mb-0">Additional Information</h6>
27 <div class="info-body px-0">
28 <p class="pb-5">For general inquiries, contact<br/> the U. S. Steel Operator. <br/>(412) 433-1121<br/> 8 a.m. - 5 p.m. Eastern<br/>Monday - Friday</p>
29
30
31 <p>For information about 2026 Collective Bargaining negotiations, visit <a href="https://negotiations2026.uss.com" target="_blank">negotiations2026.uss.com</a></p>
32 </div>
33 </div>
34 <div class="col-md-9 col-sm-12">
35 <#if entries?has_content>
36 <#list entries as curBlogEntry>
37 <#attempt>
38 <#assign blogsentry = BlogsEntryService.getEntry(curBlogEntry.getEntryId())/>
39 <#assign viewEntryPortletURL = renderResponse.createRenderURL() />
40 ${viewEntryPortletURL.setParameter("mvcRenderCommandName", "/blogs/view_entry")} ${viewEntryPortletURL.setParameter("redirect", currentURL)}
41
42 <#if validator.isNotNull(curBlogEntry.getUrlTitle())>
43 ${viewEntryPortletURL.setParameter("urlTitle", curBlogEntry.getUrlTitle())}
44 <#else>
45 ${viewEntryPortletURL.setParameter("entryId", curBlogEntry.getEntryId()?string)}
46 </#if>
47 <#assign blogDetailURL = viewEntryPortletURL.toString()>
48<#assign finalURL="">
49<#if !blogDetailURL?contains("/blogs/")>
50 <#if blogDetailURL?contains("/newsroom")>
51 <#assign urlParts = blogDetailURL?split("/newsroom")>
52 <#assign finalURL = urlParts[0]+"/newsroom/-/blogs/"+curBlogEntry.getUrlTitle()+urlParts[1]>
53</#if>
54
55<#else>
56<#assign finalURL=viewEntryPortletURL.toString()>
57</#if>
58 <div class=" info-body p-0 ">
59 <h6 class="text-secondary-2 "><@liferay_asset["asset-categories-summary"]
60 className="com.liferay.blogs.model.BlogsEntry"
61 classPK=curBlogEntry.getEntryId()
62 portletURL=renderResponse.createRenderURL()
63 /> | ${blogsentry.getDisplayDate()?string["MMMM dd, yyyy"]} </h6>
64 <#assign editBlogURL = portalUtil.getControlPanelPortletURL(request,"com_liferay_blogs_web_portlet_BlogsAdminPortlet",
65 "RENDER_PHASE") />
66
67 ${editBlogURL.setParameter("mvcRenderCommandName", "/blogs/edit_entry")}
68 ${editBlogURL.setParameter("redirect", themeDisplay.getURLCurrent())}
69 ${editBlogURL.setParameter("entryId", curBlogEntry.getEntryId()?string)}
70 <#if favoriteItemLocalService.validateUserRole(themeDisplay)>
71 <#assign validateCusUserRole = favoriteItemLocalService.validateUserRole(themeDisplay)>
72 <#if validateCusUserRole>
73 <#if editBlogURL ?? >
74 <a href="${editBlogURL}" > <i class="icon-pencil"></i> </a>
75 </#if>
76 </#if>
77 </#if>
78 <h5 class="text-primary ">
79 <a class="title-link" href="${finalURL}">
80 ${htmlUtil.escape(blogsEntryUtil.getDisplayTitle(resourceBundle, curBlogEntry))}
81 </a>
82 </h5>
83 <p>${curBlogEntry.getDescription()}</p>
84 <p>${stringUtil.shorten(htmlUtil.stripHtml(curBlogEntry.getContent()), 400)}</p>
85 </div>
86 <hr/>
87 <#recover>
88 </#attempt>
89 </#list>
90 </#if>
91 </div>
92 </div>
93 </div>
94</section>