Crash problems [Including code bugs]

Marc

Active Member
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)
 

Marc

Active Member
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)
Hi @appyet! Will there be an update in the following days or weeks to solve the problems I sent? Thank you!
 

Chinmay

New Member
There are many complains coming regarding app crash by my users.It is leading to bad rating of my app.
 

Marc

Active Member
@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
 

appyet

Support Team Member
Staff member
crashes related to "MediaBrowserServiceCompat" should be fixed now in the current template
 

Marc

Active Member
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.
 

Marc

Active Member
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.

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
 

Marc

Active Member
@appyet There will be a fix for this bug? Thanks.

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.
 
Top