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 vs. San Diego Miramar
@ Chula Vista, CA
11/5/2021 at 9:30 AM
@ Chula Vista, CA
11/5/2021 at 9:30 AM
SCORING | 1 | 2 | 3 | 4 | FINAL |
---|---|---|---|---|---|
Crafton Hills (,) | 0 | 3 | 3 | 4 | 10 |
San Diego Miramar (,) | 16 | 0 | 0 | 0 | 16 |
SCORING SUMMARY | ||||
---|---|---|---|---|
-- 1st -- | Crafton Hills | San Diego Miramar | ||
San Diego Miramar | 00:00 | Sam Lawrence (unassisted) | 0 | 1 |
San Diego Miramar | 00:00 | Sam Lawrence (unassisted) | 0 | 2 |
San Diego Miramar | 00:00 | Sam Lawrence (unassisted) | 0 | 3 |
San Diego Miramar | 00:00 | Sam Lawrence (unassisted) | 0 | 4 |
San Diego Miramar | 00:00 | Sam Collins (unassisted) | 0 | 5 |
San Diego Miramar | 00:00 | Cade Bowman (unassisted) | 0 | 6 |
San Diego Miramar | 00:00 | Cade Bowman (unassisted) | 0 | 7 |
San Diego Miramar | 00:00 | Cade Bowman (unassisted) | 0 | 8 |
San Diego Miramar | 00:00 | Cade Bowman (unassisted) | 0 | 9 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 10 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 11 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 12 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 13 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 14 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 15 |
San Diego Miramar | 00:00 | Carson Miller (unassisted) | 0 | 16 |
-- 2nd -- | Crafton Hills | San Diego Miramar | ||
Crafton Hills | 03:29 | Paul Lopez (unassisted) | 1 | 16 |
Crafton Hills | 02:31 | Leif Tillman (unassisted) | 2 | 16 |
Crafton Hills | 00:37 | Paul Lopez (unassisted) | 3 | 16 |
-- 3rd -- | Crafton Hills | San Diego Miramar | ||
Crafton Hills | 05:28 | Luis Zubiate (unassisted) | 4 | 16 |
Crafton Hills | 04:15 | Paul Lopez (Josiah Hemsley ) | 5 | 16 |
Crafton Hills | 00:10 | Paul Lopez (unassisted) | 6 | 16 |
-- 4th -- | Crafton Hills | San Diego Miramar | ||
Crafton Hills | 05:24 | Ryan Westbrook (unassisted) | 7 | 16 |
Crafton Hills | 04:53 | Josiah Hemsley (unassisted) | 8 | 16 |
Crafton Hills | 03:58 | Leif Tillman (unassisted) | 9 | 16 |
Crafton Hills | 00:25 | Paul Lopez (unassisted) | 10 | 16 |
Crafton Hills |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Quentin Whaley | 0 | 0 | 0 | 0 | 1 | 0 | 1 | |
2 | Domenick Hoff | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
3 | Josiah Hemsley * | 1 | 1 | 4 | 1 | 0 | 1 | 1 | |
4 | Angel Espinoza | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |
5 | Paul Lopez * | 5 | 0 | 6 | 1 | 0 | 0 | 0 | |
6 | Tim Gawlik * | 0 | 0 | 0 | 1 | 1 | 0 | 2 | |
7 | Luis Zubiate * | 1 | 0 | 5 | 1 | 0 | 1 | 0 | |
8 | Giovanni Munoz * | 0 | 0 | 0 | 0 | 0 | 1 | 1 | |
9 | Peyton Pruitt * | 0 | 0 | 2 | 2 | 0 | 2 | 0 | |
10 | Jason Velasquez | 0 | 0 | 0 | 0 | 0 | 0 | 1 | |
12 | Leif Tillman * | 2 | 0 | 3 | 2 | 2 | 0 | 0 | |
15 | Ryan Westbrook | 1 | 0 | 1 | 1 | 0 | 1 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 10 | 1 | 21 | 9 | 4 | 7 | 7 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Quentin Whaley | 4 | 1.0 | 1 | 5 |
6 | Tim Gawlik (L, 0-0) | 12 | 3.0 | 7 | 19 |
Totals | 16 | 4.0 | 8 | 24 |
San Diego Miramar |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Maverick Mitchell * | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |
3 | Sam Lawrence * | 4 | 0 | 4 | 1 | 1 | 0 | 0 | |
4 | Riley Reid | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |
5 | Jacob Miller * | 0 | 0 | 0 | 1 | 1 | 0 | 0 | |
6 | Sam Collins * | 1 | 0 | 1 | 2 | 1 | 1 | 0 | |
7 | Cade Bowman * | 4 | 0 | 4 | 1 | 1 | 0 | 0 | |
8 | Carson Miller * | 7 | 0 | 7 | 2 | 2 | 3 | 1 | |
10 | Ethan Rose | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
14 | Nathan Krager * | 0 | 0 | 0 | 1 | 2 | 1 | 0 | |
15 | Dylan Pierce * | 0 | 0 | 0 | 0 | 3 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 16 | 0 | 16 | 10 | 12 | 5 | 1 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Maverick Mitchell (W, 0-0) | 10 | 4.0 | 12 | 22 |
SHOTS | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Crafton Hills | 0 | 0 | 0 | 0 | 0 |
San Diego Miramar | 0 | 0 | 0 | 0 | 0 |
SAVES | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Crafton Hills | 0 | 0 | 0 | 0 | 8 |
San Diego Miramar | 0 | 0 | 0 | 0 | 12 |
EXCLUSION SUMMARY | |||
---|---|---|---|
-- 1st -- | |||
Crafton Hills | 06:51 | Peyton Pruitt | Penalty |
San Diego Miramar | 05:26 | Nathan Krager | Ejection |
San Diego Miramar | 00:54 | Jacob Miller | Ejection |
-- 2nd -- | |||
Crafton Hills | 07:10 | Angel Espinoza | Ejection |
Crafton Hills | 03:51 | Luis Zubiate | Penalty |
San Diego Miramar | 03:33 | Cade Bowman | Ejection |
San Diego Miramar | 00:38 | Cade Bowman | Penalty |
-- 3rd -- | |||
Crafton Hills | 06:31 | Peyton Pruitt | Ejection |
Crafton Hills | 04:39 | Josiah Hemsley | Ejection |
San Diego Miramar | 00:12 | Maverick Mitchell | Penalty |
Crafton Hills | 00:01 | Giovanni Munoz | Ejection |
-- 4th -- | |||
Crafton Hills | 05:24 | Ryan Westbrook | Ejection |
San Diego Miramar | 02:36 | Dylan Pierce | Misconduct |
San Diego Miramar | 02:36 | Ethan Rose | Misconduct |
OTHER INFORMATION |
---|
Game Length: 1:15 Attendance: 0 Officials and game personnel: Nick Gehler |
Starter * |
$referer.class