There was a problem with a Velocity script | |
Page | /httpd/prestosports/site-public/WEB-INF/themes/generic/related-links-template |
Error | Error 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 = "$linkTypeLabel ${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: |
Feather River at Siskiyous - Weed, CA 4/10/2021 - 1:00 PM |
|
Feather River
17 |
Siskiyous
62 |
Scoring | 1 | 2 | 3 | 4 | Final |
---|---|---|---|---|---|
Feather River (1-3, 1-3) | 10 | 0 | 7 | 0 | 17 |
Siskiyous (2-2, 2-2) | 20 | 21 | 14 | 7 | 62 |
Weed, CA | |
Team | QTR | Start | Poss. | Began | Plays | Yards | Result |
---|---|---|---|---|---|---|---|
Feather River | 1 | 15:00 | 00:37 | FEATHER 32 | 3 | 1 | INT |
Siskiyous | 1 | 14:23 | 01:01 | FEATHER 42 | 3 | 42 | TD |
Feather River | 1 | 13:22 | 04:03 | FEATHER 45 | 8 | 32 | FGA |
Siskiyous | 1 | 09:19 | 01:30 | SISKIYOU25 | 4 | 14 | INT |
Feather River | 1 | 07:49 | 03:13 | SISKIYOU46 | 9 | 46 | TD |
Siskiyous | 1 | 04:31 | 00:57 | SISKIYOU29 | 4 | 71 | TD |
Feather River | 1 | 03:34 | 00:00 | FEATHER 30 | 0 | 0 | UNK |
Siskiyous | 1 | 03:34 | 02:44 | FEATHER 30 | 7 | 32 | TD |
Feather River | 1 | 00:45 | 00:59 | FEATHER 33 | 3 | 4 | PUNT |
Siskiyous | 2 | 14:46 | 01:09 | SISKIYOU43 | 4 | 57 | TD |
Feather River | 2 | 13:37 | 00:00 | FEATHER 10 | 0 | 0 | FUMB |
Siskiyous | 2 | 13:37 | 02:23 | FEATHER 35 | 7 | 35 | TD |
Feather River | 2 | 11:04 | 00:00 | FEATHER 27 | 4 | 24 | FUMB |
Feather River | 2 | 11:04 | 04:12 | SISKIYOU29 | 4 | 4 | DOWNS |
Siskiyous | 2 | 06:52 | 00:25 | SISKIYOU25 | 2 | 10 | INT |
Feather River | 2 | 06:27 | 03:52 | SISKIYOU48 | 7 | 30 | FGA |
Siskiyous | 2 | 02:35 | 01:34 | FEATHER 30 | 4 | 30 | TD |
Feather River | 2 | 00:57 | 00:57 | FEATHER 25 | 8 | 64 | INT |
Siskiyous | 3 | 15:00 | 00:45 | SISKIYOU45 | 3 | 55 | TD |
Feather River | 3 | 14:05 | 00:05 | FEATHER 30 | 1 | 0 | INT |
Siskiyous | 3 | 14:00 | 02:13 | SISKIYOU42 | 7 | 58 | TD |
Feather River | 3 | 11:46 | 01:08 | FEATHER 39 | 3 | 61 | TD |
Siskiyous | 3 | 10:38 | 00:45 | SISKIYOU13 | 3 | 3 | PUNT |
Feather River | 3 | 09:53 | 01:41 | SISKIYOU49 | 6 | 20 | DOWNS |
Siskiyous | 3 | 08:12 | 04:10 | SISKIYOU29 | 12 | 61 | DOWNS |
Feather River | 3 | 04:02 | 02:17 | FEATHER 10 | 5 | 47 | INT |
Siskiyous | 3 | 01:45 | 03:22 | SISKIYOU46 | 11 | 54 | TD |
Feather River | 4 | 13:13 | 03:36 | FEATHER 31 | 9 | 37 | DOWNS |
Siskiyous | 4 | 09:37 | 02:47 | SISKIYOU32 | 4 | 14 | PUNT |
Feather River | 4 | 06:50 | 02:03 | FEATHER 31 | 3 | -9 | PUNT |
Siskiyous | 4 | 04:47 | 04:47 | SISKIYOU33 | 6 | 16 | HALF |
Feather River at Siskiyous - Weed, CA 4/10/2021 - 1:00 PM |
|
Feather River
17 |
Siskiyous
62 |
Scoring | 1 | 2 | 3 | 4 | Final |
---|---|---|---|---|---|
Feather River (1-3, 1-3) | 10 | 0 | 7 | 0 | 17 |
Siskiyous (2-2, 2-2) | 20 | 21 | 14 | 7 | 62 |
Weed, CA | |
Team | QTR | Start | Poss. | Began | Plays | Yards | Result |
---|---|---|---|---|---|---|---|
Feather River | 1 | 15:00 | 00:37 | FEATHER 32 | 3 | 1 | INT |
Siskiyous | 1 | 14:23 | 01:01 | FEATHER 42 | 3 | 42 | TD |
Feather River | 1 | 13:22 | 04:03 | FEATHER 45 | 8 | 32 | FGA |
Siskiyous | 1 | 09:19 | 01:30 | SISKIYOU25 | 4 | 14 | INT |
Feather River | 1 | 07:49 | 03:13 | SISKIYOU46 | 9 | 46 | TD |
Siskiyous | 1 | 04:31 | 00:57 | SISKIYOU29 | 4 | 71 | TD |
Feather River | 1 | 03:34 | 00:00 | FEATHER 30 | 0 | 0 | UNK |
Siskiyous | 1 | 03:34 | 02:44 | FEATHER 30 | 7 | 32 | TD |
Feather River | 1 | 00:45 | 00:59 | FEATHER 33 | 3 | 4 | PUNT |
Siskiyous | 2 | 14:46 | 01:09 | SISKIYOU43 | 4 | 57 | TD |
Feather River | 2 | 13:37 | 00:00 | FEATHER 10 | 0 | 0 | FUMB |
Siskiyous | 2 | 13:37 | 02:23 | FEATHER 35 | 7 | 35 | TD |
Feather River | 2 | 11:04 | 00:00 | FEATHER 27 | 4 | 24 | FUMB |
Feather River | 2 | 11:04 | 04:12 | SISKIYOU29 | 4 | 4 | DOWNS |
Siskiyous | 2 | 06:52 | 00:25 | SISKIYOU25 | 2 | 10 | INT |
Feather River | 2 | 06:27 | 03:52 | SISKIYOU48 | 7 | 30 | FGA |
Siskiyous | 2 | 02:35 | 01:34 | FEATHER 30 | 4 | 30 | TD |
Feather River | 2 | 00:57 | 00:57 | FEATHER 25 | 8 | 64 | INT |
Siskiyous | 3 | 15:00 | 00:45 | SISKIYOU45 | 3 | 55 | TD |
Feather River | 3 | 14:05 | 00:05 | FEATHER 30 | 1 | 0 | INT |
Siskiyous | 3 | 14:00 | 02:13 | SISKIYOU42 | 7 | 58 | TD |
Feather River | 3 | 11:46 | 01:08 | FEATHER 39 | 3 | 61 | TD |
Siskiyous | 3 | 10:38 | 00:45 | SISKIYOU13 | 3 | 3 | PUNT |
Feather River | 3 | 09:53 | 01:41 | SISKIYOU49 | 6 | 20 | DOWNS |
Siskiyous | 3 | 08:12 | 04:10 | SISKIYOU29 | 12 | 61 | DOWNS |
Feather River | 3 | 04:02 | 02:17 | FEATHER 10 | 5 | 47 | INT |
Siskiyous | 3 | 01:45 | 03:22 | SISKIYOU46 | 11 | 54 | TD |
Feather River | 4 | 13:13 | 03:36 | FEATHER 31 | 9 | 37 | DOWNS |
Siskiyous | 4 | 09:37 | 02:47 | SISKIYOU32 | 4 | 14 | PUNT |
Feather River | 4 | 06:50 | 02:03 | FEATHER 31 | 3 | -9 | PUNT |
Siskiyous | 4 | 04:47 | 04:47 | SISKIYOU33 | 6 | 16 | HALF |