Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotSupportedException: "Unsupported expression type: 'Convert'" #659

Closed
flagbug opened this issue Jul 11, 2014 · 4 comments
Closed

NotSupportedException: "Unsupported expression type: 'Convert'" #659

flagbug opened this issue Jul 11, 2014 · 4 comments
Labels

Comments

@flagbug
Copy link
Member

flagbug commented Jul 11, 2014

Copying this from PR #656:

When starting the Android-Playground app, it throws a

NotSupportedException: "Unsupported expression type: 'Convert'"

at https://github.com/reactiveui/ReactiveUI/blob/master/ReactiveUI/Platform/Registrations.cs#L46

I can also reproduce this in my apps that I upgraded to RxUI 6

@justinvp
Copy link

I'm also running into this in an Android app that I upgraded to RxUI 6.

@bordoley
Copy link

Stack trace on android:

[MonoDroid] UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for ReactiveUI.RxApp ---> System.TypeInitializationException: An exception was thrown by the type initializer for ReactiveUI.AndroidObservableForWidgets ---> System.NotSupportedException: Unsupported expression type: 'Convert'
[MonoDroid]   at ReactiveUI.ExpressionMixins.GetMemberInfo (System.Linq.Expressions.Expression expression) [0x00040] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/ExpressionMixins.cs:68 
[MonoDroid]   at ReactiveUI.AndroidObservableForWidgets.createFromWidget[NumberPicker,ValueChangeEventArgs] (System.Linq.Expressions.Expression`1 property, System.Action`2 addHandler, System.Action`2 removeHandler) [0x00014] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/Android/AndroidObservableForWidgets.cs:88 
[MonoDroid]   at ReactiveUI.AndroidObservableForWidgets..cctor () [0x000ac] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/Android/AndroidObservableForWidgets.cs:24 
[MonoDroid]   --- End of inner exception stack trace ---
[MonoDroid]   at ReactiveUI.PlatformRegistrations.<Register>m__3 () [0x00000] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/Platform/Registrations.cs:46 
[MonoDroid]   at ReactiveUI.DependencyResolverMixins+<InitializeReactiveUI>c__AnonStorey0.<>m__1 (System.Func`1 f, System.Type t) [0x00000] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/IDependencyResolver.cs:29 
[MonoDroid]   at ReactiveUI.PlatformRegistrations.Register (System.Action`2 registerFunction) [0x00087] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/Platform/Registrations.cs:46 
[MonoDroid]   at ReactiveUI.DependencyResolverMixins.InitializeReactiveUI (IMutableDependencyResolver resolver) [0x0003a] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/IDependencyResolver.cs:29 
[MonoDroid]   at ReactiveUI.RxApp.<RxApp>m__0 () [0x0000b] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/RxApp.cs:47 
[MonoDroid]   at Splat.Locator.RegisterResolverCallbackChanged (System.Action callback) [0x0003c] in /Users/paul/code/paulcbetts/splat/Splat/ServiceLocation.cs:87 
[MonoDroid]   at ReactiveUI.RxApp..cctor () [0x00010] in /Users/paul/code/reactiveui/ReactiveUI/ReactiveUI/RxApp.cs:45 
[MonoDroid]   --- End of inner exception stack trace ---

@bordoley
Copy link

Any idea when you'll get around to updating nuget with a new release? thanks.

@anaisbetts
Copy link
Member

@bordoley Gotta solve that WPF weak reference stuff first

@lock lock bot added the outdated label Jun 26, 2019
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants