-
Notifications
You must be signed in to change notification settings - Fork 57
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
Terminating app due to uncaught exception 'NSInvalidArgumentException' #22
Comments
Ok, I dug into this for a couple of hours. I didn't manage to fix the bug itself, but as a workaround I just added a clause to skip all group chats. So I lost them, but all the rest seemed to work. |
That fix in #4 was a simple null-check, this one should be the same, so try changing line 257 in
This should work, but I don't have a way to test. |
Thanks for your reply. Right now I don't have a way to test it anymore. I accepted the loss of the group chats for now. |
I'm afraid adding a simple null-check won't help here. A lot of things in the tool assumes that JID is not empty (e.g. group member objects are indexed by JID). At the time of initial implementation, members that left conversation or changed JID were left as-is in the Android db, so those records won't pose a problem. Maybe that's not the case anymore... More info is needed on why we've encounter null JID. Is that member was kicked from the group? Is this JID no longer active (don't know how to check this)? |
Managed to come up with a fix for the null errors, inspired from the comment by [@Mc-muffin](residentsummer#22 (comment)). All chats including group chats transferred over intact, however group chats with members who quit have blank senders. Fixes residentsummer#22
This worked for me, thanks. |
Thanks a lot @Mc-muffin! This worked for me as well! |
Im running into an error which sounds very similar to #4
I think it's just a NULL check missing, same as in #4 but I have absolutely no idea of objective C, so I am completely lost in trying to fix it myself.
Any change you can help me?
Thank a lot and keep up the great work!!
The text was updated successfully, but these errors were encountered: