Request Details

Parameters

Session

Cookies

Named Routes

No Method Error 500

undefined method `map' for nil:NilClass

 
gems/ruby/2.4.0/gems/rack-1.6.9/lib/rack/static.rb in `call' 124
119 new_headers.each { |field, content| headers[field] = content } 120 end 121 122 response 123 else 124 @app.call(env) 125 end 126 end 127 128 # Convert HTTP header rules to HTTP headers 129 def applicable_rules(path)
 
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/configuration.rb in `call' 249
244 @app = app 245 end 246 247 def call(env) 248 env[Const::PUMA_CONFIG] = @config 249 @app.call(env) 250 end 251 end 252 253 # Indicate if there is a properly configured app 254 #
 
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/request.rb in `block in handle_request' 77
72 after_reply = env[RACK_AFTER_REPLY] = [] 73 74 begin 75 begin 76 status, headers, res_body = @thread_pool.with_force_shutdown do 77 @app.call(env) 78 end 79 80 return :async if client.hijacked 81 82 status = status.to_i
 
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/thread_pool.rb in `with_force_shutdown' 340
335 t = Thread.current 336 @shutdown_mutex.synchronize do 337 raise ForceShutdown if @force_shutdown 338 t[:with_force_shutdown] = true 339 end 340 yield 341 ensure 342 t[:with_force_shutdown] = false 343 end 344 345 # Tell all threads in the pool to exit and wait for them to finish.
 
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/request.rb in `handle_request' 76
71 # 72 after_reply = env[RACK_AFTER_REPLY] = [] 73 74 begin 75 begin 76 status, headers, res_body = @thread_pool.with_force_shutdown do 77 @app.call(env) 78 end 79 80 return :async if client.hijacked 81
 
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/server.rb in `process_client' 440
435 client.finish(@first_data_timeout) 436 end 437 438 while true 439 @requests_count += 1 440 case handle_request(client, buffer, requests + 1) 441 when false 442 break 443 when :async 444 close_socket = false 445 break
 
gems/ruby/2.4.0/gems/puma-5.4.0-x86_64-linux/lib/puma/thread_pool.rb in `block in spawn_thread' 147
142 if @clean_thread_locals 143 ThreadPool.clean_thread_locals 144 end 145 146 begin 147 @out_of_band_pending = true if block.call(work, *extra) 148 rescue Exception => e 149 STDERR.puts "Error reached top of thread-pool: #{e.message} (#{e.class})" 150 end 151 end 152 end