VMware

This Question is Answered

1 "helpful" answer available (6 pts)
3 Replies Last post: Jan 14, 2009 10:43 AM by eatorres  

Strange error in a C# program I wrote posted: Jan 13, 2009 5:17 PM

Click to view eatorres's profile Enthusiast 31 posts since
Oct 21, 2008

I get the following error (seemingly randomly) whenever I run a
program I wrote using the VIX API (in addition to the VI SDK, so I will
probably post this on the SDK 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?

Re: Strange error in a C# program I wrote

1. Jan 14, 2009 3:57 AM in response to: eatorres
Click to view akoeplinger's profile Novice 18 posts since
Nov 29, 2008

Hi!

This error usually occurs when you forget to properly call Disconnect(); in your application.

Regards, Alex

Re: Strange error in a C# program I wrote

2. Jan 14, 2009 9:54 AM in response to: eatorres
Click to view dblock's profile Enthusiast 110 posts since
Dec 9, 2008

First, this is a bug in the library. I hope VMWare fixes it soon.

This threadends with a work-around. As Alex says, you need to explicitly disconnect, but that won't let your application run 24/7. You need to release all unused objects that link to the connection, garbage collect, then disconnect for something that you want to run 24/7.

Developer Social Media

Communities