Cook-E-team / Cook-E

A mobile application that helps schedule cooking with multiple recipes
GNU General Public License v3.0
2 stars 1 forks source link

mVisibleRecipes unexpectedly null #28

Closed samcrow closed 8 years ago

samcrow commented 8 years ago

The home activity sometimes "crashes" because mVisibleRecipes is null when it should not be.

Sam has not been able to reproduce the problem. More information is needed.

tsjacoby commented 8 years ago

This used to happen for me, but with the latest version from master it doesn't. At this time I only get a "java.sql.SQLException: java.text.ParseException: Invalid JSON" and it says "Failed to load recipes".

samcrow commented 8 years ago

The ParseException is probably a result of the recipe serialization format change associated with issue 22. The JSON parser cannot read recipe steps serialized in the previous format. Clearing the application data should fix that.

tsjacoby commented 8 years ago

That was exactly it. I cleared the data and it all works now. Thanks Sam!

zijinzhang commented 8 years ago

I used to have this problem, but it works now.

samcrow commented 8 years ago

It looks like everyone's problems have been resolved, so I am closing this issue.