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 M Johnson & Wales

g -
a -
pts 0
gw -
Recent Games
Oct 12 (5) Central Penn W, 9-0
Oct 18 Washington Adventist L, 3-0
Oct 20 Piedmont Int'l L, 3-2
Oct 22 at (9) Warren Wilson L, 3-0
Oct 30 Pfeiffer L, 7-3
Nov 2 at Regent W, 3-1
Statistics category Overall Conf
Games - -
Games started - -
Goals - -
Assists - -
Points 0 0
Shots - -
Shot Pct - -
Penalty kicks 0-0 0-0
Game-winning goals - -
Date Opponent Score gs g a pts sh pct pk gw
Aug 26 Regent W, 5-3 - - - - - - - -
Aug 30 at Washington Adventist L, 2-1 - - - - - - - -
Sep 7 at William Peace W, 1-0 - - - - - - - -
Sep 9 Methodist L, 3-0 - - - - - - - -
Sep 24 NC Wesleyan L, 4-0 - - - - - - - -
Sep 29 (4) Cincinnati Clermont L, 7-1 - - - - - - - -
Sep 30 (6) Warren Wilson W, 1-0 - - - - - - - -
Oct 3 Randolph L, 2-1 - - - - - - - -
Oct 8 at Trinity Washington W, 7-0 - - - - - - - -
Oct 10 at Piedmont Int'l L, 3-1 - - - - - - - -
Oct 12 (5) Central Penn W, 9-0 - - - - - - - -
Oct 18 Washington Adventist L, 3-0 - - - - - - - -
Oct 20 Piedmont Int'l L, 3-2 - - - - - - - -
Oct 22 at (9) Warren Wilson L, 3-0 - - - - - - - -
Oct 30 Pfeiffer L, 7-3 - - - - - - - -
Nov 2 at Regent W, 3-1 - - - - - - - -
  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 - - - - - - - - -
Conference - - - - - - - - -
Exhibition - - - - - - - - -
 
-
Home - - - - - - - - -
Away - - - - - - - - -
Neutral - - - - - - - - -
 
-
Wins - - - - - - - - -
Losses - - - - - - - - -
 
-
  gp gs g a pts sh sh% sog sog% yc rc pk gw
Total - - - - 0 - - - - - - 0-0 -
Conference - - - - 0 - - - - - - 0-0 -
Exhibition - - - - 0 - - - - - - 0-0 -
 
-
Home - - - - 0 - - - - - - 0-0 -
Away - - - - 0 - - - - - - 0-0 -
Neutral - - - - 0 - - - - - - 0-0 -
 
-
Wins - - - - 0 - - - - - - 0-0 -
Losses - - - - 0 - - - - - - 0-0 -
 
-