Saudi Arabia Flag
موقع حكومي رسمي تابع لحكومة المملكة العربية السعودية
Link Icon
روابط المواقع الالكترونية الرسمية السعودية تنتهي بـgov.sa

جميع روابط المواقع الرسمية التابعة للجهات الحكومية في المملكة العربيةالسعودية تنتهي بـ .gov.sa

Password Icon
المواقع الالكترونية الحكومية تستخدم بروتوكولHTTPSللتشفير و الأمان.

المواقع الالكترونية الآمنة في المملكة العربية السعودية تستخدم بروتوكولHTTPS للتشفير.

Dga Logo

مسجل لدى هيئة الحكومة الرقمية برقم :

20240512626
بنية FreeMarker غير صالح.

Java method "jdk.proxy3.$Proxy108.getCategory(long)" threw an exception when invoked on jdk.proxy3.$Proxy108 object "com.liferay.asset.categories.internal.service.AssetCategoryPropertyAssetCategoryLocalServiceWrapper@5b7abb0e"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign category = assetCategoryLocal... [in template "template_id" at line 13, column 5]
----
تصنيف
حصل خطأ عند معالجة القالب.
The following has evaluated to null or missing:
==> assetCategoryLocalService.fetchAssetCategory(category)  [in template "11099719610328#20119#500671" at line 8, column 32]

----
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 curCategory = assetCategoryLo...  [in template "11099719610328#20119#500671" at line 8, column 9]
----
1<#if entries?has_content> 
2    <#assign categories = [] /> 
3    <#assign hasChildCategoriesWithContent = false /> 
4 
5    <#if (request.getParameter("category")?has_content)> 
6        <#assign category = request.getParameter("category")?number /> 
7        <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
8        <#assign curCategory = assetCategoryLocalService.fetchAssetCategory(category) /> 
9        <#assign assetCategoryPropService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") /> 
10        <#assign categories = assetCategoryLocalService.getChildCategories(curCategory.categoryId) /> 
11    </#if> <!-- End of checking for category parameter --> 
12 
13    <#if (request.getParameter("tab")?has_content)> 
14        <#assign tab = request.getParameter("tab")?number /> 
15 
16        <#if tab == 436312> 
17            <#list categories as cat> 
18                <#assign filterCounter = articleService.getContentCountByCategoriesIds(tab, cat.categoryId) /> 
19                <#if filterCounter?number gt 0> 
20                    <#assign hasChildCategoriesWithContent = true /> 
21                </#if> 
22            </#list> <!-- End of checking categories for content --> 
23 
24            <#if !hasChildCategoriesWithContent> 
25                <#assign monthMatched = false /> 
26                <#assign yearMatched = false /> 
27							  <#assign periodicityMatched = false /> 
28 
29 
30                <#if (request.getParameter("year")?has_content) || (request.getParameter("month")?has_content) || (request.getParameter("periodicity")?has_content)> 
31                    <#assign year = request.getParameter("year")! -1 /> 
32                    <#assign month = request.getParameter("month")! -1 /> 
33								  	<#assign periodicity = request.getParameter("periodicity")! -1 /> 
34 
35                    <#assign entryCategories = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle", entries[0].classPK?number) /> 
36                        <#list entryCategories as articleCat> 
37													 
38													   <!-- periodicity --> 
39                            <#if periodicity?number != -1> 
40                                <#if articleCat.vocabularyId == 120045 && articleCat.categoryId == periodicity?number> 
41                                    <#assign periodicityMatched = true /> 
42                                </#if> 
43                            <#else> 
44                                <#assign periodicityMatched = true /> 
45                            </#if> 
46															 
47                            <!-- year --> 
48                            <#if year?number != -1> 
49                                <#if articleCat.vocabularyId == 120041 && articleCat.categoryId == year?number> 
50                                    <#assign yearMatched = true /> 
51                                </#if> 
52                            <#else> 
53                                <#assign yearMatched = true /> 
54                            </#if> 
55 
56                            <!-- month --> 
57                            <#if month?number != -1> 
58                                <#if articleCat.vocabularyId == 120049 && articleCat.categoryId == month?number> 
59                                    <#assign monthMatched = true /> 
60                                </#if> 
61                            <#else> 
62                                <#assign monthMatched = true /> 
63                            </#if> 
64                        </#list> <!-- End of processing entry categories --> 
65                    <#else> 
66                        <#assign monthMatched = true /> 
67                        <#assign yearMatched = true /> 
68											 <#assign periodicityMatched = true /> 
69                    </#if> 
70 
71                    <#if monthMatched && yearMatched && periodicityMatched> 
72                        <div id="latest-publication-container"> 
73                            <div class="dl-box publications-box mb-4 d-md-block d-none"> 
74                                <div class="box"> 
75                                    <div class="box-header"> 
76                                        <h3 class="box-title"> 
77                                            <@liferay.language key="latest-publication" /> 
78                                        </h3> 
79                                    </div> 
80                                    <#list entries as curEntry> 
81                                        ${articleService.getContentByClassPK(curEntry.classPK?number, "239120")} 
82                                    </#list> 
83                                </div> 
84                            </div> 
85                        </div> 
86                    </#if> <!-- End of checking month and year match --> 
87                </#if> <!-- End of checking year or month parameter --> 
88        </#if> <!-- End of checking if tab is 436312 --> 
89    </#if> <!-- End of checking for tab parameter --> 
90</#if> <!-- End of checking if entries have content --> 
حصل خطأ عند معالجة القالب.
The following has evaluated to null or missing:
==> assetCategoryLocalService.fetchAssetCategory(category)  [in template "11099719610328#20119#436507" at line 11, column 28]

----
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 curCategory = assetCategoryLo...  [in template "11099719610328#20119#436507" at line 11, column 5]
----
1<#assign categories = [] /> 
2<#assign hasChildCategoriesWithContent = false /> 
3 
4    <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
5    <#assign StructureLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMStructureLocalService") /> 
6 
7 
8<#if (request.getParameter("category")?has_content)> 
9    <#assign category = request.getParameter("category")?number /> 
10    <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
11    <#assign curCategory = assetCategoryLocalService.fetchAssetCategory(category) /> 
12    <#assign assetCategoryPropService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") /> 
13    <#assign categories = assetCategoryLocalService.getChildCategories(curCategory.categoryId) /> 
14</#if> 
15 
16<#if (request.getParameter("tab")?has_content)> 
17    <#assign tab = request.getParameter("tab")?number /> 
18 
19    <#list categories as cat> 
20        <#assign filterCounter = articleService.getContentCountByCategoriesIds(tab, cat.categoryId) /> 
21        <#if filterCounter?number gt 0> 
22            <#assign hasChildCategoriesWithContent = true /> 
23        </#if> 
24    </#list> 
25 
26    <#if !hasChildCategoriesWithContent> 
27        <!-- Display list of search results --> 
28        <div class="mt-4 search-results-container" id="search-results-display-list"> 
29             
30            <!-- Check if entries have content --> 
31            <#if entries?has_content> 
32                 
33                <#if tab == 436312> 
34                    <div id="publications-list-accordion" class="accordion dl-accordion transparent-accordion publications-accordion d-block d-md-none"> 
35                        <#list entries as entry> 
36                            ${articleService.getContentByClassPK(entry.classPK?number, "223283")} 
37                        </#list> 
38                    </div> 
39                </#if> 
40 
41                <div class="dl-box publications-box mt-6 ${(tab == 436312) ? then('d-none d-md-block', '')}"> 
42                    <div class="box ps-8 pe-6 pb-8"> 
43                         
44                        <div class="box-header"> 
45                            <span></span> 
46                            <#if tab == 436312> 
47                                <span class="th"><@liferay.language key="publication-year-label" /></span> 
48                                <span class="th"><@liferay.language key="publication-periodicity-label" /></span> 
49                                <span class="th"><@liferay.language key="publication-month-label" /></span> 
50                            </#if> 
51 
52                            <#if tab == 436318> 
53                                <span class="th"><@liferay.language key="publication-periodicity-label" /></span> 
54                            </#if> 
55                            <span class="th"><@liferay.language key="explore-label" /></span> 
56                        </div> 
57 
58                        <!-- Iterate over each entry --> 
59                        <#list entries as entry> 
60                         
61                            <!-- Check if entry has a valid classPK --> 
62                            <#if (entry.classPK)??> 
63                                 
64                                <!-- Assign article and structure related variables --> 
65                                <#assign article = journalArticleLocalService.getLatestArticle(entry.classPK?number) /> 
66                                <#assign structure = StructureLocalService.getStructure(article.getDDMStructure().getPrimaryKey()) /> 
67                                <#assign structureName = structure.getName() /> 
68                                <#assign structureID = structure.getStructureId() /> 
69 
70                                <!-- Check for publications structure --> 
71                                <#if structureID == 118514> 
72                                    ${articleService.getContentByClassPK(entry.classPK?number, "239120")} 
73                                </#if> 
74 
75                                <!-- Check for methodologies structure --> 
76                                <#if structureID == 118796> 
77                                    ${articleService.getContentByClassPK(entry.classPK?number, "121855")} 
78                                </#if> 
79 
80                                <!-- Check for dashboards structure --> 
81                                <#if structureID == 118529> 
82                                    ${articleService.getContentByClassPK(entry.classPK?number, "180745")} 
83                                </#if> 
84 
85                                <!-- Check for data tables structure --> 
86                                <#if structureID == 118522> 
87                                    ${articleService.getContentByClassPK(entry.classPK?number, "180770")} 
88                                </#if> 
89 
90                                <!-- Check for GIS structure --> 
91                                <#if structureID == 163734> 
92                                    ${articleService.getContentByClassPK(entry.classPK?number, "163745")} 
93                                </#if> 
94 
95                                <!-- Check for APIs structure --> 
96                                <#if structureID == 180726> 
97                                    ${articleService.getContentByClassPK(entry.classPK?number, "181078")} 
98                                </#if> 
99 
100                            </#if> 
101                        </#list> 
102                    </div> 
103                </div> 
104            <#else> 
105							  <h5> 
106                        <@liferay.language key="no-results-found" /> 
107							</h5> 
108							 
109							 
110							</#if> 
111        </div> 
112			<#else> 
113				 
114				<@liferay_aui.script use="aui-base"> 
115 
116 
117        $('.pagination-bar').remove(); 
118 
119 
120       </@liferay_aui.script> 
121				 
122    </#if> 
123</#if> <!-- close if tab param -->