An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy630.getEntry(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy630 object "com.liferay.blogs.reading.time.internal.service.BlogsReadingTimeEntryLocalServiceWrapper@642c8320"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: blog = BlogsEntryLocalService.getEntr...  [in template "20101#20128#38025" at line 168, column 15]
	- Reached through: #assign-container  [in template "20101#20128#38025" at line 168, column 6]
----
1<style> 
2.breadcrumb.my_br a { 
3    color: #e6e6e6; 
4
5.breadcrumb.my_br a:last-child { 
6    color: #fff; 
7
8.reads_more { 
9    position: absolute; 
10    bottom: 25px; 
11
12.trending a:hover { 
13    color: #f47c20; 
14
15.owl-carousel .owl-stage { 
16    height: calc(100% + 20px); 
17
18.owl-carousel.trending { 
19    width: calc(100% + 30px); 
20    max-width: 100%; 
21
22.owl-carousel.owl-drag .owl-item { 
23    height: 100%; 
24
25.card.card_blos { 
26    height: calc(100% - 46px); 
27
28 
29.taglib-ratings.like, .taglib-ratings.like div{ 
30    display:inline-block; 
31
32.taglib-ratings.like .rating-element{ 
33    color:#fff; 
34    padding:4px; 
35
36.taglib-ratings.like .inline-item{ 
37    display:none; 
38
39.lfr-discussion-reply-container .autofit-row:first-child{ 
40    flex-direction: column; 
41
42.lfr-discussion-reply-container .lfr-discussion-editor{ 
43	flex-direction: row; 
44
45.lfr-discussion-reply-container .alloy-editor-container{ 
46	width: 65%; 
47	margin-right: 15px; 
48
49.lfr-discussion-reply-container .alloy-editor{ 
50	border-radius: 10px; 
51    border: solid 1px #57585a!important; 
52    height: 80px; 
53    padding: 10px; 
54
55.lfr-discussion-reply-container .btn-cancel{ 
56	height: 50px; 
57    border-radius: 100px!important; 
58    padding: 0 25px; 
59
60.my_breadcrumb { 
61    background: #0184c8 !important; 
62
63.wellnes_card ul li:before { 
64    content: ""; 
65    position: absolute; 
66    left: 0; 
67    top: 6px; 
68    width: 6px; 
69    height: 6px; 
70    background: #000; 
71    border-radius: 10px; 
72
73.wellnes_card ul li { 
74    position: relative; 
75    padding-left: 30px; 
76    margin-bottom: 15px; 
77    text-shadow: 0 0 0 #000; 
78
79.wellnes_card ol li:before {     
80    content: ""; 
81    position: absolute; 
82    left: 0; 
83    border-radius: 10px; 
84    list-style-type: decimal; 
85    content: counter(li); 
86    display: inline-block; 
87    width: 1em; 
88
89.wellnes_card ol li { 
90    position: relative; 
91    padding-left: 30px; 
92    font-size: 14px; 
93    margin-bottom: 15px; 
94    text-shadow: 0 0 0 #000; 
95    counter-increment: li; 
96
97@media screen and (max-width: 767px) { 
98	.lfr-discussion-reply-container .lfr-discussion-editor{ 
99		flex-direction: column; 
100
101	.lfr-discussion-reply-container .alloy-editor-container{ 
102		width: 100%; 
103		margin-right: 0; 
104
105	.lfr-discussion-reply-container .button-holder { 
106		text-align: right; 
107
108	.lfr-discussion-reply-container .alloy-editor{ 
109		height: 40px; 
110
111	.lfr-discussion-reply-container .btn-cancel{ 
112		height: 35px; 
113	    padding: 0 15px; 
114
115    .my_breadcrumb { 
116        display:none; 
117
118    .m_top{ 
119        margin-top: -5px; 
120
121    .wellnes_card { 
122    padding: 30px 20px !important; 
123
124    .wellnes_card p{ 
125    font-size:12px; 
126
127    .wellnes_card li { 
128    font-size: 12px; 
129    text-shadow: 0 0 0 #000; 
130
131     
132
133 
134.autofit-row.mb-4 { 
135    display: none; 
136
137 
138.navigation-bar.navigation-bar-light, h2.entry-title, .autofit-float.portlet-header { 
139    display: none!important; 
140
141.blogImage{ 
142    width:376px!important;; 
143    height:225px; 
144
145.owl-carousel .owl-item img.trendingDate{ 
146    display: inline-block; 
147    width: 100%; 
148
149.taglib-ratings.like .rating-element { 
150    position: absolute; 
151    margin: -20px; 
152    padding-left: 15px; 
153    margin-left: -25px; 
154    background: transparent!important; 
155
156</style> 
157<#assign BlogsEntryLocalService = serviceLocator.findService("com.liferay.blogs.service.BlogsEntryLocalService")> 
158<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
159<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
160 
161<#assign blog="" 
162entryId=0 
163categoryName="" 
164categoryId=0 
165assetEntry=""> 
166 
167    <#assign url=themeDisplay.getURLCurrent()?split("/")[4]> 
168     <#assign blog=BlogsEntryLocalService.getEntry(themeDisplay.getScopeGroupId(),url) 
169        assetEntry = assetEntryLocalService.getEntry("com.liferay.blogs.model.BlogsEntry", blog.getEntryId()) 
170		entryId	=blog.getEntryId()	/> 
171        <#assign categories=assetCategoryLocalService.getAssetEntryAssetCategories(assetEntry.getEntryId()) /> 
172        <#if categories?has_content> 
173            <#list categories as category> 
174                <#if category.getName()!="ALL"> 
175                    <#assign categoryName=category.getName() 
176					categoryId=category.getCategoryId()/> 
177                </#if> 
178            </#list> 
179        </#if> 
180 
181<#if blog!=""> 
182<#assign blogTitle=blog.getTitle()/> 
183<div class="bg_blue_gradient py-4 m_top pb_150"> 
184      <div class="fixed"> 
185        <div class="py-4"> 
186          <span class="font_10 bg_orange white p-2 rounded">${categoryName}</span> 
187          <h1 class="bold white mt-3">${blogTitle } <small class="font_16"><@liferay_reading_time["reading-time"] displayStyle="simple" model=blog /> read</small></h1> 
188          <p class="font_16 my-4 white"><img src="/o/manipal-cigna-theme/images/icons/calendar-white.png" class="mr-2"> <span>${dateUtil.getDate(blog.getDisplayDate(), "MMM dd yyyy", locale)}</span></p> 
189         <!-- <span class="mr-5 white"><img src="/o/manipal-cigna-theme/images/icons/heart-white.png" class="mr-2"> <@liferay_ui["ratings"] className="com.liferay.blogs.model.BlogsEntry" classPK=blog.getEntryId() type="like"/> Likes</span> --> 
190          <span class="white"><img src="/o/manipal-cigna-theme/images/icons/eye-white.png" class="mr-2">  
191          <@liferay_ui["message"] arguments=assetEntry.getViewCount() key=(assetEntry.getViewCount()==1)?then("x-view", "x-views") /></span> 
192        </div> 
193      </div> 
194    </div> 
195    <div class="py-5"> 
196      <div class="fixed"> 
197        <div class="card p-5 round mt_-150 wellnes_card"> 
198          <p class="font_16">${blog.getContent() }</p> 
199        </div> 
200      </div> 
201    </div>  
202   <!-- <div class="pb-5"> 
203      <div class="fixed"> 
204        <h2 class="semi-bold mb-4">Comments</h2> 
205       <@liferay_comment["discussion"] 
206				className="com.liferay.blogs.model.BlogsEntry" 
207				classPK=entryId 
208				formName="" 
209				ratingsEnabled=false 
210				redirect=themeDisplay.getURLCurrent() 
211				userId=themeDisplay.getUserId() 
212			/> 
213      </div> 
214    </div> --> 
215</#if> 
216 
217 
218 
219<!-- 
220<#if entries?has_content> 
221<#assign ArticleList=[]> 
222<!-- Trending --> 
223<!--    <div class="py-5 bg_light_gray"> 
224      <div class="most_veiw m-0"> 
225        <div class="fixed"> 
226          <div class="d-inline-block w-100"> 
227            <h2 class="bold pull-left mt-4 mb-3">Trending</h2> 
228          </div> 
229          <div class="owl-carousel trending owl_nav owl_dot2"> 
230		   
231		   
232	<#list entries as curBlogEntry> 
233	<#assign catIds=[]> 
234    <#assign asset = assetEntryLocalService.getEntry("com.liferay.blogs.model.BlogsEntry", curBlogEntry.getEntryId()) /> 
235    <#assign categories=assetCategoryLocalService.getAssetEntryAssetCategories(asset.getEntryId()) /> 
236    <#if categories?has_content> 
237        <#list categories as category> 
238            <#if category.getName()!="ALL"> 
239                <#assign categoryName=category.getName()> 
240				<#assign catIds =catIds+[category.getCategoryId()]> 
241             </#if> 
242         
243        </#list> 
244    </#if> 
245        <#if catIds?seq_contains(categoryId)> 
246            <#assign assetEntry = assetEntryLocalService.getEntry("com.liferay.blogs.model.BlogsEntry", curBlogEntry.getEntryId()) /> 
247            <#assign ArticleList=ArticleList+[assetEntry]> 
248        </#if> 
249        </#list> 
250        <#if ArticleList?has_content> 
251        <#list ArticleList?sort_by("viewCount")?reverse as article> 
252            <#assign blog=BlogsEntryLocalService.getEntry(article.getClassPK())> 
253            <#assign categories=assetCategoryLocalService.getAssetEntryAssetCategories(article.getEntryId()) /> 
254        <#if categories?has_content> 
255            <#list categories as category> 
256                <#if category.getName()!="ALL"> 
257                    <#assign categoryName=category.getName()> 
258                 </#if> 
259            </#list> 
260         </#if> 
261            <div class="col-12 h-100 item"> 
262              <div class="card card_blos round mb-4"> 
263                 <#if blog.getSmallImageURL(themeDisplay)??> 
264                        <img src="${blog.getSmallImageURL(themeDisplay)}" class="blogImage"> 
265                    </#if> 
266                <div class="p-4"> 
267                  <div class="text-right"> 
268                    <span class="share_icon"> 
269                        <img src="/o/manipal-cigna-theme/images/icons/share.png"> 
270                        <div class="share_div"> 
271                            <p class="bold text_14 m-4 pl-3 text-left">Share via:</p> 
272                            <div class="share_list"> 
273                                <div><a target="popup"  
274  onclick="window.open('https://www.facebook.com/sharer.php?t=${blog.getTitle()}&u=${themeDisplay.getPortalURL()}/wellness/wellness-bites/${blog.getUrlTitle()}','popup','width=600,height=400'); return false;"><img style="width: 26px!important;" src="/o/manipal-cigna-theme/images/icons/facebook_i.png">FACEBOOK</a></div> 
275   
276                                <div><a target="popup"  
277  onclick="window.open('https://twitter.com/intent/tweet?text=${blog.getTitle()}&url=${themeDisplay.getPortalURL()}/wellness/wellness-bites/${blog.getUrlTitle()}','popup','width=600,height=400'); return false;"><img style="width: 26px!important;" src="/o/manipal-cigna-theme/images/icons/twitter_i.png">TWITTER</a></div> 
278 
279                                <div><a target="popup"  
280  onclick="window.open('https://www.linkedin.com/shareArticle/?title=${blog.getTitle()}&url=${themeDisplay.getPortalURL()}/wellness/wellness-bites/${blog.getUrlTitle()}','popup','width=600,height=400'); return false;"><img style="width: 26px!important;" src="/o/manipal-cigna-theme/images/icons/linkedin_i.png">LINKEDIN</a></div> 
281                         
282                                <div><a href="javascript:void(0)"><span class="copy-btn" data-type="attribute" data-attr-name="data-clipboard-text" data-model="couponCode" data-clipboard-text="${themeDisplay.getPortalURL()}/wellness/wellness-bites/${blog.getUrlTitle()}"><img style="width: 26px!important;" src="/o/manipal-cigna-theme/images/icons/link_i.png">COPY CODE</span></a></div> 
283                         
284                                <div><a target="popup"  
285  onclick="window.open('https://web.whatsapp.com/send?text=${themeDisplay.getPortalURL()}/wellness/wellness-bites/${blog.getUrlTitle()}','popup','width=600,height=400'); return false;"><img style="width: 26px!important;" src="/o/manipal-cigna-theme/images/icons/whatsapp_i.png">WHATSAPP</a></div> 
286 
287                                <div><a target="popup" href="mailto:?subject=${blog.getTitle()}&body=${themeDisplay.getPortalURL()}/wellness/wellness-bites/${blog.getUrlTitle()}"><img style="width: 26px!important;" src="/o/manipal-cigna-theme/images/icons/gmail_i.png">EMAIL</a></div>           
288                            </div> 
289                        </div>     
290                    </span> 
291                 
292                </div> 
293                  <div class="px-2 mt-4"> 
294                    <span class="font_10 bg_orange white p-2 rounded">${categoryName}</span> 
295                    <p class="font_18 semi-bold mt-4">${blog.getTitle() }</p> 
296                    <p class="font_16 lh-16">${stringUtil.shorten(htmlUtil.stripHtml(blog.getContent()), 70)}</p> 
297                    <p class="font_16"><img src="/o/manipal-cigna-theme/images/icons/calendar.png" class="mr-2 trendingDate"> <span>${dateUtil.getDate(blog.getDisplayDate(), "MMM dd yyyy", locale)}</span></p> 
298                    <a href="/wellness/wellness-bites/${categoryName?lower_case?replace(" ","-")}/${blog.getUrlTitle()}" class="font_14 reads_more semi-bold">READ MORE <i class="fa fa-angle-right"></i></a> 
299                  </div> 
300                </div> 
301              </div> 
302            </div> 
303	</#list> 
304	</#if> 
305	 </div> 
306        </div> 
307      </div> 
308    </div> 
309</#if> 
310 
311--> 
312<script type="text/javascript"> 
313var userName='${themeDisplay.getUser().getFullName()}'; 
314$( ".sticker-primary" ).after( "<p class='font_18 ml-3 semi-bold mb-0'>"+userName+"</p>" ); 
315$('.lfr-btn-label').html('POST &nbsp;<i class="fa fa-angle-right"></i>'); 
316 
317 
318$(document).ready(function(){ 
319    $(document).on("click", ".copy-btn", function(){ 
320        value = $(this).data('clipboard-text'); //Upto this I am getting value 
321  
322        var $temp = $("<input>"); 
323          $("body").append($temp); 
324          $temp.val(value).select(); 
325          document.execCommand("copy"); 
326          $temp.remove(); 
327    }); 
328}); 
329</script>