-
Notifications
You must be signed in to change notification settings - Fork 583
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
Weird crash in production #71
Comments
were you able to determine the cause? I don't see any reason for this error to come.. Is this occasional or regular error? |
Unfortunately, it's not occasional. It's the first source of crashes for my app (21 occurrences today). What I don't understand is why there is a mix of valid columns and invalid one.
My entity:
It seems to only occur on "UPDATE" commands but on different entities. |
It's because the users had ART activated (read more http://source.android.com/devices/tech/dalvik/art.html ). It implements the base type Object with 2 extra fields:
I made a pull request, but have missed the 2nd field initially. |
ah.. that explains.. I did go through your pull request, but couldn't test it coz of lack of ART based device. We could skip the transient fields.. that should be good enough. right? |
@PomepuyN you can try out the latest 1.3_beta jar.. it has the above change. |
The example application is working - I tested without the change (got same error) and without (the error was gone). |
Cool.. Thanks |
closing this.. as it looks fixed. |
Perhaps it makes sense not to get fields on base class if the base class is Object so that we avoid crashes in future if Google adds other fields? |
I don't really know where the issue may come from.
I'm getting this kind of crashes in my app:
I tried to search for "SHADOWMONITOR" in both my app the library. I ended up by searching it on Google and I cannot find a reference to this.
Here is the line where the issue comes from: https://github.com/PomepuyN/muzei-flickr/blob/Development/MuzeiFlickr/src/main/java/com/npi/muzeiflickr/db/User.java?source=c#L76
Is the "User" word allowed for DB Tables? If yes, do you have an idea what happens here?
The text was updated successfully, but these errors were encountered: