Potential registration after container was locked

Ask general questions here.
sk1318
Posts: 2
Joined: Sat Jun 19, 2021 11:04 am

Potential registration after container was locked

Post by sk1318 » Mon Jul 19, 2021 11:22 am

I am using Ranorex 9.3 and have a C# wrapper around the Ranorex library.

I am getting the below error in Documents\Ranorex\Logs\automation.log

2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked
2021-07-19 00:46:54.564|FATAL|Ranorex.Libs.Services|LightInject: Potential registration after container was locked

Any reason for this failure and how to resolve it?

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7470
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Potential registration after container was locked

Post by odklizec » Tue Jul 20, 2021 9:55 am

Hi,

Unfortunately, there is too little information about this problem, to provide a reasonable support. Additionally, Ranorex 9.3 is quite old and no longer supported. Please answer the following questions:

Have you tried to reproduce the problem with 9.5.3 (last 9.x release) or most recent 10.0?
Did it work before and it started to fail all of suddenly?
Have you tried to reproduce the problem with Ranorex Studio?
Does this happen with any application or just particular one? In this case, there would be needed a working sample app with reproducible steps.

Thank you.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

sk1318
Posts: 2
Joined: Sat Jun 19, 2021 11:04 am

Re: Potential registration after container was locked

Post by sk1318 » Mon Jul 26, 2021 1:27 pm

Thanks for looking into this issue. Please find my answers below,

Have you tried to reproduce the problem with 9.5.3 (last 9.x release) or most recent 10.0?
I tried with the latest version 10.0 but still, the issue persists.
Did it work before and it started to fail all of suddenly?
We are tracing some existing bugs in our existing automation system, one of the main bug is "Element not found". In such case, the container won't exist in SPY or automation code but visually you can see the UI element present on the desktop.
Have you tried to reproduce the problem with Ranorex Studio?
No, we don't use Ranorex Studio but we use SPY to validate/capture whether RXPath is valid or not.
Does this happen with any application or just a particular one? In this case, there would be needed a working sample app with reproducible steps.
"Container not found" issue could be common., but UI may be very specific to our company environment. Our Automation System is a little complex and very environment-specific. Working sample app is not possible.

We are trying to correlate, "Container/Element not found" with "Potential registration after container was locked"., or is it related to cache refresh?.