TestModuleActivator | ScanAssembly failed problem

Ask general questions here.
rastek
Posts: 182
Joined: Wed Aug 06, 2014 12:00 pm

TestModuleActivator | ScanAssembly failed problem

Post by rastek » Tue Nov 24, 2020 2:35 pm

I have this strange error in TestModuleActivator | ScanAssembly failed in Ranorex and I can not find any solution on google search, I hope someone help me

2020-11-23 10:23:15.1199|WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Jira.SDK, Version=1.2.25.0, Culture=neutral, PublicKeyToken=null', ModuleName='LoadTracebackFromActuator', guid='cf61d8d1-bb2a-4d7c-bc62-44f59554ce02', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)

I send full log file in the attachment, please have a look at.
Last edited by rastek on Wed Nov 25, 2020 9:10 pm, edited 3 times in total.

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

Re: TestModuleActivator | ScanAssembly failed problem

Post by odklizec » Tue Nov 24, 2020 3:19 pm

Hi,

I'm afraid, there is no attachment in your post. Anyway, it seems that you are using Jira integration in Ranorex? Have you tried to uninstall/reinstall it?
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

rastek
Posts: 182
Joined: Wed Aug 06, 2014 12:00 pm

Re: TestModuleActivator | ScanAssembly failed problem

Post by rastek » Wed Nov 25, 2020 9:20 pm

I see logfile was ignored by Ranorex, I added in zipped format. Can you tell me at least what is ScanAssembly failed is all about ? We can not find anything about it when we do google search.

Assemblies are working, we only have this problem in some pcs, we tried with different Ranorex versions but did not help
Attachments
Logfile.zip
(12.41 KiB) Downloaded 9 times

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

Re: TestModuleActivator | ScanAssembly failed problem

Post by odklizec » Thu Nov 26, 2020 1:59 pm

Hi,

I'm afraid, I don't have a clue what this error means. But it really looks like something Jira-related? So I would start with removing Jira integration. At next, this error looks more like warning and not test-blocking issue? Does your tests still work or the warning blocks them completely?
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

rastek
Posts: 182
Joined: Wed Aug 06, 2014 12:00 pm

Re: TestModuleActivator | ScanAssembly failed problem

Post by rastek » Fri Nov 27, 2020 6:30 am

If you have looke at logile there are more assemblies in the log Ranorex had problems.

2020-11-18 18:04:23.326| WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Jira.SDK, Version=1.2.25.0, Culture=neutral, PublicKeyToken=null', ModuleName='LoadConfigurationToActuator', guid='31cc3796-ca8a-4a42-a17a-708cb1cf21f6', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)
2020-11-18 18:04:23.346| WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Kaba.Kem.BNet9107, Version=4.21.7499.27346, Culture=neutral, PublicKeyToken=null', ModuleName='LoadConfigurationToActuator', guid='31cc3796-ca8a-4a42-a17a-708cb1cf21f6', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)
2020-11-18 18:04:23.369| WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Kaba.Kem.Bweb9108, Version=4.21.7499.27346, Culture=neutral, PublicKeyToken=null', ModuleName='LoadConfigurationToActuator', guid='31cc3796-ca8a-4a42-a17a-708cb1cf21f6', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)
2020-11-18 18:04:23.394| WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Kaba.Kem.CHW4000, Version=4.21.7499.27349, Culture=neutral, PublicKeyToken=null', ModuleName='LoadConfigurationToActuator', guid='31cc3796-ca8a-4a42-a17a-708cb1cf21f6', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)
2020-11-18 18:04:23.415| WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Kaba.Kem.SmartCom, Version=4.21.7499.27347, Culture=neutral, PublicKeyToken=null', ModuleName='LoadConfigurationToActuator', guid='31cc3796-ca8a-4a42-a17a-708cb1cf21f6', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)
2020-11-18 18:04:23.435| WARN|Ranorex.Core.Testing.TestModuleActivator|ScanAssembly failed (Assembly='Kaba.Kem.ReaderController, Version=4.21.7499.27355, Culture=neutral, PublicKeyToken=null', ModuleName='LoadConfigurationToActuator', guid='31cc3796-ca8a-4a42-a17a-708cb1cf21f6', searchByName='False'). System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Ranorex.Core.Testing.TestModuleActivator.ScanAssembly(Assembly asm, String moduleName, CaseInsensitiveString guid, Boolean searchByName)

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

Re: TestModuleActivator | ScanAssembly failed problem

Post by odklizec » Fri Nov 27, 2020 6:42 am

Hi,

Well, maybe you should remove Kaba as well? I believe it's not exactly Ranorex-related thing, but something you installed?
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