Open archonwang opened 7 years ago
log file error
Started GET "/msproject_import/analyze?project_id=uth_rdc&private_token=false" for 192.168.60.238 at 2017-02-27 11:53:15 +0800
Processing by MsprojImpController#analyze as */*
Parameters: {"project_id"=>"uth_rdc", "private_token"=>"false"}
Current user: hui.wang (id=8)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.5ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_request.text.erb (0.8ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.6ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_session.text.erb (1.9ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.5ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_environment.text.erb (2.6ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.5ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_backtrace.text.erb (0.5ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/_title.text.erb (0.4ms)
Rendered /usr/local/rvm/gems/ruby-2.2.4@newgemset/gems/exception_notification-4.2.1/lib/exception_notifier/views/exception_notifier/exception_notification.text.erb (17.7ms)
NoMethodError (undefined method `[]' for nil:NilClass):
plugins/msproject_import/app/models/msproj_data_file.rb:7:in `save'
plugins/msproject_import/app/controllers/msproj_imp_controller.rb:33:in `analyze'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'
@braini75 when I import the xml file, found that it could not match username. How to fix it? Thanks.
the error logs is