VMware {code} Community
eatorres
Enthusiast
Enthusiast

Strange error when running a C# program using the VI SDK

I get the following error (seemingly randomly) whenever I run a program I wrote using the VI SDK (in addition to the VIX API, so I will probably post this on the VIX board as well):

    • ERROR **: file d:/build/ob/bora-127388/bora/vim/lib/gvmomi/gvmomiMOMgr.c: line 212: assertion failed: (priv->updatesListener == NULL) aborting...

I have no idea what is causing this. Sometimes my program runs fine and this error doesn't pop up. Other times it pops up as soon as I start my program. Anyone else run into this problem?

0 Kudos
2 Replies
Steve_Jin
Expert
Expert

That is an assertion failure from gvmomiMOMgr.c. What underlying VI SDK library do you use in your C# app?

Steve JIN, VMware Engineering

Creator of VI Java API:

Steve JIN Author of VMware VI and vSphere SDK; Creator of open source VI Java API (http://vijava.sf.net); Blogger at http://www.doublecloud.org
0 Kudos
eatorres
Enthusiast
Enthusiast

I'm using "VimService2005.dll." I'm pretty sure I have the most recent version.

0 Kudos