[2017-08-23 01:43:39.867162 #21290] FATAL -- :
NoMethodError (undefined method `each' for nil:NilClass):
app/services/xml_regist_service.rb:15:in `block in analyze_emm'
app/services/xml_regist_service.rb:14:in `each'
app/services/xml_regist_service.rb:14:in `analyze_emm'
app/services/emm_regist_service.rb:17:in `save_emm'
app/services/xml_regist_service.rb:5:in `save_as_emm'
app/services/upfile_manage_service.rb:8:in `block in save'
app/services/upfile_manage_service.rb:6:in `each'
app/services/upfile_manage_service.rb:6:in `each_with_index'
app/services/upfile_manage_service.rb:6:in `save'
app/controllers/videos_controller.rb:47:in `block in create'
app/controllers/videos_controller.rb:44:in `create'