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: |
Crafton Hills at Grossmont
@ Kroc Center
10/6/2021 at 1:30 PM
@ Kroc Center
10/6/2021 at 1:30 PM
Crafton Hills
4 |
Grossmont
15 |
SCORING | 1 | 2 | 3 | 4 | FINAL |
---|---|---|---|---|---|
Crafton Hills (,) | 1 | 1 | 0 | 2 | 4 |
Grossmont (,) | 6 | 3 | 5 | 1 | 15 |
SCORING SUMMARY | ||||
---|---|---|---|---|
-- 1st -- | Crafton Hills | Grossmont | ||
Crafton Hills | 01:16 | Luis Zubiate (unassisted) | 1 | 0 |
Grossmont | 00:00 | Brock Kammerer (Brock Kammerer ) | 1 | 1 |
Grossmont | 00:00 | Chase Rodi (Brock Kammerer ) | 1 | 2 |
Grossmont | 00:00 | Austin Gaier (Brock Kammerer ) | 1 | 3 |
Grossmont | 00:00 | Garrett Duardo (Jacob Medrano ) | 1 | 4 |
Grossmont | 00:00 | Nathan Seaux (Jacob Medrano ) | 1 | 5 |
Grossmont | 00:00 | Adam Plots (Jacob Medrano ) | 1 | 6 |
-- 2nd -- | Crafton Hills | Grossmont | ||
Crafton Hills | 07:11 | Leif Tillman (unassisted) | 2 | 6 |
Grossmont | 00:00 | Brock Kammerer (Russell Hess ) | 2 | 7 |
Grossmont | 00:00 | Brock Kammerer (Russell Hess ) | 2 | 8 |
Grossmont | 00:00 | Adam Plots (Garrett Duardo ) | 2 | 9 |
-- 3rd -- | Crafton Hills | Grossmont | ||
Grossmont | 00:00 | Brock Kammerer (Liam Zawadzki ) | 2 | 10 |
Grossmont | 00:00 | Austin Gaier (Nathan Seaux ) | 2 | 11 |
Grossmont | 00:00 | Joseph Asaro (Tony Obregon ) | 2 | 12 |
Grossmont | 00:00 | Torin Carss (Adam Plots ) | 2 | 13 |
Grossmont | 00:00 | Torin Carss (unassisted) | 2 | 14 |
-- 4th -- | Crafton Hills | Grossmont | ||
Crafton Hills | 06:50 | Paul Lopez (unassisted) | 3 | 14 |
Crafton Hills | 01:33 | Ryan Westbrook (unassisted) | 4 | 14 |
Grossmont | 00:00 | Adam Plots (unassisted) | 4 | 15 |
Crafton Hills |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Quentin Whaley * | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |
2 | Domenick Hoff | 0 | 0 | 1 | 0 | 0 | 0 | 1 | |
3 | Josiah Hemsley * | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |
4 | Angel Espinoza * | 0 | 0 | 2 | 1 | 0 | 2 | 1 | |
5 | Paul Lopez * | 1 | 0 | 7 | 2 | 0 | 0 | 2 | |
6 | Tim Gawlik | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
7 | Luis Zubiate * | 1 | 0 | 5 | 2 | 0 | 0 | 0 | |
8 | Giovanni Munoz * | 0 | 0 | 2 | 2 | 0 | 1 | 0 | |
12 | Leif Tillman * | 1 | 0 | 0 | 3 | 0 | 1 | 0 | |
15 | Ryan Westbrook | 1 | 0 | 2 | 0 | 0 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 4 | 0 | 19 | 11 | 0 | 4 | 5 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Quentin Whaley (L, 0-0) | 11 | 2.0 | 2 | 13 |
6 | Tim Gawlik | 4 | 2.0 | 3 | 7 |
Totals | 15 | 4.0 | 5 | 20 |
Grossmont |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Eric Bates * | 0 | 0 | 0 | 3 | 0 | 0 | 0 | |
3 | Ryan Beery | 0 | 0 | 1 | 2 | 0 | 0 | 0 | |
4 | Brock Kammerer * | 4 | 3 | 6 | 1 | 0 | 1 | 0 | |
5 | Jacob Medrano | 0 | 3 | 0 | 0 | 0 | 0 | 0 | |
6 | Chase Rodi * | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |
7 | Wilson Ark | 0 | 0 | 2 | 0 | 0 | 1 | 0 | |
9 | Austin Gaier * | 2 | 0 | 3 | 0 | 0 | 1 | 0 | |
11 | Russell Hess * | 0 | 2 | 0 | 0 | 0 | 0 | 0 | |
12 | Garrett Duardo * | 1 | 1 | 2 | 5 | 0 | 2 | 1 | |
13 | Joseph Asaro | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |
14 | Liam Zawadzki | 0 | 1 | 2 | 0 | 0 | 0 | 1 | |
15 | Nathan Seaux | 1 | 1 | 2 | 0 | 0 | 0 | 0 | |
17 | Tony Obregon | 0 | 1 | 0 | 1 | 0 | 0 | 0 | |
20 | Torin Carss | 2 | 0 | 5 | 3 | 0 | 1 | 0 | |
21 | Adam Plots | 3 | 1 | 7 | 3 | 0 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 15 | 13 | 32 | 18 | 0 | 6 | 2 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Eric Bates (W, 0-0) | 4 | 4.0 | 7 | 11 |
SHOTS | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Crafton Hills | 0 | 0 | 0 | 0 | 0 |
Grossmont | 0 | 0 | 0 | 0 | 0 |
SAVES | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Crafton Hills | 0 | 0 | 0 | 0 | 5 |
Grossmont | 0 | 0 | 0 | 0 | 7 |
EXCLUSION SUMMARY | |||
---|---|---|---|
-- 1st -- | |||
Crafton Hills | 06:14 | Angel Espinoza | Ejection |
Grossmont | 05:09 | Torin Carss | Ejection |
Grossmont | 04:25 | Nathan Seaux | Ejection |
Crafton Hills | 01:44 | Giovanni Munoz | Ejection |
-- 2nd -- | |||
Crafton Hills | 07:08 | Leif Tillman | Ejection |
Grossmont | 00:15 | Chase Rodi | Ejection |
-- 3rd -- | |||
(no penalties) | |||
-- 4th -- | |||
Grossmont | 07:08 | Adam Plots | Ejection |
Crafton Hills | 03:14 | Angel Espinoza | Ejection |
OTHER INFORMATION |
---|
Game Length: 1:00 Attendance: 0 Officials and game personnel: Tyrent Lackey |
Starter * |
$referer.class