VMware {code} Community
scott21
Contributor
Contributor

vSphere Custom Tasks XXX com.package.label not found XXX

I am trying to get some custom tasks working in vSphere using C#. I have followed this thread http://communities.vmware.com/thread/214428 in setting up my custom tasks. I am seeing a lot of XXX com.package.label not found XXX in the Recent tasks in vSphere client. It seems to do this the first time a execute a custom task. If i execute the same custom task again it will display the proper label. If the label are showing up properly and i close and reopen the vSphere client some of them change to XXX com.package.label not found XXX.

Any ideas on how to get the labels to show properly everytime? Thanks.

Tags (4)
Reply
0 Kudos
3 Replies
scott21
Contributor
Contributor

I solved the problem and just wanted to post what it was incase anyone else runs into this.

I was registering the ExtensionTaskTypeInfo one at a time as was need by my plug-in. I changed this to registering them all at once the first time the plug-in is loaded. Now all the labels show up correctly.

Reply
0 Kudos
Svedja
Enthusiast
Enthusiast

Hello. Just found the solution on Google Smiley Happy

It seems to be a localization problem somewhere and adding "-locale en_US " as a option to you vSphere client (or shorcut) solved the problem on my workstation.

Reply
0 Kudos
maneltbc
Contributor
Contributor

"-locale en_US " works for me

My OS is windows xp and my shortcut is:

"C:\Archivos de programa\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -locale en_US

Reply
0 Kudos