Application crashes when archiving conversations (#187)
Closed
Daniel Wisnewski opened 8 years ago
Due Date
2016-07-07

Selecting archive chat causes application to crash on any chat, chatroom, self or other jid.

error report submitted from dwisnewski@gmail.com

Bartosz Małkowski commented 8 years ago
java.lang.RuntimeException: An error occured while executing doInBackground()
	at android.os.AsyncTask$3.done(AsyncTask.java:300)
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
	at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
	at java.util.concurrent.FutureTask.run(FutureTask.java:242)
	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
	at java.lang.Thread.run(Thread.java:841)
Caused by: java.lang.NullPointerException
	at org.tigase.messenger.phone.pro.openchats.OpenChatItemFragment$3.doInBackground(OpenChatItemFragment.java:143)
	at org.tigase.messenger.phone.pro.openchats.OpenChatItemFragment$3.doInBackground(OpenChatItemFragment.java:138)
	at android.os.AsyncTask$2.call(AsyncTask.java:288)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	... 4 more
Bartosz Małkowski commented 8 years ago

Fixed in 3.0.0-pre_alpha-13

Daniel Wisnewski commented 8 years ago

No crashes now, looks like the fix worked. The chats just seem to disappear, with no method of retrieval, Archive would suggest a user can get them later on, they are saved in session, so opening another chat window with same person reveals history. Suggest change to close chat unless/until there is a separate history mechanism.

Bartosz Małkowski commented 8 years ago

If you archive chat, and you open chat with the same person then you will see previous messages.

Daniel Wisnewski commented 8 years ago

Bartosz, this issue is fixed I believe, RC4 archives chats properly.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
4167
Version
3.0.0
Spent time
8h
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/stork#187
Please wait...
Page is in error, reload to recover