w
There was a problem with a Velocity script | |
Page | sports/mwaterpolo/2021-22/boxscores/related-links-template |
Error | Error invoking method 'get(java.lang.Integer)' in java.util.ArrayList at g5xpj7agcui7frapsports/mwaterpolo/2021-22/boxscores/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 ##printLinkAriaLabelRelatedLinks 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 d-flex justify-content-start align-items-center gap-2"> 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 = "${linkTypeLabel} ${linkTypeCounter}") 72: #end 73: #set ($ignore = $printedLinks.put($linkTypeLabel, $linkTypeCounter)) 74: 75: <a class="btn btn-primary btn-sm #if ($related.id == $contentPage.id) active #end " href="$related.url" #printLinkAriaLabelRelatedLinks($relatedEvent, $linkTypeLabel) #if ($website.isExternalLink($related.url)) target="_blank" #end> 76: #if ($linkMapType == "GA") ##gallery 77: <span class="far fa-images"></span> 78: #elseif ($linkMapType == "TI") ##tickets 79: <span class="fas fa-ticket-alt"></span> 80: #elseif($linkMapType == "RC") ##recap 81: <span class="fa fa-share"></span> 82: #elseif($linkMapType == "PR") ##preview 83: <span class="far fa-eye"></span> 84: #elseif($linkMapType == "LS") ##live stats 85: <span class="fas fa fa-eye"></span> 86: #elseif($linkMapType == "VI") ##video 87: <span class="fa fa-video-camera"></span> 88: #elseif($linkMapType == "AU") ## audio 89: <span class="fas fa-headphones-alt"></span> 90: #elseif($linkMapType == "DI") ##directions 91: <span class="fas fa-directions"></span> 92: #elseif($linkMapType == "BS") ##box scores 93: <span class="far fa-chart-bar"></span> 94: #elseif($linkMapType == "RE") ##results 95: <span class="fa fa-calculator"></span> 96: #elseif($linkMapType == "LI") ##custom link 97: <span class="fa fa-external-link"></span> 98: #end 99: <span class="recap-label">${linkText}</span> 100: </a> 101: #end 102: </div> 103: #end 104: #end ## disable 105: |
Diablo Valley vs. West Valley
@ Las Positas College
11/13/2021 at 5:30 PM
@ Las Positas College
11/13/2021 at 5:30 PM
Diablo Valley
6 |
West Valley
14 |
SCORING | 1 | 2 | 3 | 4 | FINAL |
---|---|---|---|---|---|
Diablo Valley (17-3, 4-0) | 0 | 2 | 3 | 1 | 6 |
West Valley (16-3, 6-0) | 4 | 4 | 3 | 3 | 14 |
SCORING SUMMARY | ||||
---|---|---|---|---|
-- 1st -- | Diablo Valley | West Valley | ||
West Valley | 07:41 | Ante Buzov (Gojko Kapovic ) | 0 | 1 |
West Valley | 05:46 | Carlos Zayola (Jake Mendez ) | 0 | 2 |
West Valley | 02:01 | Carlos Zayola (Gojko Kapovic ) | 0 | 3 |
West Valley | 01:09 | Bendeguz Aubeli (Ante Buzov ) | 0 | 4 |
-- 2nd -- | Diablo Valley | West Valley | ||
Diablo Valley | 06:17 | Ryan Henderson (Spencer Lowell ) | 1 | 4 |
West Valley | 05:36 | Hamish Bonnar (Gojko Kapovic ) | 1 | 5 |
West Valley | 04:52 | Ante Buzov (Gojko Kapovic ) | 1 | 6 |
West Valley | 02:21 | Gojko Kapovic (unassisted) | 1 | 7 |
Diablo Valley | 02:04 | Ryan Henderson (Noah Richards ) | 2 | 7 |
West Valley | 00:18 | Ante Buzov (unassisted) | 2 | 8 |
-- 3rd -- | Diablo Valley | West Valley | ||
Diablo Valley | 05:09 | Spencer Lowell (Noah Richards ) | 3 | 8 |
Diablo Valley | 04:26 | Ethan Braga (Donovan Chan ) | 4 | 8 |
West Valley | 03:24 | Lucas Romanguera (Gojko Kapovic ) | 4 | 9 |
Diablo Valley | 03:14 | Finley Zilk (Finley Zilk ) | 5 | 9 |
West Valley | 01:58 | Ante Buzov (unassisted) | 5 | 10 |
West Valley | 00:50 | UP - Lucas Romanguera (Ante Buzov ) | 5 | 11 |
-- 4th -- | Diablo Valley | West Valley | ||
West Valley | 05:30 | UP - Ran Souva (Gojko Kapovic ) | 5 | 12 |
West Valley | 04:35 | Ante Buzov (Ran Souva ) | 5 | 13 |
West Valley | 01:57 | Caven Brown (Gojko Kapovic ) | 5 | 14 |
Diablo Valley | 01:15 | Ethan Salweno (unassisted) | 6 | 14 |
Diablo Valley |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
TM | Team | 0 | 0 | 0 | 3 | 0 | 0 | 6 | |
Totals | 6 | 5 | 0 | 3 | 0 | 0 | 6 |
# | GOALIES | GA | Qtrs | SV | SH |
---|
West Valley |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Kai Seed * | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
3 | Caven Brown | 1 | 0 | 2 | 1 | 0 | 1 | 0 | |
4 | Carlos Zayola * | 2 | 0 | 1 | 0 | 1 | 0 | 0 | |
5 | Jake Mendez | 0 | 1 | 0 | 0 | 1 | 0 | 0 | |
6 | Bendeguz Aubeli | 1 | 0 | 2 | 3 | 0 | 0 | 0 | |
7 | Lucas Romanguera * | 2 | 0 | 6 | 2 | 2 | 3 | 2 | |
8 | Gabriel Vado | 0 | 0 | 2 | 0 | 0 | 0 | 0 | |
9 | Ran Souva * | 1 | 1 | 4 | 0 | 1 | 0 | 0 | |
12 | Gojko Kapovic * | 1 | 7 | 5 | 4 | 1 | 1 | 0 | |
14 | Ante Buzov * | 5 | 2 | 7 | 1 | 0 | 3 | 0 | |
15 | Mario Almarza * | 0 | 0 | 1 | 1 | 0 | 2 | 0 | |
17 | Togan Ozbek | 0 | 0 | 3 | 2 | 0 | 0 | 0 | |
23 | Hamish Bonnar | 1 | 0 | 2 | 0 | 0 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 14 | 11 | 35 | 14 | 6 | 10 | 2 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Kai Seed (W, 14-3) | 6 | 4.0 | 11 | 17 |
SHOTS | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Diablo Valley | 0 | 0 | 0 | 0 | 0 |
West Valley | 9 | 9 | 9 | 0 | 27 |
SAVES | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Diablo Valley | 0 | 0 | 0 | 0 | 4 |
West Valley | 0 | 0 | 0 | 0 | 11 |
EXCLUSION SUMMARY | |||
---|---|---|---|
-- 1st -- | |||
West Valley | 07:25 | Ante Buzov | Ejection |
Diablo Valley | 07:03 | Donovan Chan | Ejection |
Diablo Valley | 06:12 | Spencer Lowell | Ejection |
Diablo Valley | 05:21 | Nathan Lyckfors | Penalty |
West Valley | 02:25 | Mario Almarza | Ejection |
West Valley | 00:56 | Hamish Bonnar | Ejection |
-- 2nd -- | |||
Diablo Valley | 04:21 | Ethan Salweno | Ejection |
West Valley | 03:38 | Mario Almarza | Ejection |
West Valley | 02:51 | Carlos Zayola | Ejection |
Diablo Valley | 00:40 | Nathan Lyckfors | Ejection |
-- 3rd -- | |||
Diablo Valley | 07:09 | Finley Zilk | Ejection |
West Valley | 05:39 | Bendeguz Aubeli | Ejection |
Diablo Valley | 03:25 | Ethan Braga | Penalty |
West Valley | 01:36 | Carlos Zayola | Ejection |
Diablo Valley | 00:53 | Ethan Braga | Ejection |
West Valley | 00:35 | Togan Ozbek | Ejection |
West Valley | 00:13 | Gojko Kapovic | Ejection |
-- 4th -- | |||
Diablo Valley | 05:45 | Ryan Henderson | Ejection |
Diablo Valley | 05:02 | Noah Richards | Penalty |
West Valley | 03:46 | Ante Buzov | Ejection |
OTHER INFORMATION |
---|
Game Length: 1:06 Attendance: 0 Officials and game personnel: Matt Folsom |
Starter * |
$referer.class