Formación EDITOR

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> layoutTool.getLayoutByPlid(layout.getParentPlid())  [in template "38913#38948#69848" at line 19, column 35]

----
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 parent = layoutTool.getLayout...  [in template "38913#38948#69848" at line 19, column 17]
----
1<#include "${templatesPath}/NAVIGATION-MACRO-FTL" /> 
2<#assign layoutTool = utilLocator.findUtil("lportal-ce-hook", "as.asac.template.tools.LayoutTool") /> 
3 
4<#if !entries?has_content> 
5	<#if themeDisplay.isSignedIn()> 
6		<div class="alert alert-info"> 
7			<@liferay.language key="there-are-no-menu-items-to-display" /> 
8		</div> 
9	</#if> 
10<#else> 
11	<#assign includeAllChildNavItems = false /> 
12 
13	<#if stringUtil.equals(includedLayouts, "all")> 
14		<#assign includeAllChildNavItems = true /> 
15	</#if> 
16 
17	<div aria-label="<@liferay.language key="site-pages" />" class="list-menu"> 
18	 
19		<#assign parent = layoutTool.getLayoutByPlid(layout.getParentPlid()) /> 
20		<#assign layoutURL = layoutTool.getLayoutURL(parent, themeDisplay) /> 
21		<h2><a href="${layoutURL}" title="${languageUtil.format(locale, "go-to-x", parent.getName(locale))}">${layoutTool.getTitle(parent, locale)}</a></h2> 
22	 
23		<@buildNavigation 
24			branchNavItems=branchNavItems 
25			cssClass="layouts" 
26			displayDepth=displayDepth 
27			includeAllChildNavItems=includeAllChildNavItems 
28			navItemLevel=1 
29			navItems=entries 
30		/> 
31	</div> 
32</#if>