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

MobXCaughtException NoSuchMethodError: The getter 'isNotEmpty' was called on null #30

Closed
ltfschoen opened this issue May 18, 2020 · 0 comments

Comments

@ltfschoen
Copy link
Contributor

In our fork of this repository, when the remote node connection fails (for example because we haven't setup our custom types), the networkName variable becomes null, it displays error MobXCaughtException NoSuchMethodError: The getter 'isNotEmpty' was called on null.

Also after updating to the latest version of mobx, flutter_mobx, and mobx_codegen, it provided a different error message A build function returned null. The offending widget is: Observer.

ltfschoen added a commit to DataHighway-DHX/app that referenced this issue May 18, 2020
RomeroYang added a commit that referenced this issue May 18, 2020
fix: Fixes #30. Return empty string not null when invalid custom type s and no remote node
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

1 participant