-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Hangs on startup due to missing album metadata #122
Comments
Also, I'm wondering if you saw these exceptions in Fire ase. |
@Abestanis I added you as a viewer to the Firebase project |
I do see a few exceptions there |
I uploaded the debug symbols, and new crashes should automatically be deobfuscated for this version Made an issue to automate it |
Deobfuscated stacktrace
|
I'm wondering what's changed in the last version that it started failing |
Interestingly enough, I bisected to this commit 3398b4e |
I'll try to investigate that when I'm back from holidays. |
I couldn't verify it, but I think the reason why this has not been a problem before is that the Line 181 in 0103371
In Kotlin, that call was throwing an exception, which is why we added this null check here: Line 255 in d409442
So now we were adding I think we should probably treat all data except the |
This might be tricky to support. I would evauluate whether this is actually the case, because the databases themselves definitely do not have all columns as nullable |
Steps to reproduce
Either
Or
What did you expect?
For the app to start.
What happened instead?
We just hang forever because we throw an exception here
sweyer/lib/logic/models/album.dart
Line 103 in 7496517
and here
sweyer/lib/logic/models/album.dart
Line 104 in 7496517
The value for
fistYear
andlastYear
seem to benull
for at least one album, so the cast toint
fails.We should:
lastYear
already is, we just need to change the cast).I would love to submit a MR so we can patch this as soon as possible (I think this deserves a hot fix release), but I'm on vacation for a week so I won't be able to work on it until I'm back.
Sweyer version
1.0.10
Android version
14
The text was updated successfully, but these errors were encountered: