VMware Communities
foobar4711
Enthusiast
Enthusiast

opening .ova fails with Workstation14: invalid vector<T> subscript (class std::out_of_range)

Hi,

the subject says all I have atm. I checked the .ova file for integrity with 7Zip and it decompresses fine. What else would be needed to find out what this is about?

Thanks

Ulf

13 Replies
mhampto
VMware Employee
VMware Employee

The workarounds in Deploying an OVA/OVF with the vSphere Client fails at 99% (1032863) | VMware KB  may be able to get the VM imported.

foobar4711
Enthusiast
Enthusiast

Hi,

thanks for the suggestions, but as this is Workstation and not vSphere they didn't really apply.

Nevertheless I found that I could remove <DeploymentOptionSection> from the .ovf file and then it worked.

I can't say whether the issue with the syntax of that section or with Workstation but imho not able to parse a config file shouldn't crash Workstation, right?

Regards

Ulf

Reply
0 Kudos
foobar4711
Enthusiast
Enthusiast

Hi,

any news on this? I'm sure we wouldn't want that an .ova file can crash the whole VMW-Workstation, right?

Regards

Ulf

Reply
0 Kudos
admin
Immortal
Immortal

Is there any way that we could get a copy of the .ova file?

If not, then the UI log might give us some insight.  Run Workstation, go to Help > About, note the location of the UI log file.  Reproduce the crash, and then attach that log file.

Reply
0 Kudos
foobar4711
Enthusiast
Enthusiast

Hi,

sure:

- UI log:

2017-11-10T07:51:21.680+01:00| vmui| I125: CVMUIApp::MenuButtonClicked: 10004 C:\Users\foo\Documents\Virtual Machines\Ubuntu\Ubuntu 14.04.vmx

2017-11-10T07:51:27.611+01:00| vmui| I125: Spawning OVFTool:

2017-11-10T07:51:27.611+01:00| vmui| I125+ '--machineOutput' '--X:logFile=C:\Users\foo\AppData\Local\Temp\vmware-foo\ovftool.log' '--X:logLevel=verbose' 'C:\Users\foo\Documents\bar.ova'

2017-11-10T07:51:31.305+01:00| vmui| I125: OVFTool::OnExit

2017-11-10T07:51:49.478+01:00| vmui| I125: CVMUIApp::MenuButtonClicked: 11905 C:\Users\foo\Documents\Virtual Machines\Ubuntu\Ubuntu 14.04.vmx

2017-11-10T07:52:01.337+01:00| vmui| I125: CVMUIApp::MenuButtonClicked: 10004 C:\Users\foo\Documents\Virtual Machines\Ubuntu\Ubuntu 14.04.vmx

2017-11-10T07:52:03.131+01:00| vmui| I125: Spawning OVFTool:

2017-11-10T07:52:03.131+01:00| vmui| I125+ '--machineOutput' '--X:logFile=C:\Users\foo\AppData\Local\Temp\vmware-foo\ovftool.log' '--X:logLevel=verbose' 'C:\Users\foo\Documents\bar.ova'

2017-11-10T07:52:03.698+01:00| vmui| I125: OVFTool::OnExit

2017-11-10T07:52:08.304+01:00| vmui| W115: Unhandled C++ exception: class 'class std::out_of_range', details 'invalid vector<T> subscript'

(The MenuButtonClicked UI events are just wrong (or at least missleading, I never clicked these)

- ovf tool log:

2017-11-10T07:52:03.652+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] [SSL_DB] Using C:\Users\foo\AppData\Roaming\VMware\ovftool_SSLDB as SSL DB

2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 2 (SIGINT)

2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 4 (SIGILL)

2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 22 (SIGABRT)

2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 8 (SIGFPE)

2017-11-10T07:52:03.672+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Subscribing to signal: 15 (SIGTERM)

2017-11-10T07:52:03.674+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing progress

2017-11-10T07:52:03.674+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] OvfTool Version: VMware ovftool 4.2.0 (build-6230482)

2017-11-10T07:52:03.675+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Using home directory: C:\Users\foo\AppData\Roaming\VMware\ovftool.cfg

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Curl Version: 7.50.0-DEV

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Done initializing libs

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Determining source

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Determining target

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Getting source

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Parsing URL...

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Constructing URL...

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Parsing URL...

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Constructing URL...

2017-11-10T07:52:03.676+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Constructing URL...

2017-11-10T07:52:03.677+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Opening source

2017-11-10T07:52:03.677+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] OvfPackageSourceBase::Open

2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file present. Parsing file.

2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file entry: SHA1(bar.ovf) = cbdca6a29db544f412174ef35bf97eb4b4fe187e

2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file entry: SHA1(bar-disk1.vmdk) = c3b6e606a864caa860910febdbc3ec978d8584a9

2017-11-10T07:52:03.678+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Manifest file entry: SHA1(certchain.pem) = 25b0c384c86afada52ebb460a9e21cedcd4c82c5

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing OVF rewriter...

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Verifying that the files references in manifest are valid

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] ApplyOvfTransformations with ovfRewriter started

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] ApplyExtraConfig started

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Setting extra config...

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Filtering extra config

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] The command line option --allowExtraConfig is specified: false

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] The command line option --exportFlags=extraconfig is specified: false

2017-11-10T07:52:03.679+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] OvfPackageSourceBase parsing message bundle

2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing OVF rewriter...

2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Validating files

2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Ovf converter is executing

2017-11-10T07:52:03.680+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Starting Ovf probe, OVF source Descriptor: <?xml version="1.0" encoding="UTF-8"?>

--> <!--Generated by VMware ovftool 4.1.0 (build-2459827), UTC time: 2017-08-23T19:40:41.276575Z-->

--> <Envelope vmw:buildId="build-2459827" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vmw="http://www.vmware.com/schema/ovf" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

-->   <References>

-->     <File ovf:href="bar-disk1.vmdk" ovf:id="file1" ovf:size="3168751616"/>

-->   </References>

... (dump of the .ova file omitted)

2017-11-10T07:52:03.683+01:00 verbose OVFTool[05700] [Originator@6876 sub=Default] Initializing OVF rewriter...

Which doesn't seem particularly helpful as I couldn't find a log for OVF rewriter, at least not in the directory where the other log files reside.

Regards

P.S. I'm sure you can find my email from my profile here and ucast me a way to provide you more details I'm not nessecarly confident to post in a public forum.

Reply
0 Kudos
foobar4711
Enthusiast
Enthusiast

Btw. the issue still occurs with lastest VMware workstation version 14.1.0 ...

Reply
0 Kudos
foobar4711
Enthusiast
Enthusiast

Hi,

1. issue still occurs with Workstation 14.1.1

2. issue also occurs with VMware ESXi Embedded Host Client 1.29 (whereas VMware 6.5u1 build-in client (v1.19) is ok)

Regards

Ulf

Reply
0 Kudos
foobar4711
Enthusiast
Enthusiast

And the issue still occurs with Workstation 15.0.1 ... Why does VMware have at least two different parsers for .ovf files?

Reply
0 Kudos
awentland
Contributor
Contributor

Hi there,

I'm getting the same error as foobar4711 receives. I see it while opening Cisco Unity Connection .ova file (no matter which version).

It opens and asks to confirm End User License Agreement, then allows to name this VM and when we move to deployment options it crashes (Virtualization for Cisco Unity Connection (CUC))​.

Any suggestions why that happens?

Because of that error I'm unable to built my Collaboration lab.

Best regards,

Adrian

Reply
0 Kudos
Susie201110141
VMware Employee
VMware Employee

We will take a look at the logs, thanks for the info!

Reply
0 Kudos
Susie201110141
VMware Employee
VMware Employee

Could you upgrade to latest workstation version 15.1 to have a try?

awentland
Contributor
Contributor

Hello Susie,

Thank you for your quick response.

Let me check this today and come back to you with my findings.

Best regards,

Adrian

Reply
0 Kudos
awentland
Contributor
Contributor

Hello Susie,

My apologize for late answer.

You must have been right. When I were trying to use that OVA I might have used workstation player 15.0. Now when I've installed version 15.1 I have successfully installed another node to my lab. Thanks a lot for your quick response!

You saved my the day Smiley Happy

Best regards,

Adrian

Reply
0 Kudos