Error while running command nessus_scan_new: undefined method `[]’ for nil:NilClass (metasploit)
Call stack:
/usr/share/metasploit-framework/plugins/nessus.rb:994:in cmd_nessus_scan_new' /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:582:in
run_command’
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:531:in block in run_single' /usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in
each’
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:525:in run_single' /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:165:in
block in run’
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:309:in block in with_history_manager_context' /usr/share/metasploit-framework/lib/rex/ui/text/shell/history_manager.rb:35:in
with_context’
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:306:in with_history_manager_context' /usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:133:in
run’
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in start' /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in
start’
/usr/bin/msfconsole:23:in `’