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

Exception when I run this project: The getter '_store' was called on null. #5

Closed
petnagy opened this issue Mar 23, 2018 · 8 comments
Closed
Assignees
Labels
bug Something isn't working
Projects

Comments

@petnagy
Copy link

petnagy commented Mar 23, 2018

Hello,

I copied your example and when it start it throws an exception:
I/flutter (26980): The following NoSuchMethodError was thrown building StoreConnector<AppState, String>(dirty):
I/flutter (26980): The getter '_store' was called on null.
I/flutter (26980): Receiver: null
I/flutter (26980): Tried calling: _store

If I comment out persistor.start(store); than it is running but there is nothing on the screen.

@petnagy
Copy link
Author

petnagy commented Mar 23, 2018

Additional information it is working with redux_persist: ^0.4.0

@Cretezy
Copy link
Owner

Cretezy commented Mar 23, 2018

Try a newer version, like 0.6.0. I think this was a bug in 0.4.0.

@ooasis
Copy link

ooasis commented Mar 30, 2018

This is likely related to brianegan/flutter_redux#30 (comment)

Can this project be updated with latest release of redux & flutter_redux (0.5.0)?

@Cretezy
Copy link
Owner

Cretezy commented Mar 31, 2018

Alright, working on upgrading to the latest dependencies. Except a new version today.

@Cretezy Cretezy self-assigned this Mar 31, 2018
@Cretezy Cretezy added the bug Something isn't working label Mar 31, 2018
@Cretezy
Copy link
Owner

Cretezy commented Mar 31, 2018

Try out the new RCs:

This should work as intended. Let me know of any issues you run into.

@petnagy
Copy link
Author

petnagy commented Apr 1, 2018

Thanks I will try it.

@Cretezy
Copy link
Owner

Cretezy commented Apr 14, 2018

@petnagy How is the RCs working?

@petnagy
Copy link
Author

petnagy commented Apr 15, 2018

@Cretezy thanks, it seems me ok. It is working for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
v1.0.0
  
Done
Development

No branches or pull requests

3 participants