RbiSearchHeader

Press escape key to go back

Past Searches

Theme
Theme
Text Size
Text Size
ODC_S1

RbiAnnouncementWeb

RBI Announcements
RBI Announcements

Category Facet

Category

RBIDateFilter

Refine search

Search Results

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy1393.getLatestArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy1393 object "com.rbi.journal.article.custom.service.wrapper.OverrideJournalArticleLocalServiceWrapper@3f81fd1f"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign journalArticle = journalArtic...  [in template "20099#20125#23212961" at line 23, column 9]
----
1<#assign 
2    AssetEntryLocalServiceUtil=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") 
3	assetEntryLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") 
4	journalArticleLocalService=serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
5    DLFileEntryLocalService=serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") /> 
6<#assign currDate=.now?date /> 
7<#assign groupId="" articleId =""/> 
8<#assign currentUrl=themeDisplay.getCDNBaseURL() + themeDisplay.getURLCurrent() /> 
9 
10<#-- Start breadcrumbs --> 
11<#assign urlCurrent = themeDisplay.getURLCurrent() /> 
12<#assign params = urlCurrent?split("&") /> 
13<#if params?has_content> 
14	<#list params as param> 
15      <#if param?contains("viewOneArticleId")> 
16				  <#assign viewattr = param?split("=") /> 
17				  <#assign articleId = viewattr[1] /> 
18			</#if> 
19	</#list> 
20</#if> 
21<#assign groupId = themeDisplay.getScopeGroupId()/> 
22<#if articleId?has_content && groupId?has_content && articleId != "undefined" && articleId != "null"> 
23	<#assign journalArticle = journalArticleLocalService.getLatestArticle(groupId, articleId)/> 
24			<input type="hidden" id="activeTitle"  value="${journalArticle.getTitle(locale)}"> 
25<#else> 
26	<#if entries?has_content  && currentUrl?contains("category")> 
27	<#list entries as curEntry> 
28			<#assign UUID="" 
29				 assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(), 
30				 curEntry.getClassPK()) 
31				 assetTitle=assetEntry.getTitle(locale) 
32				 contentPublishDate=assetEntry.publishDate 
33				 categories=assetEntry.getCategories() 
34			/> 
35			<#if categories?has_content> 
36				<#list categories as category> 
37					<#if category.getVocabularyId()==9018905> 
38						<input type="hidden" id="activeTitle"  value="${category.getName()}">				 
39					</#if> 
40				</#list> 
41			</#if> 
42		</#list> 
43	</#if> 
44</#if> 
45<#-- End breadcrumbs --> 
46	 
47	 
48<div class="Notification-content-wrap weekly-statistical-supplement full-width dynamic-resize" tabindex="0"> 
49    <div class="container"> 
50        <div class="row"> 
51            <div class="col-12"> 
52                <div class="notifications-row-wrapper"> 
53                    <div class="row"> 
54                        <#if entries?has_content && currentUrl?contains("category")> 
55                            <#list entries as curEntry> 
56                                <#assign UUID="" 
57																		UUIDs = "" 
58																		fileSize=""  
59																		docURL=""  
60																		excelURL=""  
61																		excelFileSize="" FID="" FIDs="" 
62                                    assetEntry=AssetEntryLocalServiceUtil.fetchEntry(curEntry.getClassName(), curEntry.getClassPK()) /> 
63                                <#assign viewURL=curEntry.getViewURL()?split('?')[0] />													 
64                                <#if assetEntry.getClassName()=="com.liferay.journal.model.JournalArticle"> 
65                                    <#assign article=assetEntry.getAssetRenderer().getArticle() id=article.getId() 
66                                        groupId=article.getGroupId() 
67                                        URL=article.getExpandoBridge().getAttribute("pdf-url")  
68																				ExcelURL=article.getExpandoBridge().getAttribute("doc-url")/> 
69                                    <#assign content=saxReaderUtil.read(article.getContentByLocale(locale)) 
70                                        notificationId=content.valueOf("//dynamic-element[@name='Numeric68058098']/dynamic-content") 
71                                        description=content.valueOf("//dynamic-element[@name='RichText92604564']/dynamic-content") publishDate=assetEntry.publishDate /> 
72                                </#if> 
73                                <div class="col-12 "> 
74                                    <div class="notification-row-each"> 
75                                        <div class="notification-row-each-inner"> 
76																					<#assign pDate=dateUtil.getDate(publishDate, "yyyy-MM-dd", locale) /> 
77																					<div class="notification-date"> 
78																						${dateUtil.getDate(publishDate, "dd MMM yyyy", locale)} 
79																					</div> 
80																					<#assign redirectURL="${viewURL}?&publishDateFrom="+pDate+"&publishDateTo="+pDate/>	 
81                                            <a href="${redirectURL}" class="mtm_list_item_heading"> 
82                                                <div class="notifications-heading c-tooltips position-relative"> 
83                                                    <span>${assetEntry.getTitle(locale)}</span> 
84                                                    <div class="custom-tooltip"> 
85                                                        <div class="tooltip-arrow-up"></div> 
86                                                        <div class="tooltip-content"> 
87                                                            ${assetEntry.getSummary(locale)} 
88                                                        </div> 
89                                                        <div class="tooltip-content-hidden" style="display:none"> 
90                                                            ${assetEntry.getSummary(locale)} 
91																												</div> 
92                                                    </div> 
93                                                </div> 
94                                                <div class="notifications-heading-hidden" style="display:none"> 
95                                                    ${assetEntry.getTitle(locale)} 
96																								</div> 
97                                            </a> 
98                                            <div class="notifications-description-hidden" style="display:none"> 
99                                                <#if assetEntry.getSummary(locale)?has_content> 
100                                                    ${assetEntry.getSummary(locale)} 
101                                                </#if> 
102                                            </div> 
103 
104                                            <!--buttons--> 
105                                            <#if URL?has_content> 
106                                                <#list URL?keys as key> 
107                                                    <#if key==locale> 
108                                                        <#assign docURL=URL?values[key_index] /> 
109                                                    </#if> 
110                                                </#list> 
111                                            </#if> 
112												<#if ExcelURL?has_content> 
113                                                <#list ExcelURL?keys as key> 
114                                                    <#if key==locale> 
115                                                        <#assign excelURL=ExcelURL?values[key_index] /> 
116                                                    </#if> 
117                                                </#list> 
118                                            </#if> 
119                                            <#if warningMessageLocale?has_content> 
120                                                <#list warningMessageLocale?keys as key> 
121                                                    <#if key==locale> 
122                                                        <#assign warningMessage=warningMessageLocale?values[key_index] /> 
123                                                    </#if> 
124                                                </#list> 
125                                            </#if> 
126                                             
127											<#if docURL?has_content> 
128 
129													<#if docURL?contains("fileEntryId")> 
130													 
131													<#list docURL?split("?") as sValue> 
132														<#if sValue?is_last> 
133																 
134															<#list sValue?split("=") as fid> 
135																		 
136																<#if fid?is_last> 
137																				 
138																	<#assign FID=fid /> 
139																</#if> 
140															</#list> 
141														</#if> 
142													</#list> 
143													 
144													 
145													<#else> 
146													 
147													<#list docURL?split("/") as sValue> 
148														<#if sValue?is_last> 
149															<#list sValue?split("?") as uuid> 
150																<#if uuid?is_first> 
151																	<#assign UUID=uuid /> 
152																</#if> 
153															</#list> 
154														</#if> 
155													</#list> 
156												</#if> 
157												</#if> 
158												<#if excelURL?has_content> 
159 
160													<#if excelURL?contains("fileEntryId")> 
161													 
162													<#list excelURL?split("?") as sValue> 
163														<#if sValue?is_last> 
164																 
165															<#list sValue?split("=") as fid> 
166																		 
167																<#if fid?is_last> 
168																				 
169																	<#assign FIDs=fid /> 
170																</#if> 
171															</#list> 
172														</#if> 
173													</#list> 
174													 
175													 
176													<#else> 
177													 
178													<#list excelURL?split("/") as sValue> 
179														<#if sValue?is_last> 
180															<#list sValue?split("?") as uuid> 
181																<#if uuid?is_first> 
182																	<#assign UUIDs=uuid /> 
183																</#if> 
184															</#list> 
185														</#if> 
186													</#list> 
187												</#if> 
188												</#if> 
189												<#if UUID?has_content || FID?has_content> 
190 
191 
192													<#attempt> 
193													 
194															<#if FID?has_content> 
195															<#assign dlFileEntry=DLFileEntryLocalService.fetchDLFileEntry(FID?number)  /> 
196															<#else> 
197																<#assign dlFileEntry=DLFileEntryLocalService.fetchFileEntry(UUID,groupId?number)  
198																fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", 
199															dlFileEntry.getFileEntryId())/> 
200															</#if> 
201															<#assign fileSize=dlFileEntry.getSize()/> 
202															 
203															<#if UUID?has_content> 
204															<#assign docURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/> 
205															<#assign docURL=docURL?replace("/"+UUID,"") /> 
206															</#if> 
207													<#recover> 
208														</#attempt> 
209													</#if> 
210													<#if UUIDs?has_content || FIDs?has_content> 
211													 
212													 
213													<#attempt> 
214													 
215															<#if FIDs?has_content> 
216															<#assign dlFileEntry=DLFileEntryLocalService.fetchDLFileEntry(FIDs?number)  /> 
217															<#else> 
218																<#assign dlFileEntry=DLFileEntryLocalService.fetchFileEntry(UUIDs,groupId?number)  
219																fileAssetEntry=AssetEntryLocalServiceUtil.getEntry("com.liferay.document.library.kernel.model.DLFileEntry", 
220															dlFileEntry.getFileEntryId())/> 
221															</#if> 
222															<#assign excelFileSize=dlFileEntry.getSize()/> 
223															 
224															<#if UUIDs?has_content> 
225															<#assign excelURL=fileAssetEntry.getAssetRenderer().getURLDownload(themeDisplay)/> 
226															<#assign excelURL=excelURL?replace("/"+UUIDs,"") /> 
227															</#if> 
228													<#recover> 
229														</#attempt> 
230													</#if> 
231																						<div class="download-pdf-wrapper">										 
232																							<div class="btn-wrap"> 
233																								<#if docURL?? && docURL?has_content> 
234																									<div class="inner-wrap"> 
235																										<a href="${docURL?split('?')[0]}" target="_blank" 
236																											class="matomo_download "> 
237																											<img src="/documents/70233/0/fileDownload.svg" 
238																												class="downloadFile" 
239																												alt="${languageUtil.get(locale,'download')}" 
240																												title="${languageUtil.get(locale,'download')}"> 
241																											${languageUtil.get(locale,'pdf')} (<span class="fileSize">${fileSize}</span> ) 
242																										</a> 
243																									</div> 
244																								</#if> 
245																								<#if excelURL?? && excelURL?has_content>												 
246																									<div class="inner-wrap">						  
247																										<a href="${excelURL?split('?')[0]}" target="_blank" 
248																											class="matomo_download "> 
249																											<img src="/documents/70233/0/fileDownload.svg" 
250																													class="downloadFile" 
251																													alt="${languageUtil.get(locale,'download')}" 
252																													title="${languageUtil.get(locale,'download')}"> 
253																											${languageUtil.get(locale,'excel')} (<span class="fileSize">${excelFileSize}</span> ) 
254																										</a> 
255																									</div> 
256																								</#if> 
257                                               </div> 
258																						</div>									 
259                                        </div> 
260                                    </div> 
261                                </div> 
262                            </#list> 
263                        </#if> 
264                    </div> 
265                </div> 
266            </div> 
267        </div> 
268    </div> 
269</div>		 
270<script> 
271		 
272		window.addEventListener("load", function () { 
273		var url = window.location.href; 
274		if (url.indexOf('category') == -1) { 
275			$(".pagination-bar").removeClass("d-flex"); 
276			$(".pagination-bar").addClass("d-none"); 
277			$(".download-pdf").addClass("d-none"); 
278
279	}); 
280	function changeActiveBreadcrumb(){ 
281		let data = $('input#activeTitle').val(); 
282		$('div.rbi-breadcrumbs-wrap ol li:last-child').text(data); 
283
284	 
285    $(document).ready(function () { 
286        $(".fileSize").each(function () { 
287            var fileSize = $(this).html() 
288            if (fileSize != "") { 
289                $(this).html(formatFileSize(parseInt(fileSize), 2)) 
290
291        }); 
292 
293        function formatFileSize(bytes, decimalPoint) { 
294            if (bytes == 0) 
295                return '0 Bytes'; 
296            var k = 1024, 
297                dm = decimalPoint || 2, 
298                sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], 
299                i = Math.floor(Math.log(bytes) / Math.log(k)); 
300            return (parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i]); 
301
302			 
303    }); 
304	//when list is available then removing this class 
305			$("#apply-button").removeClass("disabled"); 
306	 
307	//Please dont change these method 
308			changeActiveBreadcrumb(); 
309</script> 

Custom Date Facet

RBI-Install-RBI-Content-Global

Install the RBI mobile application and get quick access to the latest news!

Scan Your QR code to Install our app

RBIPageLastUpdatedOn

Page Last Updated on: August 22, 2025