There was a problem with a Velocity script
Page/httpd/prestosports/site-public/WEB-INF/themes/generic/related-links-template
ErrorError invoking method 'get(java.lang.Integer)' in java.util.ArrayList at /httpd/prestosports/site-public/WEB-INF/themes/generic/related-links-template[line 54, column 66]
Page source:
1: #macro (printLinkAriaLabelRelatedLinks $event $label)
2:     #if (!$event)
3:         #set ($ariaLabel = $label)
4:     #else
5:         #set ($ariaLabel = "${event.sport} event: ${formatter.formatDate($event.date, 'MMMM d hh:mm a:')}")
6:         #if ($event.neutralSite.length() > 0 || $event.home)
7:                 #set ($vsOrAt = "vs.")
8:         #else
9:                 #set ($vsOrAt = "at")
10:         #end
11:         #if ($event.teams.size() > 1)
12:                 #set ($ariaLabel = "${ariaLabel} ${event.teams.get(0).name} ${vsOrAt} ${event.teams.get(1).name}:")
13:         #elseif ($event.teams.size() == 1)
14:                 #set ($ariaLabel = "${ariaLabel} ${event.teams.get(0).name}:")
15:         #end
16:         #if ($event.neutralSite.length() > 0)
17:                 #set ($ariaLabel = "${ariaLabel} @ ${event.neutralSite}:")
18:         #end
19:         #set ($ariaLabel = "${ariaLabel} ${label}")
20:     #end
21:     aria-label="$ariaLabel"
22: #end ##printLinkAriaLabel
23: 
24: 
25: ## RELATED LINKING
26: #if (!($request.getAttribute("disable_related_links").length() > 0))
27: #if($request.getAttribute("relatedLinksContentPage"))
28:         #set ($contentPage = $request.getAttribute("relatedLinksContentPage"))
29:     #else
30:         #set ($contentPage = $page)
31:     #end
32:     #set ($relatedPages = $contentPage.relatedInSchedule)
33:         #if ($relatedPages.size() > 0)
34:                 ##disable related links from showing again
35:                 $request.setAttribute("disable_related_links", "y")
36: 
37:                 #set ($printedLinks = {})
38:                 #set ($eventLinks = [])
39:                 #set ($relatedEvents = $contentPage.schedule.getEventsWithLink($contentPage.url))
40:                 #if (!$relatedEvents.isEmpty())
41:                         #set ($relatedEvent = $relatedEvents[0])
42:                         #if (!$relatedEvent.links.isEmpty())
43:                                 #set ($eventLinks = $relatedEvent.links)
44:                         #end
45:                 #end
46:   
47:                 <div class="page-related-links clearfix">
48:                         #foreach ($related in $relatedPages)
49:                                 #set ($linkText = $related.mapLabel)
50:                                 #set ($linkUrl = $related.url)
51:                                 #set ($linkMapType = $related.mapType)
52:                                 #set ($linkFound = false)
53:                                 #if (!$relatedEvents.isEmpty())
54:                                         #set ($link = $eventLinks[0])
55:                                         #foreach ($l in $eventLinks)
56:                                         #if ($related.url == $l.url)
57:                                                 #set ($link = $l)
58:                                                 #set ($linkFound = true)
59:                                         #end
60:                                         #end
61:                                 #end
62:                                 #if ($linkFound == true)
63:                                         #set ($linkText = $link.name)
64:                                         #set ($linkUrl = $link.url)
65:                                         #set ($linkMapType = $link.mapType)
66:                                 #end
67:                                 #set ($linkTypeCounter = 1)
68:                                 #set ($linkTypeLabel = $linkText)
69:                                 #if ($printedLinks.containsKey("${$linkText}"))
70:                                         #set ($linkTypeCounter = $printedLinks.get("${linkText}") + 1)
71:                                         #set ($linkTypeLabel = "$linkText${linkTypeCounter}")
72:                                 #end
73:                                 #set ($ignore = $printedLinks.put($linkText, $linkTypeCounter))
74: 
75:                                  #if ($velocityCount > 1) | #end
76:                                     #if ($related.id == $contentPage.id)
77:                                         <strong>${linkText}</strong>
78:                                     #else
79:                                         <a href="$linkUrl" #printLinkAriaLabelRelatedLinks($relatedEvent, $linkTypeLabel) #if ($website.isExternalLink($linkUrl)) target="_blank" #end>${linkText}</a>            
80:                                     #end
81:                                 #end
82:                 </div> 
83:         #end
84: #end ## disable
85: 

Riverside vs. LA Valley
@ Chula Vista, CA (Southwestern College )
11/11/2021 at 10:00 AM

Riverside
10
LA Valley
8
SCORING 1 2 3 4 FINAL
Riverside (11-15, 3-4) 3 3 0 4 10
LA Valley (8-14, 3-3) 1 1 3 3 8
SCORING SUMMARY
-- 1st -- Riverside LA Valley
Riverside 05:08 Louis Grandi (unassisted) 1 0
Riverside 03:53 Relja Mitic (Louis Grandi ) 2 0
LA Valley 03:17 Sargis Kaputikyan (unassisted) 2 1
Riverside 02:10 Tommy Dempsey (Louis Grandi ) 3 1
-- 2nd -- Riverside LA Valley
Riverside 05:40 Louis Grandi (unassisted) 4 1
Riverside 04:18 Louis Grandi (Reese Starkey ) 5 1
LA Valley 03:55 Hakop Ansuryan (unassisted) 5 2
Riverside 01:19 Relja Mitic (Louis Grandi ) 6 2
-- 3rd -- Riverside LA Valley
LA Valley 05:27 Niki Matheisen (unassisted) 6 3
LA Valley 03:45 Arman Hunanyan (unassisted) 6 4
LA Valley 02:18 Niki Matheisen (unassisted) 6 5
-- 4th -- Riverside LA Valley
Riverside 07:37 Relja Mitic (Reese Starkey ) 7 5
Riverside 06:04 Tommy Dempsey (Reese Starkey ) 8 5
LA Valley 05:43 Sam Krboyan (unassisted) 8 6
Riverside 04:45 Jared Salas (Pavle Ristic ) 9 6
LA Valley 03:52 Sam Krboyan (unassisted) 9 7
LA Valley 01:32 Sam Krboyan (unassisted) 9 8
Riverside 00:42 Louis Grandi (unassisted) 10 8

Riverside

# PLAYER POS G A SH STL TO ED BLK
1C Pavle Ristic * 0 1 0 0 0 0 0
2 Louis Grandi * 4 3 0 0 0 0 0
6 Tanner Childers 0 0 0 0 0 0 0
7 Tommy Dempsey * 2 0 0 0 0 0 0
8 Reese Starkey * 0 3 0 0 0 0 0
10 John Mahon * 0 0 0 0 0 0 0
11 Relja Mitic * 3 0 0 0 0 0 0
13 Jared Salas 1 0 0 0 0 0 0
23 Sebestian De La Pena-Kenley * 0 0 0 0 0 0 0
TM Team 0 0 0 0 0 0 0
Totals 10 7 0 0 0 0 0
# GOALIES GA Qtrs SV SH
1C Pavle Ristic (W, 7-8) 8 4.0 13 21

LA Valley

# PLAYER POS G A SH STL TO ED BLK
1 Daniel Smkovsky * 0 0 0 2 0 0 0
2 Santiago Bernal 0 0 0 0 0 0 0
3 Sargis Kaputikyan * 1 0 4 4 3 1 0
4 Carlos Tadeo 0 0 0 0 0 0 0
5 Niki Matheisen * 2 0 8 1 1 4 0
6 Max Ayrapetyan * 0 0 1 1 1 0 0
7 Hakop Ansuryan * 1 0 4 1 2 2 0
8 Erik Sarkissian 0 0 1 0 0 1 0
9 Levon Harutyunyan 0 0 0 0 0 0 0
10 Sam Krboyan * 3 0 4 0 2 1 0
11 Ethan Francis 0 0 0 0 0 0 0
12 Sahak Abrahamyan 0 0 0 0 0 0 0
13 Edward Shanakian * 0 0 0 0 0 0 0
14 Charles Patsch 0 0 0 0 0 0 0
15 Arman Hunanyan 1 0 1 0 0 4 0
16 Derek Allen 0 0 0 0 0 0 0
TM Team 0 0 0 0 0 0 0
Totals 8 0 23 9 9 13 0
# GOALIES GA Qtrs SV SH
1 Daniel Smkovsky (L, 0-0) 10 4.0 5 15
SHOTS 1 2 3 4 TOTAL
Riverside 0 0 0 0 0
LA Valley 0 0 0 0 0
SAVES 1 2 3 4 TOTAL
Riverside 0 0 0 0 13
LA Valley 0 0 0 0 5
EXCLUSION SUMMARY
-- 1st --
LA Valley 05:30 Max Ayrapetyan Ejection
LA Valley 05:09 Edward Shanakian Penalty
Riverside 03:43 Sebestian De La Pena-Kenley Ejection
Riverside 02:31 Tanner Childers Penalty
Riverside 01:11 Jared Salas Ejection
-- 2nd --
Riverside 06:21 Reese Starkey Ejection
Riverside 05:17 Reese Starkey Ejection
Riverside 03:18 Jared Salas Ejection
LA Valley 01:48 Niki Matheisen Ejection
Riverside 00:12 Tommy Dempsey Ejection
-- 3rd --
Riverside 07:19 Relja Mitic Ejection
Riverside 02:20 Tommy Dempsey Penalty
Riverside 01:36 Tanner Childers Ejection
-- 4th --
Riverside 07:28 Louis Grandi Ejection
Riverside 05:26 Sebestian De La Pena-Kenley Misconduct
Riverside 04:28 Louis Grandi Ejection
Riverside 03:09 Relja Mitic Ejection
Riverside 01:50 Jared Salas Ejection
LA Valley 01:32 Sam Krboyan Misconduct
OTHER INFORMATION
Game Length: 1:10
Attendance: 0
Officials and game personnel: Nicho DellaValle
Starter *