An error occurred while processing the template.
The following has evaluated to null or missing:
==> serviceLocator.findService("mnp.custom.service.base32.Base32Service")  [in template "20116#20152#97778" at line 6, column 32]

----
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: base32Service = serviceLocator.findSe...  [in template "20116#20152#97778" at line 6, column 17]
	- Reached through: #assign-container  [in template "20116#20152#97778" at line 2, column 1]
----
1<#if entries?has_content> 
2<#assign 
3        layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") 
4		parentLayout = layoutLocalService.getLayout(themeDisplay.getLayout().getParentPlid()) 
5		utilLocalService = serviceLocator.findService("service.service.UtilLocalService") 
6		base32Service= serviceLocator.findService("mnp.custom.service.base32.Base32Service")		 
7		localizationService = serviceLocator.findService("com.liferay.portal.kernel.util.LocalizationUtil") 
8		newHash = {} 
9		currentURL = themeDisplay.getLayout().getFriendlyURL(locale) 
10		childrenFriendlyUrlList = utilLocalService.getFriendlyUrlsByParentLayoutIdAsLocal(layout.getParentLayoutId(),themeDisplay.getCompanyId(),themeDisplay.getScopeGroupId()) 
11		categoryIds = utilLocalService.getCategoryByFriendlyUrlAsLocal(base32Service.encodeBase32(parentLayout.getFriendlyURL())) 
12		categoryId = categoryIds[0]?number 
13		listResult = utilLocalService.getCategoryListByParentCategoryIdAsLocal(categoryId, themeDisplay.getCompanyId(),  themeDisplay.getScopeGroupId(), "isDisplay", base32Service.encodeBase32("true"))  
14	/>	 
15	<#list listResult as result > 
16	    <#assign  
17				newHash = newHash + {result[0]:{}} 
18	    /> 
19		 
20	</#list> 
21	 
22	<#list listResult as result > 
23	    <#assign   
24	            myHash = { 'title':result[1], result[3]:result[4] } 
25	    /> 
26		 
27        <#list newHash?keys as key>  
28            <#if key?string == result[0]?string> 
29                <#if newHash[key]?has_content> 
30	                <#assign  
31							value = newHash[key] 
32	                        value  = value + myHash 
33							newHash = newHash + {key:value} 
34	                /> 
35	                     
36               <#else> 
37                   <#assign  
38							newHash = newHash + {key:myHash} 
39                   /> 
40				    
41	           </#if> 
42            </#if> 
43        </#list> 
44	</#list> 
45	 
46	<ul class="gray_leftsidebar_nocollapse"> 
47	<#assign  
48 	    title="" 
49 	    urlImage="" 
50 	    link="" 
51 		orderMap = [] 
52 	/> 
53 		<#list childrenFriendlyUrlList as childFriendlyUrl> 
54 			<#list newHash?keys as key>  
55 				<#assign value = newHash[key] > 
56 					<#list value?keys as k> 
57 						<#if k?string  == "image"> 
58 							<#assign urlImage  = base32Service.decodeBase32(value[k])> 
59 						</#if> 
60 						 <#if k?string  == "title"> 
61 								<#assign title  = value[k]> 
62 						</#if> 
63 						<#if k?string  == "link"> 
64 								<#assign link  = base32Service.decodeBase32(value[k])> 
65 						</#if> 
66 						 
67 						<#if k?string  == "mindex"> 
68 							<#assign order  = base32Service.decodeBase32(value[k])?number> 
69 						</#if> 
70 						 
71 					</#list> 
72 					 
73 					 
74 					<#-- author: haupv3; since: 2020-nov-17 Display ministries order by ministry-order property --> 
75 					<#if link == childFriendlyUrl> 
76 						<#assign orderMap = orderMap + [{"order" :order, "link": link, "title" : title}] /> 
77 					</#if> 
78 					<#-- author: haupv3; since: 2020-nov-17 Display ministries order by ministry-order property --> 
79 			</#list> 
80 		</#list> 
81 		 
82 		<#list orderMap?sort_by("order") as v> 
83 			<#assign  
84 				link = v.link 
85 				title = v.title 
86 			/> 
87			 
88			<#if link == currentURL> 
89				<li style ="background-color: #fafdff;border-left: 5px solid #bfbff7;" ><a href="${link}" style ="color: black;">${localizationService.getLocalization(title,locale)}</a></li> 
90			<#else> 
91				<li><a href="${link}">${localizationService.getLocalization(title,locale)}</a></li> 
92			</#if>	 
93		</#list> 
94		 
95    </ul> 
96<#else> 
97 <h1>${themeDisplay.translate("mnp-no-data-available")}</h1> 
98</#if> 
99 
100 
101<style> 
102.mnp_body ul.gray_leftsidebar_nocollapse li a { 
103    display: block; 
104    padding-left: 8px; 
105
106</style> 

 

Ministry of Education

          Education and Training the learning generation through quality education to become good human beings with team spirit and innovation, taking accountability and responsibility in order to meet the Sustainable Development Goals.