|
From: Steve J. <sj...@vm...> - 2008-08-27 02:04:26
|
Hello Tom, Thanks for the sample. Sorry for being late to get back to you. Too many stuff to do these days. I just tried the sample with my ESX and got into NullPointerException. I debugged it and it appeared that the UserLoginSessionEvent get into the update you monitored. It then failed at line 192 with null pointer exception. I think it might be related to the PropertyFilter. Also, with current setting, the waitForUpdate() doesn't really wait there -- I believe it's because the version is never updated due to the null pointer exception. Do you want to look further into the issue? Thanks! Steve JIN | CoDevelopment, VMware, Inc.| 3401 Hillview Avenue, Palo Alto, CA 94304 | O: 1-650-427-3934 x73934 Open Source Virtual Infrastructure Java API @ http://vijava.sourceforge.net<blocked::blocked::http://vijava.sourceforge.net/> ________________________________ From: vij...@li... [mailto:vij...@li...] On Behalf Of Tom Elliott Sent: Thursday, August 21, 2008 8:24 AM To: vij...@li... Subject: [Vijava-devel] VMEventsMonitor Sample for Review Hi all, I've checked in a preliminary port of VMEventsMonitor, can be viewed at: https://vijava.svn.sourceforge.net/svnroot/vijava/branches/main1.0/main1.0_twelliott/src/com/vmware/vim25/mo/samples/VMEventsMonitor.java Any comments welcome. Cheers, Tom |