Author Topic: Attachment crash  (Read 8682 times)

gmelech

  • Newbie
  • *
  • Posts: 1
Attachment crash
« on: June 21, 2016, 02:11:40 am »
Since the last update, trying to insert an attacment, crashes the app.  A bug report is generated (see below).  I am running aquamail version 1.6.2.4 updated on 06/13/2016 over android 6.0.1 with cyanogen 13.1.

Any ideas what may be causing this or what configuration changes to make?

Thanks.

java.lang.RuntimeException: Unable to start activity ComponentInfo{android/com.android.internal.app.ChooserActivity}: java.lang.UnsupportedOperationException: Can't convert to color: type=0x1
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
   at android.app.ActivityThread.-wrap11(ActivityThread.java)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1363)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:148)
   at android.app.ActivityThread.main(ActivityThread.java:5461)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x1
   at android.content.res.TypedArray.getColor(TypedArray.java:451)
   at android.app.Activity.onApplyThemeResource(Activity.java:3734)
   at android.view.ContextThemeWrapper.initializeTheme(ContextThemeWrapper.java:150)
   at android.view.ContextThemeWrapper.setTheme(ContextThemeWrapper.java:94)
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2396)
   ... 9 more

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Attachment crash
« Reply #1 on: June 21, 2016, 11:46:51 pm »
The crash is entirely internal to Android code, and the cause is too.

I'm sure it'll reproduce with any app which uses this:

https://developer.android.com/reference/android/content/Intent.html#createChooser(android.content.Intent, java.lang.CharSequence)

Please report to CM developers.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/