Zapotek/arachni — Issue #124: arachni_web :: ERROR NoMethodError: undefined method `<<' for nil:NilClass
Author: aaronghent
Created: 2012-01-03 07:19:37+00:00
State: open

i run arachni_xmlrpcd and arachni_web
they both launch successfully

but when i do a wget on port from the same box it returns a 500 error

im running gentoo 10.1
tried it from both the installed gem, and the latest master repo

~ $ wget localhost:4567
--2012-01-03 07:12:40-- http://localhost:4567/
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:4567... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2012-01-03 07:12:52 ERROR 500: Internal Server Error.

output from arachni_web

/usr/local/lib64/ruby/gems/1.9.1/gems/dm-validations-1.0.2/lib/dm-validations.rb:33: warning: already initialized constant OrderedHash
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/usr/local/lib64/ruby/gems/1.9.1/gems/dm-do-adapter-1.0.2/lib/dm-do-adapter/adapter.rb:215:in `new')
/usr/lib64/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/usr/local/lib64/ruby/gems/1.9.1/gems/dm-do-adapter-1.0.2/lib/dm-do-adapter/adapter.rb:215:in `new')
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/usr/local/lib64/ruby/gems/1.9.1/gems/dm-do-adapter-1.0.2/lib/dm-do-adapter/adapter.rb:215:in `new')
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/usr/local/lib64/ruby/gems/1.9.1/gems/dm-do-adapter-1.0.2/lib/dm-do-adapter/adapter.rb:215:in `new')
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/usr/local/lib64/ruby/gems/1.9.1/gems/dm-do-adapter-1.0.2/lib/dm-do-adapter/adapter.rb:215:in `new')
== Sinatra/1.2.8 has taken the stage on 4567 for development with backup from WEBrick
[2012-01-03 07:04:05] INFO WEBrick 1.3.1
[2012-01-03 07:04:05] INFO ruby 1.9.3 (2011-10-30) [x86_64-linux]
[2012-01-03 07:04:05] INFO WEBrick::HTTPServer#start: pid=25700 port=4567
[2012-01-03 07:12:52] ERROR NoMethodError: undefined method `<<' for nil:NilClass
/usr/local/lib64/ruby/gems/1.9.1/gems/rack-flash-0.1.2/lib/rack/flash.rb:11:in `use'
/usr/local/lib64/ruby/gems/1.9.1/gems/sinatra-1.2.8/lib/sinatra/base.rb:1285:in `build'
/usr/local/lib64/ruby/gems/1.9.1/gems/sinatra-1.2.8/lib/sinatra/base.rb:1277:in `new'
/usr/local/lib64/ruby/gems/1.9.1/gems/sinatra-1.2.8/lib/sinatra/base.rb:1267:in `prototype'
/usr/local/lib64/ruby/gems/1.9.1/gems/sinatra-1.2.8/lib/sinatra/base.rb:1295:in `block in call'
/usr/local/lib64/ruby/gems/1.9.1/gems/sinatra-1.2.8/lib/sinatra/base.rb:1326:in `synchronize'
/usr/local/lib64/ruby/gems/1.9.1/gems/sinatra-1.2.8/lib/sinatra/base.rb:1295:in `call'
/usr/local/lib64/ruby/gems/1.9.1/gems/rack-1.4.0/lib/rack/handler/webrick.rb:59:in `service'
/usr/lib64/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
/usr/lib64/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
/usr/lib64/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
localhost - - [03/Jan/2012:07:12:52 GMT] "GET / HTTP/1.0" 500 339
- -> /