Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

App crashes when I browse the emoticons

Open Bimchi opened this issue 12 years ago • 14 comments

Hi, everytime I scroll through the emoticons, I get a error message and the app crashes.

Bimchi avatar Feb 28 '14 21:02 Bimchi

Well that certainly sounds like a problem. Can you post logs to work out the cause of the crash? In TextSecure, cause the crash, reopen, then go to settings - advanced - submit debug logs. Instructions will follow. Thanks and sorry you're getting this.

mcginty avatar Feb 28 '14 21:02 mcginty

Done: http://hastebin.com/miwiduvave

thx for the fast response!

Bimchi avatar Feb 28 '14 21:02 Bimchi

This might have been fixed in this commit: https://github.com/WhisperSystems/TextSecure/commit/e80de7de2b767322cd49361e8b22b89a1a03c777

Don't know if it is released yet.

jeffallen avatar Feb 28 '14 22:02 jeffallen

I have the same problem in the most recent version on Google Play (2.0.4) under Android 4.2.2.

Joesen1 avatar Mar 04 '14 09:03 Joesen1

Oops, @Bimchi's pastebin expired before I could get a look at it. Could someone post a debug log of the crash into the issue?

moxie0 avatar Mar 04 '14 16:03 moxie0

http://hastebin.com/damulawosu

here it is, new update didnt fix it.

Bimchi avatar Mar 04 '14 17:03 Bimchi

Thanks! For posterity:

E/AndroidRuntime(21134): FATAL EXCEPTION: main
E/AndroidRuntime(21134): java.lang.AssertionError: java.io.FileNotFoundException: emoji/default
E/AndroidRuntime(21134):    at org.thoughtcrime.securesms.util.Emoji.getEmojiDrawable(Emoji.java:145)
E/AndroidRuntime(21134):    at org.thoughtcrime.securesms.util.Emoji.getEmojiDrawable(Emoji.java:86)
E/AndroidRuntime(21134):    at org.thoughtcrime.securesms.components.EmojiDrawer$EmojiGridAdapter.getView(EmojiDrawer.java:159)
E/AndroidRuntime(21134):    at android.widget.AbsListView.obtainView(AbsListView.java:2194)
E/AndroidRuntime(21134):    at android.widget.GridView.makeAndAddView(GridView.java:1341)
E/AndroidRuntime(21134):    at android.widget.GridView.makeRow(GridView.java:341)
E/AndroidRuntime(21134):    at android.widget.GridView.fillDown(GridView.java:283)
E/AndroidRuntime(21134):    at android.widget.GridView.fillGap(GridView.java:243)
E/AndroidRuntime(21134):    at android.widget.AbsListView.trackMotionScroll(AbsListView.java:5380)
E/AndroidRuntime(21134):    at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:4537)
E/AndroidRuntime(21134):    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
E/AndroidRuntime(21134)

moxie0 avatar Mar 04 '14 17:03 moxie0

Update didnt fix it

Bimchi avatar Mar 16 '14 09:03 Bimchi

I can't repro, but for whatever reason it looks like getAssets().list("emoji") is returning all the file names and then a "default" string or something. @Bimchi what version of Android are you running? I tried on 4.2 and 2.3 with no luck when opening the drawer.

mcginty avatar Mar 25 '14 08:03 mcginty

I am using 4.2.2.

-----Original Message----- From: Jake McGinty [email protected] To: WhisperSystems/TextSecure [email protected] Cc: Bimchi [email protected] Sent: Di., 25 Mär 2014 9:45 Subject: Re: [TextSecure] App crashes when I browse the emoticons (#891)

I can't repro, but for whatever reason it looks like getAssets().list("emoji") is returning all the file names and then a "default" string or something. @Bimchi what version of Android are you running? I tried on 4.2 and 2.3 with no luck when opening the drawer.


Reply to this email directly or view it on GitHub: https://github.com/WhisperSystems/TextSecure/issues/891#issuecomment-38541257

Bimchi avatar Mar 25 '14 08:03 Bimchi

new update still didnt fix it :-(

Bimchi avatar Apr 05 '14 11:04 Bimchi

Same here! :(

Joesen1 avatar Apr 08 '14 08:04 Joesen1

Bug is not present anymore because of emoji library change in recent releases (>= 2.1.2)!

Joesen1 avatar Aug 05 '14 13:08 Joesen1

yup! just noticed as well!

Bimchi avatar Aug 05 '14 13:08 Bimchi