Pessoa digitando no teclado de um laptop
Um erro ocorreu enquanto processava o modelo.
Java method "com.sun.proxy.$Proxy114.getFriendlyURLLayout(long, boolean, String)" threw an exception when invoked on com.sun.proxy.$Proxy114 object "com.liferay.layout.internal.service.LayoutLocalServiceWrapper@1920aa3e"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign layout = LayoutLocalService.g...  [in template "589629#589668#47996103" at line 7, column 1]
----
1<#assign LayoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
2 
3<#assign urlTitleTmp = themeDisplay.getURLCurrent() /> 
4<#assign urlTitleSplit = urlTitleTmp?split("?")> 
5<#assign CurUrlTitle = urlTitleSplit?first> 
6 
7<#assign layout = LayoutLocalService.getFriendlyURLLayout(themeDisplay.getScopeGroupId(), false, CurUrlTitle)> 
8 
9<#assign text = "OH MY HAIR! / ${layout.getHTMLTitle(locale)}"> 
10<#assign linkURL = "${layout.getFriendlyURL(locale)}"> 
11 
12<#if !layout.isFirstParent()> 
13    <#list layout.getAncestors() as ancestor> 
14        <#if !ancestor.isFirstParent()> 
15            <#assign text = "OH MY HAIR! / ${ancestor.getHTMLTitle(locale)}"> 
16            <#assign linkURL = "${ancestor.getFriendlyURL(locale)}"> 
17        </#if> 
18    </#list> 
19</#if> 
20 
21<div class="c-strip"> 
22	<p class="c-strip__title"> 
23		<a class="link" href="${linkURL}" title="breadcrumb OMH" 
24			 >${text} 
25		</a> 
26	</p> 
27</div>