Crash problems [Including code bugs]

Discussion in 'General Discussion' started by Marc, May 11, 2019.

  1. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    Dear @appyet:

    Here you have the latest bug reports for my app com.el.meu.tren. The 1st problem caused 414 freezings (281 of them in a Google Pixel device), and the 2nd one, 46.

    Code:
    java.lang.NullPointerException:
      at android.support.v4.media.MediaBrowserServiceCompat$MediaBrowserServiceImplApi21$2.onResultSent (MediaBrowserServiceCompat.java:342)
      at android.support.v4.media.MediaBrowserServiceCompat$MediaBrowserServiceImplApi21$2.onResultSent (MediaBrowserServiceCompat.java:334)
      at android.support.v4.media.MediaBrowserServiceCompat$Result.sendResult (MediaBrowserServiceCompat.java:620)
      at com.appyet.musicplayer.MusicService$2.a (MusicService.java:312)
      at com.appyet.musicplayer.a.a$1.onPostExecute (MusicProvider.java:1236)
      at android.os.AsyncTask.finish (AsyncTask.java:695)
      at android.os.AsyncTask.access$600 (AsyncTask.java:180)
      at android.os.AsyncTask$InternalHandler.handleMessage (AsyncTask.java:712)
      at android.os.Handler.dispatchMessage (Handler.java:106)
      at android.os.Looper.loop (Looper.java:193)
      at android.app.ActivityThread.main (ActivityThread.java:6718)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:858)
    Code:
    java.lang.RuntimeException:
      at android.os.AsyncTask$3.done (AsyncTask.java:365)
      at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383)
      at java.util.concurrent.FutureTask.setException (FutureTask.java:252)
      at java.util.concurrent.FutureTask.run (FutureTask.java:271)
      at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:257)
      at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1162)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:636)
      at java.lang.Thread.run (Thread.java:784)
    Caused by: java.lang.RuntimeException:
      at com.appyet.musicplayer.a.d.a (RemoteJSONSource.java:76)
      at com.appyet.musicplayer.a.a.c (MusicProvider.java:262)
      at com.appyet.musicplayer.a.a.a (MusicProvider.java:44)
      at com.appyet.musicplayer.a.a$1.doInBackground (MusicProvider.java:2229)
      at android.os.AsyncTask$2.call (AsyncTask.java:345)
      at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    Caused by: org.json.JSONException:
      at org.json.JSON.typeMismatch (JSON.java:111)
      at org.json.JSONObject.<init> (JSONObject.java:163)
      at org.json.JSONObject.<init> (JSONObject.java:176)
      at com.appyet.musicplayer.a.d.a (RemoteJSONSource.java:140)
      at com.appyet.musicplayer.a.d.a (RemoteJSONSource.java:62)
     
    #1
  2. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    Hi @appyet! Will there be an update in the following days or weeks to solve the problems I sent? Thank you!
     
    #2
  3. appyet

    appyet Support Team Member
    Staff Member

    Joined:
    Feb 2, 2015
    Messages:
    1,266
    Likes Received:
    431
    We are looking into it, thanks
     
    #3
  4. Chinmay

    Chinmay New Member

    Joined:
    Jul 14, 2018
    Messages:
    8
    Likes Received:
    1
    There are many complains coming regarding app crash by my users.It is leading to bad rating of my app.
     
    #4
  5. appyet

    appyet Support Team Member
    Staff Member

    Joined:
    Feb 2, 2015
    Messages:
    1,266
    Likes Received:
    431
    What is your app URL?
     
    #5
  6. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    @appyet, there is another bug in the new Media module. The title is not translated, only shows the string identification (in my case, [udf_mapes]).

    Screenshot (30 de maig 2019 16_02_03).png
     
    #6
  7. appyet

    appyet Support Team Member
    Staff Member

    Joined:
    Feb 2, 2015
    Messages:
    1,266
    Likes Received:
    431
    Thanks for report this bug, we are fixing it.
     
    #7
  8. appyet

    appyet Support Team Member
    Staff Member

    Joined:
    Feb 2, 2015
    Messages:
    1,266
    Likes Received:
    431
    crashes related to "MediaBrowserServiceCompat" should be fixed now in the current template
     
    #8
  9. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    That's perfect! Thank you very much!
     
    #9
  10. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    And another bug, @appyet: My app (http://www.appyet.com/Handler/ApkFile.ashx?guid=34876544-cb79-4a49-8f24-76c8b9f2b5ae) has a Web module that contains an external link with PDF files. When I try to download some of them, I cannot see anyone in the Downloads section and also in my smartphone internal storage. I have also tried to download an image from the new Media module and I have the same problem.

    In summary, it seems that the app does not download any file.

    I tested the app in two different devices, both with Android 9 and with the Storage permission for the app enabled.
     
    #10
  11. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    PS: If you download the app and you want to try it, the module is called "Justificants de retard" and any of the coloured boxes that appears in the webpage contains a direct link to a PDF (for example, the yellow one). The Downloads section is placed in the bottom of the menu.

    Captura.PNG
     
    #11
  12. Marc

    Marc Active Member

    Joined:
    Feb 3, 2015
    Messages:
    382
    Likes Received:
    71
    @appyet There will be a fix for this bug? Thanks.

     
    #12

Share This Page