Došlo je do pogreške prilikom obrade predloška.
Java method "com.sun.proxy.$Proxy116.getLayout(long, boolean, long)" threw an exception when invoked on com.sun.proxy.$Proxy116 object "com.liferay.portal.service.impl.LayoutLocalServiceImpl@20847fb2"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign theLayout = layoutLocalServic...  [in template "20115#20151#63738" in macro "renderPageLink" at line 13, column 9]
	- Reached through: @renderPageLink Link=Link  [in template "20115#20151#63738" at line 129, column 73]
----
1<#assign langId = themeDisplay.getLanguageId() />  
2<#assign ImagesLink = "" /> 
3<#assign ImagesLinkTitle = "" /> 
4<#assign ImagesLinkTarget = "" /> 
5<#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
6 
7<#-- render links --> 
8<#macro renderPageLink Link> 
9    <#assign layoutId = getterUtil.getLong(Link.getData()) /> 
10    <#assign is_link_to_page_selected = (layoutId gt 0) /> 
11 
12    <#if is_link_to_page_selected > 
13        <#assign theLayout = layoutLocalService.getLayout(themeDisplay.getScopeGroupId(), false, layoutId) /> 
14        <a href="${Link.getFriendlyUrl()}" class="links__link">${Link.LinksTitle.getData()}</a> 
15    </#if> 
16</#macro> 
17 
18<#function strSlug title seperator="-" idSafe=true> 
19  <#local flipped = "_" /> 
20  <#if seperator == "_"> 
21    <#local flipped = "-" /> 
22  </#if> 
23 
24  <#local string = title?replace("[" + flipped + "]+", seperator, "r") /> 
25  <#local string = string?lower_case /> 
26  <#local string = string?replace("[ \t\n\x0B\f\r]+", seperator, "r") /> 
27  <#local string = string?replace("č|ć", "c", "r") /> 
28  <#local string = string?replace("š", "s", "r") /> 
29  <#local string = string?replace("ž", "z", "r") /> 
30  <#local string = string?replace("đ", "d", "r") /> 
31  <#local string = string?replace("[^" + seperator + "a-z0-9]+", seperator, "r") /> 
32 
33  <#if idSafe == true> 
34    <#local string = string?replace("^" + seperator, "", "r") /> 
35  </#if> 
36 
37  <#local string = string?replace("[" + seperator + "]+", seperator, "r") /> 
38 
39  <#return string /> 
40</#function> 
41 
42<section class="block intro intro--tabs"> 
43    <div class="container container--relative"> 
44        <div class="row"> 
45            <#if ImagesSeparator.getSiblings()?has_content> 
46                <#list ImagesSeparator.getSiblings() as Content> 
47                    <#if Content.Images.getSiblings()?has_content> 
48                        <div class="col-md-12"> 
49                            <#list Content.Images.getSiblings() as Image> 
50                                <#if Image.getData()?? && Image.getData() != ""> 
51                                    <#assign tabsHaveImage = true />  
52                                <#else> 
53                                    <#assign tabsHaveImage = false />  
54                                </#if> 
55                                <#if tabsHaveImage> 
56                                    <#if (Image.ImagesMobile.getData()??)!false && (Image.ImagesMobile.getData())!false != ""> 
57                                        <div class="intro__image intro__image--tabs-with-image has-responsive-background" 
58                                            data-image-desktop="${portalUtil.getCDNHost(true)}${Image.getData()}"  
59                                            data-image-mobile="${portalUtil.getCDNHost(true)}${Image.ImagesMobile.getData()}"> 
60                                    <#else> 
61                                        <div class="intro__image intro__image--tabs-with-image" style="background-image: url(${portalUtil.getCDNHost(true)}${Image.getData()});"> 
62                                    </#if> 
63                                        <div class="intro__content intro__content--tabs-with-image"> 
64                                <#else> 
65                                <div class="intro__image intro__image--tabs"> 
66                                    <div class="intro__content intro__content--tabs"> 
67                                </#if> 
68                                        <#if Image.ImagesTitle.getData()?? && Image.ImagesTitle.getData() != ""> 
69                                            <#if tabsHaveImage> 
70                                                <h1 class="intro__title intro__title--tabs-with-image">${Image.ImagesTitle.getData()}</h1> 
71                                            <#else> 
72                                                <h1 class="intro__title intro__title--tabs">${Image.ImagesTitle.getData()}</h1> 
73                                            </#if> 
74                                        </#if> 
75 
76                                        <#if .vars['reserved-article-description'].data?? && .vars['reserved-article-description'].data != ""> 
77                                            <#if tabsHaveImage> 
78                                                <p class="intro__caption intro__caption--tabs-with-image">${.vars['reserved-article-description'].data}</p> 
79                                            <#else> 
80                                                <p class="intro__caption intro__caption--tabs">${.vars['reserved-article-description'].data}</p> 
81                                            </#if> 
82                                        </#if> 
83 
84                                        <#if Image.ImagesLink.images_link_other?? && Image.ImagesLink.images_link_other.getData() != ""> 
85                                            <#assign ImagesLink = Image.ImagesLink.images_link_other.getData() /> 
86                                            <#assign ImagesLinkTarget = 'target="_blank"' /> 
87                                            <#assign ImagesLinkTitle = Image.ImagesLinkTitle.getData() /> 
88                                        <#elseif Image.ImagesLink.getData()?? && Image.ImagesLink.getData() != "" && Image.ImagesLinkTitle.getData()?? && Image.ImagesLinkTitle.getData() != ""> 
89                                            <#assign ImagesLink = Image.ImagesLink.getFriendlyUrl() /> 
90                                            <#assign ImagesLinkTitle = Image.ImagesLinkTitle.getData() /> 
91                                        </#if> 
92                                    </div> 
93                                </div> 
94                            </#list> 
95 
96                            <#if OtherSeparator.getSiblings()?has_content> 
97                                <#list OtherSeparator.getSiblings() as Content> 
98                                    <#if Content.InfoBlock.getSiblings()?has_content> 
99                                        <#list Content.InfoBlock.getSiblings() as Block> 
100                                            <#if Block.getData()?? && Block.getData() != ""> 
101                                                <#assign haveInfo = true />  
102                                            <#else> 
103                                                <#assign haveInfo = false />  
104                                            </#if> 
105                                        </#list> 
106                                    </#if> 
107                                </#list> 
108                            </#if> 
109 
110                             
111                            <#if LinksSeparator.getSiblings()?has_content> 
112                                <#if tabsHaveImage> 
113                                    <div class="intro__sidebar intro__sidebar--tabs-with-image"> 
114                                <#else> 
115                                    <div class="intro__sidebar"> 
116                                </#if> 
117                                    <#list LinksSeparator.getSiblings() as Content> 
118                                        <#if Content.Links.getSiblings()?has_content> 
119                                            <div class="intro__links intro__links--tabs"> 
120                                                <#list Content.Links.getSiblings() as Links> 
121                                                    <div class="links links--category"> 
122                                                        <h4 class="links__title links__title--category">${Links.getData()}</h4> 
123                                                        <div class="links__list"> 
124                                                            <#list Links.LinksLink.getSiblings() as Link> 
125                                                                <#if Link.LinksOtherLink?? > 
126                                                                    <#if Link.LinksOtherLink.getData()?? && Link.LinksOtherLink.getData() != ""> 
127                                                                        <a href="${Link.LinksOtherLink.getData()}" target="_blank" class="links__link">${Link.LinksTitle.getData()}</a> 
128                                                                    <#else> 
129                                                                        <@renderPageLink Link=Link /> 
130                                                                    </#if> 
131                                                                <#else> 
132                                                                    <@renderPageLink Link=Link /> 
133                                                                </#if> 
134                                                            </#list> 
135                                                        </div> 
136                                                    </div> 
137                                                </#list> 
138 
139                                                <#if ImagesLink != "" && ImagesLinkTitle != ""> 
140                                                    <a href="${ImagesLink}" class="links links--special" ${ImagesLinkTarget}>${ImagesLinkTitle}</a> 
141                                                </#if> 
142 
143                                                <#if haveInfo> 
144                                                    <#if OtherSeparator.getSiblings()?has_content> 
145                                                        <div class="intro__infos"> 
146                                                            <#list OtherSeparator.getSiblings() as Content> 
147                                                                <#if Content.InfoBlock.getSiblings()?has_content> 
148                                                                    <#list Content.InfoBlock.getSiblings() as Block> 
149                                                                        <#if Block.getData() != "" && Block.getData() != ""> 
150                                                                            <div class="intro__info intro__info--page"> 
151                                                                                <div class="info"> 
152                                                                                    <h4 class="info__title">${Block.getData()}</h4> 
153                                                                                    <#list Block.InfoContent.getSiblings() as Information> 
154                                                                                        <div class="info__content">${Information.getData()}</div> 
155                                                                                    </#list> 
156                                                                                </div> 
157                                                                            </div> 
158                                                                        </#if> 
159                                                                    </#list> 
160                                                                </#if> 
161                                                            </#list> 
162                                                        </div> 
163                                                    </#if> 
164                                                </#if> 
165                                            </div> 
166                                        </#if> 
167                                    </#list> 
168                                </div> 
169                            </#if> 
170 
171                            <#if TabsSeparator.getSiblings()?has_content> 
172                                <#if tabsHaveImage> 
173                                    <div class="intro__nav intro__nav--tabs-with-image"> 
174                                <#else> 
175                                    <div class="intro__nav"> 
176                                </#if> 
177                                    <#list TabsSeparator.getSiblings() as Content> 
178                                        <#if Content.TabsTitle.getSiblings()?has_content> 
179                                            <nav class="intro__nav__tabs tabs"> 
180                                                <#assign count_tabs = 0 /> 
181                                                <#list Content.TabsTitle.getSiblings() as Titles> 
182                                                    <#if count_tabs == 0 > 
183                                                        <#if tabsHaveImage> 
184                                                            <a href="#${strSlug('${Titles.getData()}')}" class="tabs__link tabs__link--tabs-with-image tabs__link--active" data-name="${strSlug('${Titles.getData()}')}" data-target="${count_tabs}">${Titles.getData()}</a> 
185                                                        <#else> 
186                                                            <a href="#${strSlug('${Titles.getData()}')}" class="tabs__link tabs__link--active" data-name="${strSlug('${Titles.getData()}')}" data-target="${count_tabs}">${Titles.getData()}</a> 
187                                                        </#if> 
188                                                    <#else> 
189                                                        <#if tabsHaveImage> 
190                                                            <a href="#${strSlug('${Titles.getData()}')}" class="tabs__link tabs__link--tabs-with-image" data-name="${strSlug('${Titles.getData()}')}" data-target="${count_tabs}">${Titles.getData()}</a> 
191                                                        <#else> 
192                                                            <a href="#${strSlug('${Titles.getData()}')}" class="tabs__link" data-name="${strSlug('${Titles.getData()}')}" data-target="${count_tabs}">${Titles.getData()}</a> 
193                                                        </#if> 
194                                                    </#if> 
195                                                    <#assign count_tabs++ /> 
196                                                </#list> 
197                                            </nav> 
198 
199                                            <#if tabsHaveImage> 
200                                                <div class="intro__nav__actions intro__nav__actions--tabs-with-image actions"> 
201                                            <#else> 
202                                                <div class="intro__nav__actions actions"> 
203                                            </#if> 
204                                                <#if tabsHaveImage> 
205                                                    <a href="#" class="actions__link actions__link--share actions__link--share-white"></a> 
206                                                    <a href="#" class="actions__link actions__link--print actions__link--print-white"></a> 
207                                                <#else> 
208                                                    <a href="#" class="actions__link actions__link--share"></a> 
209                                                    <a href="#" class="actions__link actions__link--print"></a> 
210                                                </#if> 
211                                            </div> 
212 
213                                            <#if tabsHaveImage> 
214                                                <div class="intro__share intro__share--tabs-with-image share"> 
215                                            <#else> 
216                                                <div class="intro__share share"> 
217                                            </#if> 
218                                                <h4 class="share__title"><#if langId == "hr_HR">Podijeli<#else>Share</#if></h4> 
219                                                <a class="share__link share__link--facebook" href="https://www.facebook.com/sharer/sharer.php?u=" target="_blank">Facebook</a> 
220                                                <a class="share__link share__link--twitter" href="https://twitter.com/home?status=" target="_blank">Twitter</a> 
221                                                <a class="share__link share__link--linkedln" href="https://www.linkedin.com/shareArticle?mini=true&url=" target="_blank">LinkedIn</a> 
222                                            </div> 
223                                        </#if> 
224                                    </#list> 
225                                </div> 
226                            </#if> 
227                        </div> 
228                    </#if> 
229                </#list> 
230            </#if> 
231        </div> 
232    </div> 
233</section> 

Vaš upit je zaprimljen.

Odgovorit ćemo Vam u najkraćem mogućem roku.