There was a problem with a Velocity script
Pagebio-career-template
ErrorInvocation of method 'addGames' in class com.prestosports.content.sport.stats.StatsSplitter threw exception java.lang.NullPointerException at bio-career-template[line 70, 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: #set ($pos = $attributes.get("position"))
29: #set ($posVec = $pos.split("/"))
30: #set ($pos = $posVec[0])
31: #set ($pos = $pos.toLowerCase())
32: #set ($pos = $positions.get($pos))
33: #set ($highlights = $highlights.get($pos))
34: #if ($request.getParameter("pos"))
35:   #set ($pos = $request.getParameter("pos"))
36:   #set ($pos = $pos.toLowerCase())
37:   #set ($pos = $positions.get($pos))
38: #end
39: #set ($labels = $labels.get($pos))
40: #set ($briefs = $briefs.get($pos))
41: #set ($gamelogs = $gamelogs.get($pos))
42: #set ($view = $!request.getParameter("view"))
43: #set ($url = ${page.url})
44: 
45: #set ($playerId = $attributes.get("playerId"))
46: 
47: #set ($stats = $splits.overall)
48: 
49: ## CAREER STATS WILL PRINT LIKE THIS
50: #macro(split $label $stats $class)
51:     #set ($url = "${page.url}?view=career")
52:     #if ($request.getParameter("pos"))
53:       #set ($escPos = $request.getParameter("pos"))
54:       #set ($escPos = $tool.esc.url($escPos))
55:       #set ($url = "${url}&pos=$escPos")
56:     #end
57:     <tr class="$!{class}">
58:     <td class="${mobileNS}fixed-column"><a href="${url}">${label}</a></td>
59:     #foreach ($brief in $briefs.keySet())
60:       #set ($value = "-")
61:       #set ($value = $!formatter.formatNumber($stats.get($brief), $formats.get($brief)))
62:       <td align="center">
63:       #if ($value.length() > 0)$value#else - #end
64:       </td>
65:     #end
66:   </tr>
67: #end
68: 
69: #set ($name = $request.getParameter("name"))
70: $request.getAttribute("careerTotals").addGames($events)
71: $!request.getAttribute("careerMap").put($name, $stats)
72: 
73: #if ($request.getParameter("print") == 'yes')
74:   #split($name, $splits.overall, '')
75: #end

Diana Camacho #17 C Johnson & Wales

g 1
a 2
pts 4
gw 0
Recent Games
Oct 20 (12) Christendom W, 6-1
Oct 22 at NC Wesleyan L, 4-0
Oct 26 Shaw W, 2-1
Nov 3 Columbia International L, 2-0
Nov 9 vs. Albany College of Pharmacy and Health Sciences L, 3-1
Nov 11 vs. Penn State Brandywine T, 2-2
Statistics category Overall Conf
Games 17 1
Games started 14 1
Goals 1 0
Assists 2 0
Points 4 0
Shots 7 0
Shot Pct .143 -
Penalty kicks 0-0 0-0
Game-winning goals 0 0
Date Opponent Score gs g a pts sh pct pk gw
Aug 27 at Washington Adventist W, 3-1 1 0 0 0 0 - 0-0 0
Aug 31 at USC-Lancaster   - - - - - - - -
Sep 2 Kentucky Christian W, 3-0 - 0 0 0 0 - 0-0 0
Sep 10 LaGrange   - - - - - - - -
Sep 13 John Wesley W, 3-1 - 0 0 0 0 - 0-0 0
Sep 20 at Guilford L, 2-0 1 0 0 0 0 - 0-0 0
Sep 23 Washington Adventist W, 4-1 1 0 0 0 2 .000 0-0 0
Sep 26 at Meredith L, 7-0 1 0 0 0 0 - 0-0 0
Sep 30 at Columbia International L, 2-0 1 0 0 0 0 - 0-0 0
Oct 7 at (19) Warren Wilson W, 3-1 1 0 0 0 0 - 0-0 0
Oct 9 at John Wesley W, 3-2 1 0 0 0 0 - 0-0 0
Oct 15 William Peace W, 4-0 1 1 0 2 1 1.000 0-0 0
Oct 17 USC-Lancaster W, 7-0 1 0 2 2 1 .000 0-0 0
Oct 20 (12) Christendom W, 6-1 1 0 0 0 1 .000 0-0 0
Oct 22 at NC Wesleyan L, 4-0 1 0 0 0 0 - 0-0 0
Oct 26 Shaw W, 2-1 1 0 0 0 1 .000 0-0 0
Nov 3 Columbia International L, 2-0 1 0 0 0 0 - 0-0 0
Nov 9 vs. Albany College of Pharmacy and Health Sciences L, 3-1 1 0 0 0 0 - 0-0 0
Nov 11 vs. Penn State Brandywine T, 2-2 - 0 0 0 1 .000 0-0 0
  gp gs gpg a/g pts/g sh/g sh% sog/g sog%
2017-18 17 14 .06 .12 .24 .41 .143 .12 .286
2018-19 - - - - - - - - -
Total 17 14 .06 .12 .24 .41 .143 .12 .286
  gp gs g a pts sh sh% sog sog% yc rc pk gw
2017-18 17 14 1 2 4 7 .143 2 .286 0 0 0-0 0
2018-19 - - - - 0 - - - - - - 0-0 -
Total 17 14 1 2 4 7 .143 2 .286 0 0 0-0 0
  gp gs gpg a/g pts/g sh/g sh% sog/g sog%
Total 17 14 .06 .12 .24 .41 .143 .12 .286
Conference 1 1 .00 .00 .00 .00 - .00 -
Exhibition - - - - - - - - -
 
-
Home 8 6 .13 .25 .50 .75 .167 .25 .333
Away 7 7 .00 .00 .00 .00 - .00 -
Neutral 2 1 .00 .00 .00 .50 .000 .00 .000
 
-
Wins 10 8 .10 .20 .40 .60 .167 .20 .333
Losses 6 6 .00 .00 .00 .00 - .00 -
 
-
August 1 1 .00 .00 .00 .00 - .00 -
September 6 4 .00 .00 .00 .33 .000 .17 .500
October 7 7 .14 .29 .57 .57 .250 .14 .250
November 3 2 .00 .00 .00 .33 .000 .00 .000
  gp gs g a pts sh sh% sog sog% yc rc pk gw
Total 17 14 1 2 4 7 .143 2 .286 0 0 0-0 0
Conference 1 1 0 0 0 0 - 0 - 0 0 0-0 0
Exhibition - - - - 0 - - - - - - 0-0 -
 
-
Home 8 6 1 2 4 6 .167 2 .333 0 0 0-0 0
Away 7 7 0 0 0 0 - 0 - 0 0 0-0 0
Neutral 2 1 0 0 0 1 .000 0 .000 0 0 0-0 0
 
-
Wins 10 8 1 2 4 6 .167 2 .333 0 0 0-0 0
Losses 6 6 0 0 0 0 - 0 - 0 0 0-0 0
 
-
August 1 1 0 0 0 0 - 0 - 0 0 0-0 0
September 6 4 0 0 0 2 .000 1 .500 0 0 0-0 0
October 7 7 1 2 4 4 .250 1 .250 0 0 0-0 0
November 3 2 0 0 0 1 .000 0 .000 0 0 0-0 0