deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Giunchi <dav...@giunchi.net>
Subject NoMethodError - undefined method `[]' for nil:NilClass
Date Sun, 07 Sep 2014 17:40:48 GMT
Hi,
Following the instructions on
https://deltacloud.apache.org/install-deltacloud.html , i've just build
the latest deltacloud on a debian7 amd64 .
Then i run:

/usr/local/bin/deltacloudd -V -i arubacloud -p 10000 -r IPADDR

and if i connect to the web interface, i immediatly get an error that
it's written on the logs:


X.X.X.X - - [07/Sep/2014 17:30:47] "GET /api/ HTTP/1.1" arubacloud - 500
265424 0.1645
E, [2014-09-07T17:30:50.566423 #199] ERROR -- 500: [NoMethodError]
undefined method `[]' for nil:NilClass

/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb:189:in
`configured_providers'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/collections/../../../views/api/show.html.haml:22:in
`block in singletonclass'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/collections/../../../views/api/show.html.haml:65528:in
`instance_eval'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/collections/../../../views/api/show.html.haml:65528:in
`singletonclass'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/collections/../../../views/api/show.html.haml:65526:in
`__tilt_4011080'
/var/lib/gems/1.9.1/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `call'
/var/lib/gems/1.9.1/gems/tilt-1.4.1/lib/tilt/template.rb:170:in `evaluate'
/var/lib/gems/1.9.1/gems/tilt-1.4.1/lib/tilt/haml.rb:24:in `evaluate'
/var/lib/gems/1.9.1/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:814:in `render'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/sinatra/rack_accept.rb:35:in
`render'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:675:in `haml'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/server.rb:55:in
`block (3 levels) in <class:API>'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/sinatra/rack_accept.rb:103:in
`call'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/sinatra/rack_accept.rb:103:in
`respond_to'
/var/lib/gems/1.9.1/gems/deltacloud-core-1.1.3/lib/deltacloud/server.rb:52:in
`block in <class:API>'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in `call'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:1603:in
`block in compile!'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `[]'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:966:in `block
(3 levels) in route!'
/var/lib/gems/1.9.1/gems/sinatra-1.4.5/lib/sinatra/base.rb:985:in
`route_eval'
--------------------------

One or two years ago i've built deltacloud on a debian6 and i didn't get
any error, now there's a way to solve this error?

Thank you,
Regards

Mime
View raw message