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 |

4 Nathan Carr
-
- Height:
- 6'0
-
- Bats/Throws:
- L/L
-
- Year:
- Sophomore
-
- Hometown:
- Chesterfield, MI
-
- High School:
- Anchor Bay High School
-
- Position:
- Pitcher
-
- Major:
- Undecided
gp
-
avg
-
hr
-
rbi
-
r
-
sb
-
Statistics category | Overall | Conf | ||
---|---|---|---|---|
Games | - | - | ||
Plate appearances | 0 | 0 | ||
At Bats | - | - | ||
Runs | - | - | ||
Hits | - | - | ||
Doubles | - | - | ||
Triples | - | - | ||
Home Runs | - | - | ||
Runs Batted In | - | - | ||
Total bases | 0 | 0 | ||
Walks | - | - | ||
Hit by pitch | - | - | ||
Strikeouts | - | - | ||
Sacrifice Flies | - | - | ||
Sacrifice Hits | - | - | ||
Hit into double play | - | - | ||
Stolen Bases | - | - | ||
Caught Stealing | - | - | ||
Batting Average | - | - | ||
On Base Percentage | - | - | ||
Slugging Percentage | - | - | ||
Appearances | - | - | ||
Games started | - | - | ||
Wins | - | - | ||
Losses | - | - | ||
Saves | - | - | ||
Complete Games | - | - | ||
Shutouts | - | - | ||
Innings Pitched | 0.0 | 0.0 | ||
Hits | - | - | ||
Runs | - | - | ||
Earned Runs | - | - | ||
Walks | - | - | ||
Strikeouts | - | - | ||
Strikeouts per Game | .00 | .00 | ||
Doubles Allowed | - | - | ||
Triples Allowed | - | - | ||
WHIP | - | - | ||
Home Runs Allows | - | - | ||
At Bats Against | - | - | ||
Batting Average Against | - | - | ||
Earned Run Average | 0.00 | 0.00 | ||
Wild pitches | - | - | ||
Hit Batters | - | - | ||
Balks | - | - | ||
Sacrifice Flies Allowed | - | - | ||
Sacrifice Hits Allowed | - | - | ||
Total Chances | 0 | 0 | ||
Put Outs | - | - | ||
Assists | - | - | ||
Errors | - | - | ||
Fielding Percentage | - | - | ||
Double Plays | - | - | ||
Stolen Bases Allowed | - | - | ||
Runners Caught Stealing | - | - | ||
Runners Caught Stealing Percentage | - | - | ||
Passed Balls | - | - | ||
Catcher's Interference | - | - |
g | ab | r | h | 2b | 3b | hr | rbi | bb | k | sb | cs | avg | obp | slg | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Total | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Conference | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Exhibition | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | |||||||||||||||
Home | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Away | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Neutral | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- | |||||||||||||||
Wins | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
Losses | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
- |
g | hbp | sf | sh | tb | xbh | hdp | go | fo | go/fo | pa | |
---|---|---|---|---|---|---|---|---|---|---|---|
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 |
- |
app | gs | w | l | sv | cg | ip | h | r | er | bb | k | k/9 | hr | era | whip | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Total | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
Conference | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
Exhibition | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
- | ||||||||||||||||
Home | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
Away | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
Neutral | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
- | ||||||||||||||||
Wins | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
Losses | - | - | - | - | - | - | 0.0 | - | - | - | - | - | .00 | - | 0.00 | - |
- |
g | tc | po | a | e | fpct | dp | sba | rcs | rcs% | pb | ci | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Total | - | 0 | - | - | - | - | - | - | - | - | - | - |
Conference | - | 0 | - | - | - | - | - | - | - | - | - | - |
Exhibition | - | 0 | - | - | - | - | - | - | - | - | - | - |
- | ||||||||||||
Home | - | 0 | - | - | - | - | - | - | - | - | - | - |
Away | - | 0 | - | - | - | - | - | - | - | - | - | - |
Neutral | - | 0 | - | - | - | - | - | - | - | - | - | - |
- | ||||||||||||
Wins | - | 0 | - | - | - | - | - | - | - | - | - | - |
Losses | - | 0 | - | - | - | - | - | - | - | - | - | - |
- |