Forum Discussion

mathotp's avatar
mathotp
Occasional Contributor
7 years ago

Variant or safe array index out of bounds. Error when opening a project

Hi Guys,

 

I'm currently facing an issue when opening a project.

I keep getting "Variant or safe array index out of bounds."

and the message will not go away, each time I click OK it keeps coming back. 

It is therefor impossible ofr me to work in the project

 

Thanks

Philippe

9 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Gut feeling.

    When checking in source code for your project, something "auto-merged" that messed up one of the files.  Go into your source control and work your way back through change sets until you find one that works.

  • mathotp's avatar
    mathotp
    Occasional Contributor

    Thanks  tristaanogre

     

    Isn't there any other way to fix this ? 

    I've tried rolling back but it still does not work

     

    Thanks

    Phil

  • mathotp's avatar
    mathotp
    Occasional Contributor

    Any chance this is happening because I was on a trial and now that the trial expired it is giving me a hard time ? 

     

    I did buy a licence 3 weeks ago and I have a license server setup, but my licence does not contain the "Web testing" module  not the "Mobile Devices Support'.

     

     

  • mathotp's avatar
    mathotp
    Occasional Contributor

    Any chance this is happening because I was on a trial and now that the trial expired it is giving me a hard time ? 

     

    I did buy a licence 3 weeks ago and I have a license server setup, but my licence does not contain the "Web testing" module  not the "Mobile Devices Support'. So every time TestComplete starts I have to click continue without...

     

     

  • mathotp's avatar
    mathotp
    Occasional Contributor

    It also Does the same with other project that are not getting versioned 

  • mathotp's avatar
    mathotp
    Occasional Contributor

    Still in process of being solved, but in my case it is due to the license expiration for Web and Mobile.

    Support gave a a 2 days trial key for both module and it instantly resolved the issue.

     

    So we'll see how it goes, maybe we can keep this thread open so I can post the solution when they give me one.

     

  • mathotp's avatar
    mathotp
    Occasional Contributor

    Hi all,

     

    Here is the solution to the issue:

     

    -Uninstall TestComplete
    -Delete C:\Program Files (x86)\SmartBear\TestComplete 12 folder
    -Delete C:\Program Files (x86)\Common Files\SmartBear
    -Reboot

    -Re-install TestComplete

     

    Thank

    Philippe