I ZESPÓŁ
Sezon 2022/2023
An error occurred while processing the template.
Java method "com.neutrica.smotai.clubs.commons.util.URLBuilder.buildPlayerProfileURL(long, long, String, String, String, long, javax.portlet.RenderResponse)" threw an exception when invoked on com.neutrica.smotai.clubs.commons.util.URLBuilder object "com.neutrica.smotai.clubs.commons.util.URLBuilder@1d4783f2"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign friendlyUrl = playerProfileUR...  [in template "20100#20127#583242" at line 16, column 33]
----
1<#assign playerProfileURLBuilder = serviceLocator.findService("com.neutrica.smotai.clubs.commons.util.URLBuilder")/> 
2<#setting locale = locale> 
3<#assign friendlyUrl=""/> 
4 
5<div class="team-container"> 
6    <#if entries?has_content> 
7        <#list entries as group> 
8            <#if group.getName()?has_content > 
9				<h3 class="title-l">${group.getName()}</h3> 
10            </#if> 
11			<div class="players-wrapper"> 
12                <#if group.getPeople()?has_content> 
13                    <#list group.getPeople() as person> 
14						<div> 
15                            <#if singlePlayerPageId?has_content> 
16                                <#assign friendlyUrl = playerProfileURLBuilder.buildPlayerProfileURL(themeDisplay.getPlid(), person.id, person.firstName, person.lastName, person.getSeasonName(locale), singlePlayerPageId, renderResponse) /> 
17                            </#if> 
18							<a class="player animation-fade-in-left-trigger" href="${friendlyUrl}"> 
19                                <#if person.getPhoto()?has_content> 
20									<div class="photo"> 
21										<img loading="lazy" class="img-player" src="${person.getPhoto().getUrl()}?imageThumbnail=2" data-fileentryid="${person.getPhoto().getFileEntryId()}" 
22												alt="${TranslationUtil.get("person-photo", locale, "com.neutrica.smotai.clubs.playersgrid.web")} - ${person.getFirstName()} ${person.getLastName()}"> 
23									</div> 
24                                </#if> 
25								<div class="player-info-container"> 
26									<div class="details"> 
27										<div class="player-name"> 
28											<div>${person.getFirstName()}</div> 
29											<div>${person.getLastName()}</div> 
30										</div> 
31                                        <#if person.getNumber() != 0> 
32											<span class="number">#${person.getNumber()}</span> 
33                                        <#else> 
34											<p class="caption position">${person.getPosition(locale)}</p> 
35                                        </#if> 
36									</div> 
37								</div> 
38							</a> 
39						</div> 
40                    </#list> 
41                </#if> 
42			</div> 
43        </#list> 
44    </#if> 
45</div> 

SZTAB

An error occurred while processing the template.
Java method "com.neutrica.smotai.clubs.commons.util.URLBuilder.buildPlayerProfileURL(long, long, String, String, String, long, javax.portlet.RenderResponse)" threw an exception when invoked on com.neutrica.smotai.clubs.commons.util.URLBuilder object "com.neutrica.smotai.clubs.commons.util.URLBuilder@1d4783f2"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign friendlyUrl = playerProfileUR...  [in template "20100#20127#1678747" at line 13, column 33]
----
1<#assign playerProfileURLBuilder = serviceLocator.findService("com.neutrica.smotai.clubs.commons.util.URLBuilder")/> 
2<#setting locale = locale> 
3<#assign friendlyUrl=""/> 
4 
5<div class="team-container"> 
6	<div class="players-wrapper"> 
7        <#if entries?has_content> 
8            <#list entries as group> 
9                <#if group.getPeople()?has_content> 
10                    <#list group.getPeople() as person> 
11						<div> 
12                            <#if singlePlayerPageId?has_content> 
13                                <#assign friendlyUrl = playerProfileURLBuilder.buildPlayerProfileURL(themeDisplay.getPlid(), person.id, person.firstName, person.lastName, person.getSeasonName(locale), singlePlayerPageId, renderResponse) /> 
14                            </#if> 
15							<a class="player animation-fade-in-left-trigger" href="${friendlyUrl}"> 
16                                <#if person.getPhoto()?has_content> 
17									<div class="photo"> 
18										<img loading="lazy" class="img-player" src="${person.getPhoto().getUrl()}?imageThumbnail=2" data-fileentryid="${person.getPhoto().getFileEntryId()}" 
19												alt="${TranslationUtil.get("person-photo", locale, "com.neutrica.smotai.clubs.playersgrid.web")} - ${person.getFirstName()} ${person.getLastName()}"> 
20									</div> 
21                                </#if> 
22								<div class="player-info-container"> 
23									<div class="details"> 
24										<div class="player-name"> 
25											<div>${person.getFirstName()}</div> 
26											<div>${person.getLastName()}</div> 
27										</div> 
28                                        <#if person.getNumber() != 0> 
29											<span class="number">#${person.getNumber()}</span> 
30                                        <#else> 
31											<p class="caption position">${person.getPosition(locale)}</p> 
32                                        </#if> 
33									</div> 
34								</div> 
35							</a> 
36						</div> 
37                    </#list> 
38                </#if> 
39            </#list> 
40        </#if> 
41	</div> 
42</div>