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

Null Reference Exception by button click #238

Open
rktherk opened this issue Aug 29, 2019 · 1 comment
Open

Null Reference Exception by button click #238

rktherk opened this issue Aug 29, 2019 · 1 comment

Comments

@rktherk
Copy link

rktherk commented Aug 29, 2019

Dear Ooui Team,

ive bind over XAML a Button via a Command, as it do not work, so i bind over x:name the button to a click method. Same error its happen. The error in my Debugger console on Chrome is:

Failed to process received message: Newtonsoft.Json.JsonSerializationException: Error getting value from 'MessageType' on 'Ooui.Message'. ---> System.NullReferenceException: Object reference not set to an instance of an object.

thrown in mono.js

i use VS Studio 2017 and the newest (released) nuget packages for .net Standard and Xamarin.Forms.

The over bindings and Code behind Systems work for me. Just the Command pattern seems to be buggy.

@MartinPessoa
Copy link

Did you manage to get this working? i'm getting the same error, simply trying to run basic ooui.forms example with button click.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants