java: Unable to run journey-test locally

On first run:

+ echo ==================================================
==================================================
+ echo '10 of 64 -- difference-of-squares'
10 of 64 -- difference-of-squares
+ echo ==================================================
==================================================
+ ./exercism --config .journey-test.exercism.json fetch java difference-of-squares
2017-03-20 19:29:36 - JSON::GeneratorError - source sequence is illegal/malformed utf-8:
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/petroglyph-0.0.7/lib/petroglyph/engine.rb:9:in `to_json'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/petroglyph-0.0.7/lib/petroglyph/engine.rb:9:in `render'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/petroglyph-0.0.7/lib/tilt/petroglyph.rb:22:in `evaluate'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:822:in `render'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/petroglyph-0.0.7/lib/sinatra/petroglyph.rb:6:in `pg'
	/Users/stkent/dev/personal/exercism/xjava/build/x-api/api/v1/routes/exercises.rb:84:in `block in <class:Exercises>'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1609:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1609:in `block in compile!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `[]'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (3 levels) in route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:993:in `route_eval'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:974:in `block (2 levels) in route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1014:in `block in process_route'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1012:in `process_route'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:972:in `block in route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `each'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:971:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/bugsnag-2.8.12/lib/bugsnag/rack.rb:33:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:953:in `forward'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1027:in `route_missing'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:988:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/bugsnag-2.8.12/lib/bugsnag/rack.rb:33:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:953:in `forward'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1027:in `route_missing'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:988:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/bugsnag-2.8.12/lib/bugsnag/rack.rb:33:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:953:in `forward'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1027:in `route_missing'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:988:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/nulllogger.rb:9:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:953:in `forward'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1027:in `route_missing'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:988:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:984:in `route!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1084:in `block in dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1081:in `dispatch!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `block in call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `block in invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `catch'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1066:in `invoke'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:906:in `call!'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:894:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/bugsnag-2.8.12/lib/bugsnag/rack.rb:33:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/xss_header.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/path_traversal.rb:16:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/json_csrf.rb:18:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/base.rb:49:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-protection-1.5.3/lib/rack/protection/frame_options.rb:31:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/logger.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:211:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/show_exceptions.rb:21:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:181:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:2021:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `block in call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1795:in `synchronize'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:1486:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/urlmap.rb:66:in `block in call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `each'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/urlmap.rb:50:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/tempfile_reaper.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/lint.rb:49:in `_call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/lint.rb:37:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/showexceptions.rb:24:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/commonlogger.rb:33:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/sinatra-1.4.6/lib/sinatra/base.rb:218:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/chunked.rb:54:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/puma-2.15.3/lib/puma/server.rb:541:in `handle_request'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/puma-2.15.3/lib/puma/server.rb:388:in `process_client'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/puma-2.15.3/lib/puma/server.rb:270:in `block in run'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/puma-2.15.3/lib/puma/thread_pool.rb:106:in `call'
	/Users/stkent/.rvm/gems/ruby-2.2.5/gems/puma-2.15.3/lib/puma/thread_pool.rb:106:in `block in spawn_thread'
W, [2017-03-20T19:29:36.254987 #19549]  WARN -- : ** [Bugsnag] No API key configured, couldn't notify
2017/03/20 19:29:36 an internal server error was received.
Please file a bug report with the contents of 'exercism debug' at: https://github.com/exercism/exercism.io/issues
+ on_exit
+ echo '>>> on_exit()'
>>> on_exit()
+ [[ 19549 != '' ]]
+ kill 19549
+ echo 'stopped x-api (pid=19549)'
stopped x-api (pid=19549)
+ cd /Users/stkent/dev/personal/exercism/xjava
+ echo '<<< on_exit()'
<<< on_exit()
::1 - - [20/Mar/2017:19:29:36 -0400] "GET /v2/exercises/java/difference-of-squares HTTP/1.1" 500 514944 0.1370

On second run:

+ echo ==================================================
==================================================
+ echo '5 of 64 -- gigasecond'
5 of 64 -- gigasecond
+ echo ==================================================
==================================================
+ ./exercism --config .journey-test.exercism.json fetch java gigasecond
::1 - - [20/Mar/2017:19:31:23 -0400] "GET /v2/exercises/java/gigasecond HTTP/1.1" 200 2501 0.0062
2017/03/20 19:31:28 Get http://exercism.io/api/v1/exercises?key=: dial tcp: lookup exercism.io on 192.168.1.1:53: dial udp 192.168.1.1:53: i/o timeout
+ on_exit
+ echo '>>> on_exit()'
>>> on_exit()
+ [[ 20086 != '' ]]
+ kill 20086
+ echo 'stopped x-api (pid=20086)'
stopped x-api (pid=20086)
+ cd /Users/stkent/dev/personal/exercism/xjava
+ echo '<<< on_exit()'
<<< on_exit()

Not really sure what I’m doing wrong here? I’ve set the correct Ruby version (2.2.5) and cleaned all generated files.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

Thanks for the ideas! The following combo worked for me (64/64 suites passed ok):

  • blowing away the entire check out, re-clone and build from scratch.
  • create a new Ruby install (i.e. kill your 2.2.5 install and re-install)

Since I built difference-of-squares, I wonder if there was some weird git-invisible difference hanging around. That or my rvm-managed 2.2.5 was weirded up somehow. We’ll see if this setup continues to work 🤞