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?
Potential registration after container was locked
Re: Potential registration after container was locked
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.
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 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
Re: Potential registration after container was locked
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?.
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?.