Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Windows Azure Exception in Release Mode

$
0
0

Simple Forms app using Azure Mobile Services. When I run it in release mode I get an unhandled exception (below). I can fix it by switching to No Linking but the package balloons up to 40MB lol. Any ideas which call I need to preserve or any other solution?

Thanks everyone.

11-05 18:13:21.593: E/mono-rt(21010): [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Argument cannot be null.
11-05 18:13:21.593: E/mono-rt(21010): Parameter name: method
11-05 18:13:21.593: E/mono-rt(21010): at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure, Boolean allowClosed) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, Boolean throwOnBindFailure) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at System.Linq.Expressions.Expression.CreateLambda (System.Type delegateType, System.Linq.Expressions.Expression body, System.String name, Boolean tailCall, System.Collections.ObjectModel.ReadOnlyCollection

1 parameters) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at System.Linq.Expressions.Expression.Lambda (System.Linq.Expressions.Expression body, System.String name, Boolean tailCall, IEnumerable
1 parameters) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at System.Linq.Expressions.Expression.Lambda (System.Linq.Expressions.Expression body, Boolean tailCall, IEnumerable
1 parameters) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at System.Linq.Expressions.Expression.Lambda (System.Linq.Expressions.Expression body, System.Linq.Expressions.ParameterExpression[] parameters) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.PartialEvaluator+<>c__DisplayClass4.<EvaluateIndependentSubtrees>b__3 (System.Linq.Expressions.Expression expr, System.Func
2 recur) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.VisitorHelper.Visit (System.Linq.Expressions.Expression expression) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.ExpressionVisitor.VisitBinary (System.Linq.Expressions.BinaryExpression b) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.ExpressionVisitor.Visit (System.Linq.Expressions.Expression exp) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.VisitorHelper.<>n__FabricatedMethod4 (System.Linq.Expressions.Expression ) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.VisitorHelper.b__3 (System.Linq.Expressions.Expression e) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.PartialEvaluator+<>c__DisplayClass4.b__3 (System.Linq.Expressions.Expression expr, System.Func
2 recur) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.VisitorHelper.Visit (System.Linq.Expressions.Expression expression) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.ExpressionVisitor.VisitLambda (System.Linq.Expressions.LambdaExpression lambda) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.ExpressionVisitor.Visit (System.Linq.Expressions.Expression exp) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.VisitorHelper.<>n__FabricatedMethod4 (System.Linq.Expressions.Expression ) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.VisitorHelper.<Visit>b__3 (System.Linq.Expressions.Expression e) [0x00000] in <filename unknown>:0 
11-05 18:13:21.593: E/mono-rt(21010):   at Microsoft.WindowsAzure.MobileServices.PartialEvaluator+<>c__DisplayClass4.<EvaluateIndependentSubtrees>b__3 (System.Linq.Expressions.Expression expr, System.Func
2 recur) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.VisitorHelper.Visit (System.Linq.Expressions.Expression expression) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.ExpressionVisitor.VisitUnary (System.Linq.Expressions.UnaryExpression u) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.ExpressionVisitor.Visit (System.Linq.Expressions.Expression exp) [0x00000] in :0
11-05 18:13:21.593: E/mono-rt(21010): at Microsoft.WindowsAzure.MobileServices.VisitorHelper.<>n__FabricatedMethod4 (System.Linq.Expressions.Expression

Viewing all articles
Browse latest Browse all 58056

Trending Articles