-
Notifications
You must be signed in to change notification settings - Fork 174
RuntimeError while deserializing returnval #14
Comments
Please paste the SOAP that caused the error. Set debug: true in VIM.connect to see it. |
This is what is reported around the exception dump: I'll try and wade through and find the debug message. Here are some that I captured with debug on: |
So I may have tracked down a possible problem. In the deserializer it attempts to find the class to instantiate, in this case Network. It's picking up a different Network, introduced by another Gem which had defined 'Network' as a module not in its own namespace. Removing this gem from the Gemfile seems like it fixes that particular problem. Is there a way for deserializer to attempt to namespace deserialize itself to avoid this issue in the future? |
The issue is rbvmomi lazy-loads types, so when the deserializer does a CC @cdickmann On Tue, Feb 26, 2013 at 10:45 PM, Jacob Evans [email protected]:
|
rlane, could you outline the steps a person should take to perhaps get around errors from lazy-loading? I am trying to use the fantastic rbvmomi gem inside a Rails application, but keep running into the dreaded 'stringify_keys' error message because the wrong Class is being called. |
I keep getting this almost randomly, I can't nail down what the cause is. It happens with task messages, or Vm responses anything.
There doesn't seem to be any issue with the XML either. I understand it may be a nokogiri error and not exactly RbVmomi.
Anyone else has any issues?
The text was updated successfully, but these errors were encountered: