Forum Discussion

jferreira's avatar
jferreira
Occasional Contributor
7 years ago
Solved

The object invoked has disconnected from its clients.

I've recently upgraded from TC10.20 to TC12.40. All my tests were running smoothly on TC10. Since I moved to TC12.40, I can only randomly initiate my tests without getting an error message with the ...
  • tristaanogre's avatar
    tristaanogre
    7 years ago

    While contacting support is helpful, one thing that could be a cause has to do with the NameMapping caching... if you have something rendered on screen with a handle, then you perform an action that causes it to be re-rendered and assigned a new handle, the caching of NameMapping may not be up to date and you'll get that message.  A quick and easy solution is that, right before the code that triggers that error, call RefreshMappingInfo on the parent object.  See if that helps.