Skip to content
New issue

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

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

Already on GitHub? # to your account

039 Unhandled Exception: NoSuchMethodError: Class 'NoSuchMethodError' has no instance getter 'message'. #38

Closed
jrmgarcia opened this issue Feb 10, 2020 · 1 comment

Comments

@jrmgarcia
Copy link

E/flutter (14386): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: NoSuchMethodError: Class 'NoSuchMethodError' has no instance getter 'message'.
E/flutter (14386): Receiver: Instance of 'NoSuchMethodError'
E/flutter (14386): Tried calling: message
E/flutter (14386): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
E/flutter (14386): #1 FirestoreService.getUser
package:pasabay_app/services/firestore_service.dart:21
E/flutter (14386):
E/flutter (14386): #2 AuthenticationService._populateCurrentUser
package:pasabay_app/services/authentication_service.dart:74
E/flutter (14386): #3 AuthenticationService.isUserLoggedIn
package:pasabay_app/services/authentication_service.dart:68
E/flutter (14386):
E/flutter (14386): #4 StartUpViewModel.handleStartUpLogic
package:pasabay_app/viewmodels/startup_view_model.dart:14
E/flutter (14386): #5 StartUpView.build.
package:pasabay_app/…/views/startup_view.dart:13
E/flutter (14386): #6 _ViewModelProviderState.initState (package:provider_architecture/viewmodel_provider.dart)

@FilledStacks
Copy link
Owner

There's no method message on the user object. Or aleast that's what it looks like it's complaining about. Debug it and let me know what the problem is.

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

No branches or pull requests

2 participants