Error when accessing Deltacloud API - Vsphere provider; deltacloud-core-0.5.0
------------------------------------------------------------------------------
Key: DTACLOUD-124
URL: https://issues.apache.org/jira/browse/DTACLOUD-124
Project: DeltaCloud
Issue Type: Bug
Components: Server
Environment: RHEL 6, deltacloud-core-0.5.0
Reporter: Ronelle Landy
Assignee: David Lutterkort
Priority: Blocker
When the API Entry page is opened, the following error is displayed:
NoMethodError - undefined method `keys' for nil:NilClass
The same error is thrown when using the API directly:
curl -X GET --user 'username:pwd' "http://server:3006/api?format=xml"
<error status='500' url='/api?format=xml'>
<kind>backend_error</kind>
<backend driver='vsphere'>
<code>500</code>
</backend>
<message><![CDATA[undefined method `keys' for nil:NilClass]]></message>
The user is able to access other collections and pages. Images, Realms,
Instances etc. are all returned correctly in both the GUI and API.
</error>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira