NoMethodError: undefined method `map' for nil:NilClass


#1

MIQ is down with a NoMethodError: undefined method `map' for nil:NilClass error:

Jun  1 11:42:43 manageiq sh: Starting EVM...
Jun  1 11:42:43 manageiq sh: rake aborted!
Jun  1 11:42:43 manageiq sh: NoMethodError: undefined method `map' for nil:NilClass
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:244:in `scoped_name'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:210:in `block (2 levels) in class_inheritance_relationships'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:209:in `each'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:209:in `block in class_inheritance_relationships'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:208:in `glob'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:208:in `class_inheritance_relationships'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:232:in `load_subclasses'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/extensions/descendant_loader.rb:254:in `descendants'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/app/models/miq_server/worker_management/monitor/kill.rb:21:in `kill_all_workers'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/app/models/miq_server/worker_management.rb:15:in `kill_all_workers'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/tasks/evm_application.rb:21:in `start'
Jun  1 11:42:43 manageiq sh: /var/www/miq/vmdb/lib/tasks/evm.rake:7:in `block (2 levels) in <top (required)>'
Jun  1 11:42:43 manageiq sh: Tasks: TOP => evm:start
Jun  1 11:42:43 manageiq sh: (See full trace by running task with --trace)
Jun  1 11:42:44 manageiq systemd: evmserverd.service: control process exited, code=exited status=1
Jun  1 11:42:44 manageiq systemd: Failed to start EVM server daemon.
Jun  1 11:42:44 manageiq systemd: Unit evmserverd.service entered failed state.
Jun  1 11:42:44 manageiq systemd: evmserverd.service failed.
Jun  1 11:42:44 manageiq systemd: evmserverd.service holdoff time over, scheduling restart.
Jun  1 11:42:44 manageiq systemd: Starting EVM server daemon...
Jun  1 11:42:50 manageiq systemd: Started PostgreSQL database server.

No code changes, any idea about what could cause it?

Thanks.


#2

@blomquisg can you review this question from @manel and forward to a SME if necessary.