When I use targetSdk=25, this error is written to logcat:
Error waiting for future.
java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
at com.google.android.gms.ads.internal.util.future.ac.get(:com.google.android.gms#11951036:12)
at com.google.android.gms.ads.internal.util.future.g.a(:com.google.android.gms#11951036:12)
at com.google.android.gms.ads.internal.request.service.c.a(:com.google.android.gms#11951036:51)
at com.google.android.gms.ads.internal.request.service.c.a(:com.google.android.gms#11951036:182)
at com.google.android.gms.ads.internal.request.service.f.run(:com.google.android.gms#11951036:2)
at com.google.android.gms.ads.internal.util.x.call(:com.google.android.gms#11951036:2)
at com.google.android.gms.ads.internal.util.y.run(:com.google.android.gms#11951036:1)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:841)
Caused by: java.util.concurrent.TimeoutException
at com.google.android.gms.ads.internal.util.future.k.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
at java.util.concurrent.FutureTask.run(FutureTask.java:234)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:153)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
... 3 more
With targetSdk=26 no error is written to Logcat.
Is it ok to use Admob v11.6.0 if targetSdk=25?
Related
My facebook login application fails with the following runtime error:
07-31 12:47:10.195 1309-1316/com.android.quicksearchbox E/jdwp﹕ Failed writing handshake bytes: Broken pipe (-1 of 14)
07-31 12:47:11.004 1341-1358/com.example.apurva.myapplication E/ActivityThread﹕ Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
07-31 12:47:11.094 1341-1360/com.example.apurva.myapplication E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #2
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:278)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:781)
at com.facebook.internal.Utility.queryAppSettings(Utility.java:802)
at com.facebook.login.widget.LoginButton$1.doInBackground(LoginButton.java:502)
at com.facebook.login.widget.LoginButton$1.doInBackground(LoginButton.java:499)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
A few pointers on what I have done till now:
1)Followed all the requirements in Facebook's Getting Started post.
2)Added the meta-data to the XML.
3)Added the key-hash to facebook
If you see any particular files that might be causing the problem and want to see it before answering, do let me know.
I try to run codes in IO exception in my codes.
But looks like it not worked, I don't know why.
People who know, please tell me how to run codes in catch exception when Exception occurred.
Thanks,
p/s : Codes :
try {
mAlThumbnail.add(BitmapFactory.decodeStream(
(InputStream) new URL(URL).getContent()));
} catch (Exception e) {
// THIS LINE CAN RUN, I CAN SEE DETAIL EXCEPTION
e.printStackTrace();
// THESE LINES CAN NOT RUN, I DON'T KNOW WHY, DON'T SEE ANY LOGS
// if can not load file because of low connection
// should load default image
Log.i("", "SET DEFAULT IMAGE");
mAlThumbnail.add(BitmapFactory.decodeResource(
mContext.getResources(), R.drawable.iv_loading_file_failed));
}
Exception appeared in e.printStackTrace() :
java.io.IOException: BufferedInputStream is closed 01-07 14:23:08.615
java.io.BufferedInputStream.streamClosed(BufferedInputStream.java:118)
java.io.BufferedInputStream.available(BufferedInputStream.java:112)
libcore.net.http.UnknownLengthHttpInputStream.available(UnknownLengthHttpInputStream.java:53)
java.io.BufferedInputStream.available(BufferedInputStream.java:114)
android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 01-07
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:696)
controller.feature_card.GetPreviewDownloadThumbnailAsync.doInBackground(GetPreviewDownloadThumbnailAsync.java:88)
controller.feature_card.GetPreviewDownloadThumbnailAsync.doInBackground(GetPreviewDownloadThumbnailAsync.java:26)
android.os.AsyncTask$2.call(AsyncTask.java:287) 01-07 14:23:08.620
java.util.concurrent.FutureTask.run(FutureTask.java:234) 01-07
android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 01-07
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
java.lang.Thread.run(Thread.java:841) 01-07 14:23:08.620
BufferedInputStream is closed 01-07 14:23:08.620
java.io.BufferedInputStream.streamClosed(BufferedInputStream.java:118)
java.io.BufferedInputStream.available(BufferedInputStream.java:112)
libcore.net.http.UnknownLengthHttpInputStream.available(UnknownLengthHttpInputStream.java:53)
java.io.BufferedInputStream.available(BufferedInputStream.java:114)
android.graphics.BitmapFactory.nativeDecodeStream(Native Method) 01-07
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:623)
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:696)
controller.feature_card.GetPreviewDownloadThumbnailAsync.doInBackground(GetPreviewDownloadThumbnailAsync.java:88)
controller.feature_card.GetPreviewDownloadThumbnailAsync.doInBackground(GetPreviewDownloadThumbnailAsync.java:26)
android.os.AsyncTask$2.call(AsyncTask.java:287) 01-07 14:23:08.625
java.util.concurrent.FutureTask.run(FutureTask.java:234) 01-07
android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230) 01-07
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
java.lang.Thread.run(Thread.java:841)
installed XAMPP server, created database and successfully accessed it from chrome browser as well as from android emulator. However whenever i try to run application from my Samsung device, its refusing to connect my IP address.
My IP address is not registered in DNS.
I tried:
1) accessing from url- 127.0.0.1 and localhost
2) modified httpd.conf and httpd-xampp.conf file- changed to Require all granted permission
3) uninstalled my Antivirus
4) changed firewall and proxy setting
5) Created new Inbound Rule in firewall advance security
6) re typed INTERNET permission
7) wrote httpPost.setHeader("Accept", "application/json"); in code
Still Im getting following error:
W/IInputConnectionWrapper(22232): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(22232): setComposingText on inactive InputConnection
W/IInputConnectionWrapper(22232): getSelectedText on inactive InputConnection
W/IInputConnectionWrapper(22232): setComposingText on inactive InputConnection
D/request!(22232): starting
W/System.err(22232): org.apache.http.conn.HttpHostConnectException: Connection to
http://192.XXX.X.XXX refused
W/System.err(22232): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:183)
W/System.err(22232): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
W/System.err(22232): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
W/System.err(22232): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
W/System.err(22232): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)
W/System.err(22232): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
W/System.err(22232): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:465)
W/System.err(22232): at com.example.mysqltest.JSONParser.makeHttpRequest(JSONParser.java:111)
W/System.err(22232): at com.example.mysqltest.Login$AttemptLogin.doInBackground(Login.java:121)
W/System.err(22232): at com.example.mysqltest.Login$AttemptLogin.doInBackground(Login.java:1)
W/System.err(22232): at android.os.AsyncTask$2.call(AsyncTask.java:287)
W/System.err(22232): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
W/System.err(22232): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
W/System.err(22232): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
W/System.err(22232): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
W/System.err(22232): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
W/System.err(22232): at java.lang.Thread.run(Thread.java:856)
W/System.err(22232): Caused by: java.net.ConnectException: failed to connect to /192.168.0.114 (port 80): connect failed: ETIMEDOUT (Connection timed out)
W/System.err(22232): at libcore.io.IoBridge.connect(IoBridge.java:114)
W/System.err(22232): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
W/System.err(22232): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:460)
W/System.err(22232): at java.net.Socket.connect(Socket.java:832)
W/System.err(22232): at `enter code here`org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119)
W/System.err(22232): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:144)
W/System.err(22232): ... 16 more
W/System.err(22232): Caused by: libcore.io.ErrnoException: connect failed: ETIMEDOUT (Connection timed out)
W/System.err(22232): at libcore.io.Posix.connect(Native Method)
W/System.err(22232): at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:85)
W/System.err(22232): at libcore.io.IoBridge.connectErrno(IoBridge.java:127)
W/System.err(22232): at libcore.io.IoBridge.connect(IoBridge.java:112)
W/System.err(22232): ... 21 more
E/Buffer Error(22232): Error converting result java.lang.NullPointerException
E/JSON Parser(22232): Error parsing data org.json.JSONException: End of input at character 0 of
W/dalvikvm(22232): threadid=12: thread exiting with uncaught exception (group=0x41180438)
E/AndroidRuntime(22232): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime(22232): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime(22232): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime(22232): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime(22232): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime(22232): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime(22232): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime(22232): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime(22232): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime(22232): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime(22232): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime(22232): Caused by: java.lang.NullPointerException
E/AndroidRuntime(22232): at com.example.mysqltest.Login$AttemptLogin.doInBackground(Login.java:125)
E/AndroidRuntime(22232): at com.example.mysqltest.Login$AttemptLogin.doInBackground(Login.java:1)
E/AndroidRuntime(22232): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime(22232): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(22232): ... 5 more
I/Choreographer(22232): Skipped 1143 frames! The application may be doing too much work on its main thread.
E/WindowManager(22232): Activity com.example.mysqltest.Login has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView#41bea8a8 that was originally added here
E/WindowManager(22232): android.view.WindowLeaked: Activity com.example.mysqltest.Login has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView#41bea8a8 that was originally added here
E/WindowManager(22232): at android.view.ViewRootImpl.<init>(ViewRootImpl.java:419)
E/WindowManager(22232): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:322)
E/WindowManager(22232): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:234)
E/WindowManager(22232): at android.view.WindowManagerImpl$CompatModeWrapper.addView(WindowManagerImpl.java:153)
E/WindowManager(22232): at android.view.Window$LocalWindowManager.addView(Window.java:557)
E/WindowManager(22232): at android.app.Dialog.show(Dialog.java:277)
E/WindowManager(22232): at com.example.mysqltest.Login$AttemptLogin.onPreExecute(Login.java:103)
E/WindowManager(22232): at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:586)
E/WindowManager(22232): at android.os.AsyncTask.execute(AsyncTask.java:534)
E/WindowManager(22232): at com.example.mysqltest.Login.onClick(Login.java:77)
E/WindowManager(22232): at android.view.View.performClick(View.java:4191)
E/WindowManager(22232): at android.view.View$PerformClick.run(View.java:17229)
E/WindowManager(22232): at android.os.Handler.handleCallback(Handler.java:615)
E/WindowManager(22232): at android.os.Handler.dispatchMessage(Handler.java:92)
E/WindowManager(22232): at android.os.Looper.loop(Looper.java:137)
E/WindowManager(22232): at android.app.ActivityThread.main(ActivityThread.java:4960)
E/WindowManager(22232): at java.lang.reflect.Method.invokeNative(Native Method)
E/WindowManager(22232): at java.lang.reflect.Method.invoke(Method.java:511)
E/WindowManager(22232): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
E/WindowManager(22232): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
E/WindowManager(22232): at dalvik.system.NativeStart.main(Native Method)"
Please try to check your local IP address of your PC. Connect the phone to the same network (WIFI). Then use the following address/port to connect to your PC.
In Android:
URL: your_pc_local_ip
PORT: 80 (but I think it is not mandatory)
I use in this way and it is working properly for me.
I am using UrbanAirship for Push Notifications in my app. But once in a while my app is crashing with android.os.RemoteException .
Reason:An error occured while executing doInBackground()
Stack Trace
0 java.lang.RuntimeException: An error occured while executing doInBackground()
1 at android.os.AsyncTask$3.done(AsyncTask.java:278)
2 at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
3 at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
4 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
5 at java.util.concurrent.FutureTask.run(FutureTask.java:137)
6 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
7 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
8 at java.lang.Thread.run(Thread.java:856)
9 Caused by: java.lang.RuntimeException: Package manager has died
10 at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:258)
11 at com.urbanairship.analytics.EventService.startService(Unknown Source)
12 at com.urbanairship.analytics.Analytics$AddEventTask.doInBackground(Unknown Source)
13 at com.urbanairship.analytics.Analytics$AddEventTask.doInBackground(Unknown Source)
14 at android.os.AsyncTask$2.call(AsyncTask.java:264)
15 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
16 ... 4 more
17 Caused by: android.os.RemoteException: Unknown binder error code. 0xfffffff7
18 at android.os.BinderProxy.transact(Native Method)
19 at android.content.pm.IPackageManager$Stub$Proxy.getServiceInfo(IPackageManager.java:1617)
20 at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:253)
21 ... 9 more
22 java.lang.RuntimeException: Package manager has died
23 at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:258)
24 at com.urbanairship.analytics.EventService.startService(Unknown Source)
25 at com.urbanairship.analytics.Analytics$AddEventTask.doInBackground(Unknown Source)
26 at com.urbanairship.analytics.Analytics$AddEventTask.doInBackground(Unknown Source)
27 at android.os.AsyncTask$2.call(AsyncTask.java:264)
28 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
29 at java.util.concurrent.FutureTask.run(FutureTask.java:137)
30 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
31 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
32 at java.lang.Thread.run(Thread.java:856)
33 Caused by: android.os.RemoteException: Unknown binder error code. 0xfffffff7
34 at android.os.BinderProxy.transact(Native Method)
35 at android.content.pm.IPackageManager$Stub$Proxy.getServiceInfo(IPackageManager.java:1617)
36 at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:253)
37 ... 9 more
38 android.os.RemoteException: Unknown binder error code. 0xfffffff7
39 at android.os.BinderProxy.transact(Native Method)
40 at android.content.pm.IPackageManager$Stub$Proxy.getServiceInfo(IPackageManager.java:1617)
41 at android.app.ApplicationPackageManager.getServiceInfo(ApplicationPackageManager.java:253)
42 at com.urbanairship.analytics.EventService.startService(Unknown Source)
43 at com.urbanairship.analytics.Analytics$AddEventTask.doInBackground(Unknown Source)
44 at com.urbanairship.analytics.Analytics$AddEventTask.doInBackground(Unknown Source)
45 at android.os.AsyncTask$2.call(AsyncTask.java:264)
46 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
47 at java.util.concurrent.FutureTask.run(FutureTask.java:137)
48 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
49 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
50 at java.lang.Thread.run(Thread.java:856)
How do I fix this issue?
The app is crashing because of the the default value of "Binder". When you transact large object and use service by "bind service" frequently, the problem will occur.
I have a number of smartwatch apps. They all behaive as expected for me but I am getting intermittent crash reports from ACRA in the smartwatch library code. No reference to anything in my code so I don't know if there is anything I can do about the issue.
Anyone from Sony got any ideas?
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:278)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.lang.NullPointerException
at android.database.AbstractCursor.getColumnIndex(AbstractCursor.java:249)
at android.database.CursorWrapper.getColumnIndex(CursorWrapper.java:73)
at com.sonyericsson.extras.liveware.extension.util.e.a(SourceFile:263)
at com.sonyericsson.extras.liveware.extension.util.c.e.c(SourceFile:154)
at com.sonyericsson.extras.liveware.extension.util.c.e.b(SourceFile:116)
at com.sonyericsson.extras.liveware.extension.util.c.e.doInBackground(SourceFile:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 5 more
java.lang.NullPointerException
at android.database.AbstractCursor.getColumnIndex(AbstractCursor.java:249)
at android.database.CursorWrapper.getColumnIndex(CursorWrapper.java:73)
at com.sonyericsson.extras.liveware.extension.util.e.a(SourceFile:263)
at com.sonyericsson.extras.liveware.extension.util.c.e.c(SourceFile:154)
at com.sonyericsson.extras.liveware.extension.util.c.e.b(SourceFile:116)
at com.sonyericsson.extras.liveware.extension.util.c.e.doInBackground(SourceFile:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:208)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
I would post this as comment, but I don't have the reputation...
How many different phones are you testing with? Hopefully, you have a few, from few different makers (i.e. they're not only Samsung, for example). I've seen something similar happen to my apps running on a Sony phone, and not on an LG.