VMware {code} Community
halcabes
Enthusiast
Enthusiast

Known issue: Using Vim::update_view_data Subroutine Generates Error Message

Please note that the VI Perl Toolkit Beta Release Notes includes a "Known Issues section" (at http://www.vmware.com/support/pubs/beta/viperltoolkit/viperl-1-200706-releasenotes.html#knownissues) that includes issues such as the following:

Using Vim::update_view_data Subroutine Generates Error Message.

The subroutine update_view_data results in the following error messages:

Use of uninitialized value in string ne

at c:/Perl/site/lib/VMware/VIM2Runtime.pm line 496...

Use of uninitialized value in string eq

at c:/Perl/site/lib/VMware/VIM2Runtime.pm line 516...

If at all possible, avoid using the update_view_data subroutine in your code until the issue has been resolved. To refresh the state of client-side view objects, you can re-instantiate the objects (to obtain current server state) with the necessary calls to get_entity_views or get_views.

--Harvey Harvey Alcabes Product Manager VMware, Inc.
0 Kudos
1 Reply
admin
Immortal
Immortal

Just a quick clarification. What is seen is a warning message, annoying but benign.

People wishing to fix this issue in their environment can replace the 2 files (VIM2Runtime.pm and VIM2Stub.pm) in their current environment with the ones that are in the zip file attached to this message.

These files are in the lib/VMware[/b] folder under the ActiveState Perl home folder.

0 Kudos