There was a problem with a Velocity script | |
Page | /httpd/prestosports/site-public/WEB-INF/themes/generic/bio-career-template |
Error | Invocation of method 'addGames' in class com.prestosports.content.sport.stats.StatsSplitter threw exception java.lang.NullPointerException at /httpd/prestosports/site-public/WEB-INF/themes/generic/bio-career-template[line 76, column 39] |
Page source: |
1: ## MOBILE CHECK 2: #if ($browser.getIphone() || $browser.getMobile()) 3: #set ($isMobile = true) 4: #else 5: #set ($isMobile = false) 6: #end 7: 8: #set ($mobileNS = 'mobile-stats-') 9: #set ($mobileNSP = "#${mobileNS}") 10: 11: ## PICK UP OPTIONS 12: $website.include("options") 13: #set ($options = $request.getAttribute("options")) 14: #set ($locale = "en_us") 15: #set ($locale = $options.get("locale")) 16: #set ($showCareer = $wiki.valid() && $seasons) 17: #if ("yes" == $options.get("stats_show_career") && $seasons) 18: #set ($showCareer = "yes") 19: #end 20: 21: #if ($locale == "en_us") 22: #set ($defLabel = "Defense") 23: #elseif ($locale == "en_gb") 24: #set ($defLabel = "Defence") 25: #end 26: 27: #set ($pos = "") 28: #if($attributes.get("position_stat")) 29: #set ($pos = $attributes.get("position_stat")) 30: #else 31: #set ($pos = $attributes.get("position")) 32: #set ($pos = $statPosition) 33: #set ($posVec = $pos.split("/")) 34: #set ($pos = $posVec[0]) 35: #end 36: #set ($pos = $pos.toLowerCase()) 37: #set ($pos = $positions.get($pos)) 38: 39: #set ($highlights = $highlights.get($pos)) 40: #if ($request.getParameter("pos")) 41: #set ($pos = $request.getParameter("pos")) 42: #set ($pos = $pos.toLowerCase()) 43: #set ($pos = $positions.get($pos)) 44: #end 45: #set ($labels = $labels.get($pos)) 46: #set ($briefs = $briefs.get($pos)) 47: #set ($gamelogs = $gamelogs.get($pos)) 48: #set ($view = $!request.getParameter("view")) 49: #set ($url = ${page.url}) 50: 51: #set ($playerId = $attributes.get("playerId")) 52: 53: #set ($stats = $splits.overall) 54: 55: ## CAREER STATS WILL PRINT LIKE THIS 56: #macro (splitBioCareer $label $stats $class) 57: #set ($url = "${page.url}?view=career") 58: #if ($request.getParameter("pos")) 59: #set ($escPos = $request.getParameter("pos")) 60: #set ($escPos = $tool.esc.url($escPos)) 61: #set ($url = "${url}&pos=$escPos") 62: #end 63: <tr class="$!{class}"> 64: <td class="${mobileNS}fixed-column"><a href="${url}">${label}</a></td> 65: #foreach ($brief in $briefs.keySet()) 66: #set ($value = "-") 67: #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief))) 68: <td align="center"> 69: #if ($value.length() > 0)$value#else - #end 70: </td> 71: #end 72: </tr> 73: #end 74: 75: #set ($name = $request.getParameter("name")) 76: $request.getAttribute("careerTotals").addGames($events) 77: $!request.getAttribute("careerMap").put($name, $stats) 78: 79: #if ($request.getParameter("print") == 'yes') 80: #splitBioCareer($name, $splits.overall, '') 81: #end |
Alyssa Juarez #2 F Moraine Valley Community College
g
1
a
0
pts
2
gw
1
Recent Games | ||
---|---|---|
Oct 9 | Prairie State College | W, 4-1 |
Oct 19 | at Bryant and Stratton College (WI) | |
Oct 22 | at South Suburban College | L, 3-1 |
Oct 23 | at College of DuPage | T, 1-1 |
Oct 30 | Prairie State College | T, 0-0 |
Nov 2 | at College of Lake County | L, 5-0 |
Statistics category | Overall | Conf | ||
---|---|---|---|---|
Games | 12 | 5 | ||
Games started | 11 | 4 | ||
Goals | 1 | 1 | ||
Assists | 0 | 0 | ||
Points | 2 | 2 | ||
Shots | 14 | 9 | ||
Shot Pct | .071 | .111 | ||
Penalty kicks | 0-0 | 0-0 | ||
Game-winning goals | 1 | 1 |
Date | Opponent | Score | gs | g | a | pts | sh | pct | pk | gw |
---|---|---|---|---|---|---|---|---|---|---|
Aug 13 # | College of DuPage | - | - | - | - | - | - | - | - | |
Aug 17 # | at Saint Xavier University | - | - | - | - | - | - | - | - | |
Aug 24 | Kankakee Community College | W, 6-0 | 1 | 0 | 0 | 0 | 1 | .000 | 0-0 | 0 |
Aug 31 | Madison College | W, 2-0 | 1 | 0 | 0 | 0 | 0 | - | 0-0 | 0 |
Sep 4 | Elgin Community College | L, 2-1 | 1 | 0 | 0 | 0 | 0 | - | 0-0 | 0 |
Sep 11 | at Waubonsee Community College | L, 4-3 | - | 0 | 0 | 0 | 3 | .000 | 0-0 | 0 |
Sep 18 | at College of Lake County | T, 0-0 | 1 | 0 | 0 | 0 | 1 | .000 | 0-0 | 0 |
Sep 21 | at Joliet Junior College | W, 1-0 | 1 | 0 | 0 | 0 | 1 | .000 | 0-0 | 0 |
Sep 25 | Morton College | W, 2-1 | 1 | 0 | 0 | 0 | 2 | .000 | 0-0 | 0 |
Oct 2 | at Oakton Community College | W, 5-0 | - | - | - | - | - | - | - | - |
Oct 7 | Harry S. Truman College | W, 3-0 | 1 | 0 | 0 | 0 | 2 | .000 | 0-0 | 0 |
Oct 9 | Prairie State College | W, 4-1 | 1 | 1 | 0 | 2 | 3 | .333 | 0-0 | 1 |
Oct 19 | at Bryant and Stratton College (WI) | - | - | - | - | - | - | - | - | |
Oct 22 | at South Suburban College | L, 3-1 | 1 | 0 | 0 | 0 | 1 | .000 | 0-0 | 0 |
Oct 23 | at College of DuPage | T, 1-1 | 1 | 0 | 0 | 0 | 0 | - | 0-0 | 0 |
Oct 30 | Prairie State College | T, 0-0 | - | - | - | - | - | - | - | - |
Nov 2 | at College of Lake County | L, 5-0 | 1 | 0 | 0 | 0 | 0 | - | 0-0 | 0 |
# Stats don't count towards season totals |
gp | gs | gpg | a/g | pts/g | sh/g | sh% | sog/g | sog% | |
---|---|---|---|---|---|---|---|---|---|
Total | 12 | 11 | .08 | .00 | .17 | 1.17 | .071 | .58 | .500 |
Conference | 5 | 4 | .20 | .00 | .40 | 1.80 | .111 | 1.00 | .556 |
Exhibition | - | - | - | - | - | - | - | - | - |
- |
|||||||||
Home | 6 | 6 | .17 | .00 | .33 | 1.33 | .125 | .33 | .250 |
Away | 6 | 5 | .00 | .00 | .00 | 1.00 | .000 | .83 | .833 |
Neutral | - | - | - | - | - | - | - | - | - |
- |
|||||||||
Wins | 6 | 6 | .17 | .00 | .33 | 1.50 | .111 | .50 | .333 |
Losses | 4 | 3 | .00 | .00 | .00 | 1.00 | .000 | .75 | .750 |
- |
|||||||||
August | 2 | 2 | .00 | .00 | .00 | .50 | .000 | .00 | .000 |
September | 5 | 4 | .00 | .00 | .00 | 1.40 | .000 | .80 | .571 |
October | 4 | 4 | .25 | .00 | .50 | 1.50 | .167 | .75 | .500 |
November | 1 | 1 | .00 | .00 | .00 | .00 | - | .00 | - |
gp | gs | g | a | pts | sh | sh% | sog | sog% | yc | rc | pk | gw | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Total | 12 | 11 | 1 | 0 | 2 | 14 | .071 | 7 | .500 | 0 | 0 | 0-0 | 1 |
Conference | 5 | 4 | 1 | 0 | 2 | 9 | .111 | 5 | .556 | 0 | 0 | 0-0 | 1 |
Exhibition | - | - | - | - | 0 | - | - | - | - | 0 | 0 | 0-0 | - |
- |
|||||||||||||
Home | 6 | 6 | 1 | 0 | 2 | 8 | .125 | 2 | .250 | 0 | 0 | 0-0 | 1 |
Away | 6 | 5 | 0 | 0 | 0 | 6 | .000 | 5 | .833 | 0 | 0 | 0-0 | 0 |
Neutral | - | - | - | - | 0 | - | - | - | - | 0 | 0 | 0-0 | - |
- |
|||||||||||||
Wins | 6 | 6 | 1 | 0 | 2 | 9 | .111 | 3 | .333 | 0 | 0 | 0-0 | 1 |
Losses | 4 | 3 | 0 | 0 | 0 | 4 | .000 | 3 | .750 | 0 | 0 | 0-0 | 0 |
- |
|||||||||||||
August | 2 | 2 | 0 | 0 | 0 | 1 | .000 | 0 | .000 | 0 | 0 | 0-0 | 0 |
September | 5 | 4 | 0 | 0 | 0 | 7 | .000 | 4 | .571 | 0 | 0 | 0-0 | 0 |
October | 4 | 4 | 1 | 0 | 2 | 6 | .167 | 3 | .500 | 0 | 0 | 0-0 | 1 |
November | 1 | 1 | 0 | 0 | 0 | 0 | - | 0 | - | 0 | 0 | 0-0 | 0 |