Skip to content

Crash on Android (regression in 1.2.6) #465

Closed
@tranb3r

Description

On Android, my app crashes when using new version 1.2.6.
No issue with previous versions.

Here is the stacktrace:

System.TypeInitializationException : The type initializer for 'System.Linq.Dynamic.Core.Parser.EnumerationsFromMscorlib' threw an exception.
---- System.IO.FileNotFoundException : Could not load the file 'System.Private.Corelib'.
		  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
		  at System.Linq.Dynamic.Core.Parser.KeywordsHelper..ctor (System.Linq.Dynamic.Core.ParsingConfig config) [0x00256] in C:\Users\azurestef\Documents\Github\zzzprojects\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\Parser\KeywordsHelper.cs:68 
		  at System.Linq.Dynamic.Core.Parser.ExpressionParser..ctor (System.Linq.Expressions.ParameterExpression[] parameters, System.String expression, System.Object[] values, System.Linq.Dynamic.Core.ParsingConfig parsingConfig) [0x0007c] in C:\Users\azurestef\Documents\Github\zzzprojects\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\Parser\ExpressionParser.cs:84 
		  at System.Linq.Dynamic.Core.DynamicExpressionParser.ParseLambda (System.Type delegateType, System.Linq.Dynamic.Core.ParsingConfig parsingConfig, System.Boolean createParameterCtor, System.Linq.Expressions.ParameterExpression[] parameters, System.Type resultType, System.String expression, System.Object[] values) [0x00027] in C:\Users\azurestef\Documents\Github\zzzprojects\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\DynamicExpressionParser.cs:120 
		  at System.Linq.Dynamic.Core.DynamicExpressionParser.ParseLambda (System.Linq.Dynamic.Core.ParsingConfig parsingConfig, System.Boolean createParameterCtor, System.Linq.Expressions.ParameterExpression[] parameters, System.Type resultType, System.String expression, System.Object[] values) [0x00000] in C:\Users\azurestef\Documents\Github\zzzprojects\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\DynamicExpressionParser.cs:97 
		  at System.Linq.Dynamic.Core.DynamicExpressionParser.ParseLambda (System.Boolean createParameterCtor, System.Linq.Expressions.ParameterExpression[] parameters, System.Type resultType, System.String expression, System.Object[] values) [0x00000] in C:\Users\azurestef\Documents\Github\zzzprojects\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\DynamicExpressionParser.cs:450 
		  at System.Linq.Dynamic.Core.DynamicExpressionParser.ParseLambda (System.Boolean createParameterCtor, System.Type itType, System.Type resultType, System.String expression, System.Object[] values) [0x00018] in C:\Users\azurestef\Documents\Github\zzzprojects\System.Linq.Dynamic.Core\src\System.Linq.Dynamic.Core\DynamicExpressionParser.cs:201 

Any idea ?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions