catel - Assert Failure at application start: ReflectionTypeLoad_LoadFailed -


when start application, (mostly first time after compiling), following error displayed.
restart of application solves problem times.
how can find out root cause?

besides error message , stack trace have no other informations cause.
visual studio tells me source informations debugging not available.
threads info window cann see main thread in catel.reflection.reflectionextensions.gettypesex().

applicationname.vshost.exe - assert failure
expression: [mscorlib recursive resource lookup bug]
description: infinite recursion during resource lookup within mscorlib.
may bug in mscorlib, or potentially in extensibility points such assembly resolve events or cultureinfo names.
resource name: reflectiontypeload_loadfailed

the complete stack trace available in onedrive.
here first few lines:

stack trace: @ system.environment.resourcehelper.getresourcestringcode(object userdataln) @ system.runtime.compilerservices.runtimehelpers.executecodewithguaranteedcleanup(trycode code, cleanupcode backoutcode, object userdata) @ system.environment.resourcehelper.getresourcestring(string key, cultureinfo culture) @ system.environment.resourcehelper.getresourcestring(string key) @ system.environment.getresourcestringlocal(string key) @ system.reflection.runtimemodule.gettypes(runtimemodule module) @ system.reflection.runtimemodule.gettypes() @ system.reflectionassembly.gettypes() @ catel.reflection.reflectionextensions.gettypesex(assembly assembly) in c:\ciwsma1596\source\catel\sracatel.core\catel.coreshareareflection\extensions\reflectionextensions.assembly.cs:line 33 @ catel.reflection.assemblyhelper.getalltypessafely(assembly assembly, boolean logloaderexceptions) in caci_ws\wa1596\source\catel sracatel.core\catel.core.shareareflection\helpers `, assemblyhelper.cs:line 192 @ catel.reflection.typecachelnitializeassemblies(lenumerablel assemblies) in caci_wsww\1596\source\catel\src\catel.corekatel.core.shareareflection\typecache.cs:line 583 @ catel.reflection.typecachelnitializetypes(boolean forcefulllnitialization, assembly assembly) in caci_wsnws\1596\source\catensracatel.core\catel.core.shareareflection\typecache.cs:line 553 @ catel.reflection.typecache.onassemblyloaded(object sender, assemblyloadeventargs args) in c:\ci_wsnws\1596\sourcekatensracatel.core\catel.core.shareareflection\typecache.cs:line 131 @ system.assemblyloadeventhandlerinvoke(object sender, assemblyloadeventargs args) @ systemappdomain.onassemblyloadevent(runtimeassembly loadedassembly) @ system.reflection.runtimemodule.gettypes(runtimemodule module) @ system.reflection.runtimemodule.gettypes() @ system.reflection.assembly.gettypes() @ catel.reflection.reflectionextensions.gettypesex(assembly assembly) in c:\ciws\ws\1596\source\catel\src\catel.core\catel.core.shared\reflection\extensions\reflectionextensions.assembly.cs:line 33 @ catel.reflectionassemblyhelper.getalltypessafely(assembly assembly, boolean logloaderexceptions) in c:\ci_wsnws\1596\source\catel\sracatel.core\catel.core.shareareflection\helpers‘assemblyhelper.cs:line 192 @ catel.reflection.typecachelnitializeassemblies(lenumerablel assemblies) in caci_wsnws\1596\sourcekatel\src\catel.core\catel.core.shareareflection typecache.cs:line 583 @ catel.reflection.typecachelnitializetypes(boolean forcefulllnitialization, assembly assembly) in c:\ciws\ws\1596\source\catel\sracatel.core\catel.core.shareareflection\typecache.cs:line 553 @ catel.reflection.typecache.onassemblyloaded(object sender, assemblyloadeventargs args) in c:\ci__ws\wa1596\source\catel\sracatel.core\catel.core.shareareflection\typecache.cs:line 131 @ system.assemblyloadeventhandlerinvoke(object sender, assemblyloadeventargs args) @ system.appdomain.onassemblyloadevent(runtimeassembly loadedassembly) @ system.reflection.runtimemodule.gettypes(runtimemodule module) @ system.reflection.runtimemodule.gettypes() @ system.reflection.assembly.gettypes() @ catel.reflection.reflectionextensions.gettypesex(assembly assembly) in c: ciwsnws\1596\source\catel\src catel.core\catel.core.shareareflection extensions\reflectionextensions.assembly.cs:line 33 @ catel.reflection.assemblyhelper.getalltypessafely(assembly assembly, boolean logloaderexceptions) in c:\ci_wsnws\1596\source\catel sracatel.core\catel.core.shareareflection\helpers\assemblyhelper.cs:line 192 @ catel.reflection.typecacheinitializeassemblies(lenumerablel assemblies) in caci_ws\wa1596\source\catel\src\catel.corekatel.core.shareareflection\typecache.cs:line 583 @ catel.reflection.typecacheinitializetypes(boolean forcefulllnitialization, assembly assembly) in caciws\wa1596\source\catel\sracatel.core\catel.core.shareareflection‘typecache.cs:line 553 @ catel.reflection.typecache.onassemblyloaded(object sender, assemblyloadeventargs args) in c:\ci__ws\ws\1596\source\catel\sracatel.core\catel.core.shareareflection‘typecache.cs:line 131 @ system.assemblyloadeventhandlerinvoke(object sender, assemblyloadeventargs args) @ system.appdomain.onassemblyloadevent(runtimeassembly loadedassembly) 

the assemblyhelper in catel creates cache make reflection fast possible. means tries load types / assemblies cannot loaded, these first-chance exceptions can safely ignored.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -