My Activity is queuing work to an IntentService. When i debug, the code seems to run ok. when i run, i get the logcat results shown below. i added a thread.sleep(1000);, but no change in behavior. My assumption, based on the IntentService documentation is that if the IS is still active, it will queue the 2nd request and if it is inactive, it will restart. Therefore, it's ok to issue back-to-back startService() requests without concern for timing or callbacks with status.
two different intents, bundles and arrays:
final int[] arSim1Config = new int[10];
arSim1Config[0] = 2;
arSim1Config[1] = 101;
arSim1Config[2] = (int)simStartTs;
arSim1Config[3] = simStopTs;
arSim1Config[4] = 20;
arSim1Config[5] = 70;
arSim1Config[6] = 40;
arSim1Config[7] = 8000;
arSim1Config[8] = 5000;
arSim1Config[9] = 17000;
// launch simulator threads using test parameters
Intent inStartSim = new Intent(this, SimService.class);
inStartSim.setAction("genData");
Bundle simBundle = new Bundle();
simBundle.putIntArray("simConfigAr",arSim1Config);
inStartSim.putExtras(simBundle);
startService(inStartSim);
final int[] arSim2Config = new int[10];
arSim2Config[0] = 2;
arSim2Config[1] = 102;
arSim2Config[2] = (int)simStartTs;
arSim2Config[3] = simStopTs;
arSim2Config[4] = 5;
arSim2Config[5] = 110;
arSim2Config[6] = 95;
arSim2Config[7] = 12000;
arSim2Config[8] = 5000;
rSim2Config[9] = 13000;
// launch simulator threads using test parameters
Intent inStartSim2 = new Intent(this, SimService.class);
inStartSim2.setAction("genData");
Bundle simBundle2 = new Bundle();
simBundle2.putIntArray("simConfigAr",arSim2Config);
inStartSim2.putExtras(simBundle2);
startService(inStartSim2);
logcat:
01-30 17:11:34.706 4075-4075/com.smartmedtek.prj.smartmed03 I/art﹕ Not late-enabling -Xcheck:jni (already on)
01-30 17:11:34.821 4075-4075/com.smartmedtek.prj.smartmed03 W/ActivityThread﹕ Application com.smartmedtek.prj.smartmed03 is waiting for the debugger on port 8100...
01-30 17:11:34.831 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Sending WAIT chunk
01-30 17:11:34.844 4075-4082/com.smartmedtek.prj.smartmed03 I/art﹕ Debugger is active
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Debugger has connected
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.071 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.281 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.500 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.720 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.932 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.151 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.361 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.571 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.781 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.990 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.200 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.410 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.621 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ debugger has settled (1434)
01-30 17:11:37.979 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:11:38.049 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:11:38.052 4075-4075/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6bdaf50, tid 4075
01-30 17:11:38.055 4075-4075/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:11:38.296 4075-4095/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa5f0a230, tid 4095
01-30 17:11:38.319 4075-4095/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:11:38.363 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:11:38.451 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172712E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172717E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172722E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:54.971 4075-4096/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4075
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:11:55.057 4075-4075/com.smartmedtek.prj.smartmed03 I/Choreographer﹕ Skipped 995 frames! The application may be doing too much work on its main thread.
01-30 17:12:20.776 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f9a9c0, error=EGL_SUCCESS
01-30 17:16:55.107 4075-4096/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4075 SIG: 9
01-30 17:16:55.732 4123-4123/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() Restoring previous state
01-30 17:16:55.786 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:16:55.846 4123-4123/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d660, tid 4123
01-30 17:16:55.915 4123-4123/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:16:55.984 4123-4138/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d950, tid 4138
01-30 17:16:56.084 4123-4138/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:16:56.111 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6caccc0, error=EGL_SUCCESS
01-30 17:16:56.471 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.472 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6cacdc0, error=EGL_SUCCESS
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045268E9
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045318E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045368E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.551 4123-4140/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4123
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:21:56.621 4123-4140/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4123 SIG: 9
01-30 17:11:34.706 4075-4075/com.smartmedtek.prj.smartmed03 I/art﹕ Not late-enabling -Xcheck:jni (already on)
01-30 17:11:34.821 4075-4075/com.smartmedtek.prj.smartmed03 W/ActivityThread﹕ Application com.smartmedtek.prj.smartmed03 is waiting for the debugger on port 8100...
01-30 17:11:34.831 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Sending WAIT chunk
01-30 17:11:34.844 4075-4082/com.smartmedtek.prj.smartmed03 I/art﹕ Debugger is active
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ Debugger has connected
01-30 17:11:34.845 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.071 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.281 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.500 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.720 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:35.932 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.151 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.361 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.571 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.781 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:36.990 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.200 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.410 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ waiting for debugger to settle...
01-30 17:11:37.621 4075-4075/com.smartmedtek.prj.smartmed03 I/System.out﹕ debugger has settled (1434)
01-30 17:11:37.979 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:11:38.049 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:11:38.052 4075-4075/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6bdaf50, tid 4075
01-30 17:11:38.055 4075-4075/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:11:38.296 4075-4095/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa5f0a230, tid 4095
01-30 17:11:38.319 4075-4095/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:11:38.363 4075-4095/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:11:38.387 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:11:38.451 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172712E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172717E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.02172722E9
01-30 17:11:38.452 4075-4096/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:11:54.971 4075-4096/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4075
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:11:55.057 4075-4075/com.smartmedtek.prj.smartmed03 I/Choreographer﹕ Skipped 995 frames! The application may be doing too much work on its main thread.
01-30 17:12:20.776 4075-4075/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() No saved state available
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:20.905 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f2a460, error=EGL_SUCCESS
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:12:21.184 4075-4095/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa5f9a9c0, error=EGL_SUCCESS
01-30 17:16:55.107 4075-4096/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4075 SIG: 9
01-30 17:16:55.732 4123-4123/com.smartmedtek.prj.smartmed03 D/MainActivity﹕ onCreate() Restoring previous state
01-30 17:16:55.786 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Render dirty regions requested: true
01-30 17:16:55.846 4123-4123/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d660, tid 4123
01-30 17:16:55.915 4123-4123/com.smartmedtek.prj.smartmed03 D/Atlas﹕ Validating map...
01-30 17:16:55.984 4123-4138/com.smartmedtek.prj.smartmed03 D/﹕ HostConnection::get() New Host Connection established 0xa6c7d950, tid 4138
01-30 17:16:56.084 4123-4138/com.smartmedtek.prj.smartmed03 I/OpenGLRenderer﹕ Initialized EGL, version 1.4
01-30 17:16:56.111 4123-4138/com.smartmedtek.prj.smartmed03 D/OpenGLRenderer﹕ Enabling debug mode 0
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.138 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6caccc0, error=EGL_SUCCESS
01-30 17:16:56.471 4123-4138/com.smartmedtek.prj.smartmed03 W/EGL_emulation﹕ eglSurfaceAttrib not implemented
01-30 17:16:56.472 4123-4138/com.smartmedtek.prj.smartmed03 W/OpenGLRenderer﹕ Failed to set EGL_SWAP_BEHAVIOR on surface 0xa6cacdc0, error=EGL_SUCCESS
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045268E9
01-30 17:16:56.545 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045318E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/strmId val:﹕ 101.0
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/TS val:﹕ 1.022045368E9
01-30 17:16:56.546 4123-4140/com.smartmedtek.prj.smartmed03 D/ramp val:﹕ 70.0
01-30 17:16:56.551 4123-4140/com.smartmedtek.prj.smartmed03 E/AndroidRuntime﹕ FATAL EXCEPTION: IntentService[SimService]
Process: com.smartmedtek.prj.smartmed03, PID: 4123
java.lang.NullPointerException: Attempt to get length of null array
at com.smartmedtek.prj.smartmed03.SimService.onHandleIntent(SimService.java:117)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
01-30 17:21:56.621 4123-4140/com.smartmedtek.prj.smartmed03 I/Process﹕ Sending signal. PID: 4123 SIG: 9
Related
i want to display data in recyclerview.the problem that onResponse method is not being call.its just skip and read next line,why?.Hope you guys can help me solve this problem.
LOGCAT
09-21 07:01:21.209 25837-25837/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:01:21.481 25837-25928/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:01:23.512 25837-25837/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:01:23.512 25837-25837/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:01:23.512 25837-25837/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:01:23.626 25837-25928/com.example.user.mycustomvolley V/RenderScript: 0xa0682000 Launching thread(s), CPUs 2
09-21 07:01:27.014 25837-25928/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa1272470
09-21 07:03:35.708 27721-27727/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:03:35.886 27721-27721/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:03:35.886 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.088 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.292 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.506 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.711 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:36.914 27721-27721/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:03:37.116 27721-27721/com.example.user.mycustomvolley I/System.out: debugger has settled (1323)
09-21 07:03:37.124 27721-27721/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:03:38.937 27721-27721/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:03:39.088 27721-27721/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:03:39.342 27721-27803/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:03:39.386 27721-27803/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:03:39.392 27721-27721/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:03:39.438 27721-27721/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:03:39.638 27721-27803/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:03:42.079 27721-27727/com.example.user.mycustomvolley W/art: Suspending all threads took: 7.780ms
09-21 07:04:17.707 27721-27721/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:04:17.707 27721-27721/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:04:17.707 27721-27721/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:04:17.832 27721-27803/com.example.user.mycustomvolley V/RenderScript: 0xa084c000 Launching thread(s), CPUs 2
09-21 07:04:19.007 27721-27803/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0cfded0
09-21 07:04:30.487 28470-28470/com.example.user.mycustomvolley W/ActivityThread: Application com.example.user.mycustomvolley is waiting for the debugger on port 8100...
09-21 07:04:30.489 28470-28470/com.example.user.mycustomvolley I/System.out: Sending WAIT chunk
09-21 07:04:30.707 28470-28476/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:04:30.891 28470-28470/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:04:30.891 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.093 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.294 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.495 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.695 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:31.897 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:32.099 28470-28470/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:04:32.305 28470-28470/com.example.user.mycustomvolley I/System.out: debugger has settled (1408)
09-21 07:04:32.317 28470-28470/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:04:34.794 28470-28470/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:04:34.917 28470-28470/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:04:35.153 28470-28470/com.example.user.mycustomvolley W/art: Verification of void com.example.user.mycustomvolley.BackgroundTask.setOnCallBack(com.example.user.mycustomvolley.BackgroundTask$CallBack) took 123.946ms
09-21 07:04:35.187 28470-28565/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:04:35.219 28470-28565/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:04:35.226 28470-28470/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:04:35.260 28470-28470/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:04:35.460 28470-28565/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:04:55.574 28470-28476/com.example.user.mycustomvolley W/art: Suspending all threads took: 13.404ms
09-21 07:06:27.320 28470-28476/com.example.user.mycustomvolley W/art: Debugger attempted to resume all threads without having suspended them all before.
09-21 07:06:27.323 28470-28470/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:06:27.323 28470-28470/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:06:27.323 28470-28470/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:06:41.930 30179-30179/com.example.user.mycustomvolley W/ActivityThread: Application com.example.user.mycustomvolley is waiting for the debugger on port 8100...
09-21 07:06:41.952 30179-30179/com.example.user.mycustomvolley I/System.out: Sending WAIT chunk
09-21 07:06:42.107 30179-30185/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:06:42.153 30179-30179/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:06:42.153 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.353 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.553 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.755 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:42.965 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:43.166 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:43.369 30179-30179/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:06:43.571 30179-30179/com.example.user.mycustomvolley I/System.out: debugger has settled (1342)
09-21 07:06:43.584 30179-30179/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:06:45.336 30179-30179/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:06:45.464 30179-30179/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:06:45.696 30179-30260/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:06:45.751 30179-30260/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:06:45.764 30179-30179/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:06:45.816 30179-30179/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:06:46.013 30179-30260/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:06:48.244 30179-30179/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:06:48.244 30179-30179/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:06:48.244 30179-30179/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:06:48.347 30179-30260/com.example.user.mycustomvolley V/RenderScript: 0xa083e000 Launching thread(s), CPUs 2
09-21 07:06:51.745 30179-30260/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0852850
09-21 07:07:14.345 30626-30626/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:07:17.156 30626-30626/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:07:17.250 30626-30626/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:07:17.388 30626-30700/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:07:17.422 30626-30700/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:07:17.425 30626-30626/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:17.445 30626-30626/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:17.677 30626-30700/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:07:19.939 30626-30626/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:07:19.940 30626-30626/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:07:19.940 30626-30626/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:07:20.135 30626-30700/com.example.user.mycustomvolley V/RenderScript: 0xa0746000 Launching thread(s), CPUs 2
09-21 07:07:23.445 30626-30700/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa05b8850
09-21 07:07:36.733 30939-30939/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:07:36.837 30939-30939/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:07:36.955 30939-30998/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:07:36.988 30939-30998/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:07:36.991 30939-30939/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:37.014 30939-30939/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:07:37.211 30939-30998/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:07:39.506 30939-30939/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:07:39.506 30939-30939/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:07:39.506 30939-30939/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:07:39.675 30939-30998/com.example.user.mycustomvolley V/RenderScript: 0xa0848000 Launching thread(s), CPUs 2
09-21 07:07:43.022 30939-30998/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa08b7580
09-21 07:08:23.919 31595-31595/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:08:24.056 31595-31595/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:08:24.192 31595-31635/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:08:24.237 31595-31635/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:08:24.244 31595-31595/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:08:24.272 31595-31595/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:08:24.482 31595-31635/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:08:26.726 31595-31595/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:08:26.726 31595-31595/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:08:26.726 31595-31595/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:08:26.910 31595-31635/com.example.user.mycustomvolley V/RenderScript: 0xa0855000 Launching thread(s), CPUs 2
09-21 07:08:30.241 31595-31635/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0cc74f0
09-21 07:09:14.253 32308-32308/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:09:15.592 32308-32308/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:09:15.706 32308-32308/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:09:15.835 32308-32358/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:09:15.870 32308-32358/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:09:15.876 32308-32308/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:09:15.896 32308-32308/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:09:16.108 32308-32358/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:09:18.372 32308-32308/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:09:18.372 32308-32308/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:09:18.372 32308-32308/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:09:18.508 32308-32358/com.example.user.mycustomvolley V/RenderScript: 0xa0847000 Launching thread(s), CPUs 2
09-21 07:09:21.877 32308-32358/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa19aaff0
09-21 07:10:40.450 32308-32314/com.example.user.mycustomvolley W/art: Suspending all threads took: 12.822ms
09-21 07:12:12.869 2811-2811/com.example.user.mycustomvolley W/ActivityThread: Application com.example.user.mycustomvolley is waiting for the debugger on port 8100...
09-21 07:12:12.876 2811-2811/com.example.user.mycustomvolley I/System.out: Sending WAIT chunk
09-21 07:12:13.053 2811-2817/com.example.user.mycustomvolley I/art: Debugger is active
09-21 07:12:13.080 2811-2811/com.example.user.mycustomvolley I/System.out: Debugger has connected
09-21 07:12:13.080 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.281 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.481 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.682 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:13.892 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:14.093 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:14.294 2811-2811/com.example.user.mycustomvolley I/System.out: waiting for debugger to settle...
09-21 07:12:14.496 2811-2811/com.example.user.mycustomvolley I/System.out: debugger has settled (1302)
09-21 07:12:14.502 2811-2811/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:12:16.054 2811-2811/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:12:16.315 2811-2811/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:22:04.091 10870-10870/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:22:04.193 10870-10870/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:22:04.312 10870-10917/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:22:04.353 10870-10917/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:22:04.360 10870-10870/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:04.386 10870-10870/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:04.592 10870-10917/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:22:06.988 10870-10917/com.example.user.mycustomvolley V/RenderScript: 0xa0c18000 Launching thread(s), CPUs 2
09-21 07:22:10.354 10870-10917/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0c4afb0
09-21 07:22:46.875 11460-11460/com.example.user.mycustomvolley W/System: ClassLoader referenced unknown path: /data/app/com.example.user.mycustomvolley-1/lib/x86
09-21 07:22:47.044 11460-11460/com.example.user.mycustomvolley W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-21 07:22:47.173 11460-11518/com.example.user.mycustomvolley D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-21 07:22:47.218 11460-11518/com.example.user.mycustomvolley I/OpenGLRenderer: Initialized EGL, version 1.4
09-21 07:22:47.233 11460-11460/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:47.278 11460-11460/com.example.user.mycustomvolley E/RecyclerView: No adapter attached; skipping layout
09-21 07:22:47.483 11460-11518/com.example.user.mycustomvolley D/gralloc_ranchu: Emulator without host-side GPU emulation detected.
09-21 07:22:49.725 11460-11460/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:22:49.725 11460-11460/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:22:49.725 11460-11460/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114)
09-21 07:22:49.866 11460-11518/com.example.user.mycustomvolley V/RenderScript: 0xa077e000 Launching thread(s), CPUs 2
09-21 07:22:53.233 11460-11518/com.example.user.mycustomvolley E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa0bd5fe0
MainActivity.java
package com.example.user.mycustomvolley;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.util.Log;
import java.util.ArrayList;
public class MainActivity extends AppCompatActivity {
RecyclerView recyclerView;
RecyclerView.Adapter adapter;
RecyclerView.LayoutManager layoutManager;
#Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
recyclerView = (RecyclerView) findViewById(R.id.recyclerview);
recyclerView.setHasFixedSize(true);
layoutManager = new LinearLayoutManager(this);
recyclerView.setLayoutManager(layoutManager);
BackgroundTask backgroundTask = new BackgroundTask(MainActivity.this);
backgroundTask.setOnCallBack(new BackgroundTask.CallBack() {
#Override
public void onSuccess(ArrayList<ArtInformation> artInformations) {
adapter = new RecyclerAdapter(artInformations,MainActivity.this);
recyclerView.setAdapter(adapter);
}
#Override
public void onfailed(String msg) {
}
});
}
}
Background.Task.java
package com.example.user.mycustomvolley;
import android.app.ProgressDialog;
import android.content.Context;
import android.telecom.Call;
import android.util.Log;
import android.widget.Toast;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.Request;
import com.android.volley.Response;
import com.android.volley.RetryPolicy;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonArrayRequest;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
/**
* Created by User on 9/17/2016.
*/
public class BackgroundTask {
Context context;
ArrayList<ArtInformation> arrayList = new ArrayList<>();
private static final String json_url = "http://192.168.1.7/volley/imagetext/getData.php";
public BackgroundTask(Context context){
this.context = context;
}
public void setOnCallBack(final CallBack onCallBack){
//make json request.
JsonArrayRequest jsonArrayRequest = new JsonArrayRequest(Request.Method.POST,json_url,(String) null, new Response.Listener<JSONArray>() {
#Override
public void onResponse(JSONArray response) {
int count = 0;
while (count < response.length()) {
try {
JSONObject jsonObject = response.getJSONObject(count);
ArtInformation artInformation = new ArtInformation(jsonObject.getString("art"),jsonObject.getString("image"));
arrayList.add(artInformation);
count++;
} catch (JSONException ex) {
ex.printStackTrace();
}
}
onCallBack.onSuccess(arrayList);
}
}, new Response.ErrorListener() {
#Override
public void onErrorResponse(VolleyError error) {
Toast.makeText(context,"Error:[JSON Process",Toast.LENGTH_LONG).show();
//progressDialog.hide();
Log.d("Check:","-->"+error.getMessage());
}
});
MySingleton.getmInstances(context).addToRequestQueue(jsonArrayRequest);
}
public interface CallBack{
void onSuccess(ArrayList<ArtInformation> artInformations);
void onfailed(String msg);
}
}
Volley is sending request to your server but is not connecting due to some reason and time out occur. As u can see following lines is your logcat
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: com.android.volley.TimeoutError
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.toolbox.BasicNetwork.performRequest(BasicNetwork.java:147)
09-21 07:22:06.848 10870-10870/com.example.user.mycustomvolley W/System.err: at com.android.volley.NetworkDispatcher.run(NetworkDispatcher.java:114).
Please try with the followings
Check your request URL
Make sure your internet is working
Your android device and server must be on same network(if trying to connect local server ).
I need to experiment with the Google Play Games C++ SDK Samples for Android.
Running it from an emulator fails to sign in requesting to install the Google Play Games... which requires to be done manually, as I understand...
Running it from the Samsung Samsung Galaxy Note 10.1 GT-N8010 executing Android 4.1.2, the Button Clicker application fails at launch with the following error:
Cannot load library: load_library[1094]: Library
'ButtonClickerNativeActivity' not found
Note: This error does not show up when I run it from the emulator.
I don't understand why this fails and how to fix or work around this failure.
The sample loads the so this way:
public class ButtonClickerNativeActivity extends NativeActivity {
// Load SO
static {
System.load("libButtonClickerNativeActivity.so");
}
I confirm the package (ButtonClicker-debug.apk) contains the library in lib folder for armeabi, armeabi-v7a and x86.
Here is the logcat listing of the app start up:
01-28 15:18:44.885 31258-31258/? D/dalvikvm: Late-enabling CheckJNI
01-28 15:18:44.900 31258-31264/? E/jdwp: Failed sending reply to debugger: Broken pipe
01-28 15:18:44.900 31258-31264/? D/dalvikvm: Debugger has detached; object registry had 1 entries
01-28 15:18:44.945 31258-31258/? W/ActivityThread: Application com.google.example.games.ButtonClicker is waiting for the debugger on port 8100...
01-28 15:18:44.960 31258-31258/? I/System.out: Sending WAIT chunk
01-28 15:18:45.915 31258-31264/com.google.example.games.ButtonClicker I/dalvikvm: Debugger is active
01-28 15:18:45.965 31258-31258/com.google.example.games.ButtonClicker I/System.out: Debugger has connected
01-28 15:18:45.965 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.165 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.365 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.565 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.765 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:46.965 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:47.170 31258-31258/com.google.example.games.ButtonClicker I/System.out: waiting for debugger to settle...
01-28 15:18:47.370 31258-31258/com.google.example.games.ButtonClicker I/System.out: debugger has settled (1325)
01-28 15:18:47.510 31258-31258/com.google.example.games.ButtonClicker D/dalvikvm: Trying to load lib ButtonClickerNativeActivity 0x423b2428
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker W/dalvikvm: Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/google/example/games/ButtonClicker/ButtonClickerNativeActivity;
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker W/dalvikvm: Class init failed in newInstance call (Lcom/google/example/games/ButtonClicker/ButtonClickerNativeActivity;)
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker D/AndroidRuntime: Shutting down VM
01-28 15:18:47.515 31258-31258/com.google.example.games.ButtonClicker W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41c3d2a0)
01-28 15:18:47.525 31258-31258/com.google.example.games.ButtonClicker E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2025)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library: load_library[1094]: Library 'ButtonClickerNativeActivity' not found
at java.lang.Runtime.load(Runtime.java:340)
at java.lang.System.load(System.java:521)
at com.google.example.games.ButtonClicker.ButtonClickerNativeActivity.(ButtonClickerNativeActivity.java:29)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1319)
at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2025)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
01-28 15:18:58.720 31258-31258/? I/Process: Sending signal. PID: 31258 SIG: 9
I changed the following line in the sample code (ButtonClickerNativeActivity.java) and the application launched on the Samsung device without the exception.
public class ButtonClickerNativeActivity extends NativeActivity {
// Load SO
static {
//System.load("libButtonClickerNativeActivity.so");
System.loadLibrary("ButtonClickerNativeActivity");
}
I have an android studio project, which builds with 0 errors and 0 warnings, however when the emulator starts up it is a old version of my application.
I have tried wiping data from the emulator, rebuilding the project, cleaning the project, restarting the machine, creating a new virtual machine.
My debug log;
02-05 02:28:53.197 1759-1759/uk.ac.app.app E/libprocessgroup﹕ failed to make and chown /acct/uid_10053: Read-only file system
02-05 02:28:53.197 1759-1759/uk.ac.app.app W/Zygote createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
02-05 02:28:53.198 1759-1759/uk.ac.app.app I/art﹕ Not late-enabling -Xcheck:jni (already on)
02-05 02:28:53.242 1759-1759/uk.ac.app.app W/ActivityThread﹕ Application uk.ac.app.app is waiting for the debugger on port 8100...
02-05 02:28:53.246 1759-1759/uk.ac.app.app I/System.out﹕ Sending WAIT chunk
02-05 02:28:53.299 1759-1766/uk.ac.app.app I/art﹕ Debugger is no longer active
02-05 02:28:54.662 1759-1766/uk.ac.app.app I/art﹕ Debugger is active
02-05 02:28:54.719 1759-1759/uk.ac.app.app I/System.out﹕ Debugger has connected
02-05 02:28:54.720 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:54.924 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:55.137 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:55.345 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:55.563 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:55.806 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:56.014 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:56.224 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:56.437 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:56.645 1759-1759/uk.ac.app.app I/System.out﹕ waiting for debugger to settle...
02-05 02:28:56.865 1759-1759/uk.ac.app.app I/System.out﹕ debugger has settled (1511)
02-05 02:28:58.737 1759-1759/uk.ac.app.app D/gralloc_goldfish﹕ Emulator without GPU emulation detected.
02-05 02:29:06.263 1759-1771/uk.ac.app.app I/art﹕ Background sticky concurrent mark sweep GC freed 1867(113KB) AllocSpace objects, 0(0B) LOS objects, 37% free, 387KB/623KB, paused 2.030ms total 112.509ms
The issue was a broken XML file in the res directory.
Here's my breakdown: I have a class called UserLocation where I perform all Location events. Within this class I have a function, public Location getLocation(Context context) , where I check for Location providers, get locations from all available providers, and return the most accurate. Now I want to use this function inside an AsyncTask in my SplashScreen Activity. I have been reading several resources that I need to call a Looper.prepare() at the beginning of my doInBackground method and Looper.loop() at the end of the method. However, I cannot get it to work properly. I have scanned my logcat and the line that sticks out to me is Looper.loop() line: 137
Splash Activity: (modified slightly to avoid garbage)
protected void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
setContentView(R.layout.splash_layout);
new LoadData().execute();
}
class LoadData extends AsyncTask <Void, Integer, Void> {
private final int prgTitle[] = { R.string.Checking_Service,
R.string.fetching_location,
R.string.Location_got,
R.string.Connect_Database};
private final int prgNums[] = {0, 10, 25, 50, 85,};
private int index;
#Override
public void onPreExecute() {
int max = 0;
for (final int p : prgNums){
max += p;
}
pBar.setMax(max);
index = 0;
}
#Override
protected Void doInBackground(Void...params) {
if(usrLoc.canGetLocation = true){
usrLoc.getLocation(mContext);
}
if(usrLoc.latitude != Double.NaN){
//do stuff
}
return null;
}
protected void onProgressUpdate(Void... loadingValues) {
pBarText.setText(prgTitle[index]);
pBar.incrementProgressBy(prgNums[index]);
++index;
publishProgress();
}
protected void onPostExecute(){
usrLoc.stopUsingGPS();
}
}
EDIT: LogCat Posted
12-10 14:26:00.434: D/AndroidRuntime(894): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-10 14:26:00.434: D/AndroidRuntime(894): CheckJNI is ON
12-10 14:26:01.272: D/AndroidRuntime(894): Calling main entry com.android.commands.pm.Pm
12-10 14:26:01.312: D/AndroidRuntime(894): Shutting down VM
12-10 14:26:01.332: I/AndroidRuntime(894): NOTE: attach of thread 'Binder Thread #3' failed
12-10 14:26:01.342: D/dalvikvm(894): GC_CONCURRENT freed 101K, 78% free 462K/2048K, paused 1ms+2ms
12-10 14:26:01.342: D/dalvikvm(894): Debugger has detached; object registry had 1 entries
12-10 14:26:01.932: D/AndroidRuntime(907): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
12-10 14:26:01.932: D/AndroidRuntime(907): CheckJNI is ON
12-10 14:26:02.864: D/AndroidRuntime(907): Calling main entry com.android.commands.am.Am
12-10 14:26:02.892: I/ActivityManager(91): Force stopping package com.book.swap uid=10040
12-10 14:26:02.892: W/ActivityManager(91): Force removing ActivityRecord{41785ec8 com.book.swap/.SplashScreen}: app died, no saved state
12-10 14:26:02.892: I/Process(91): Sending signal. PID: 877 SIG: 9
12-10 14:26:02.922: W/NetworkManagementSocketTagger(91): setKernelCountSet(10040, 0) failed with errno -2
12-10 14:26:02.992: W/NetworkManagementSocketTagger(91): setKernelCountSet(10005, 1) failed with errno -2
12-10 14:26:03.022: I/ActivityManager(91): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.book.swap/.SplashScreen} from pid 907
12-10 14:26:03.073: I/WindowManager(91): createSurface Window{41af7978 com.android.launcher/com.android.launcher2.Launcher paused=false}: DRAW NOW PENDING
12-10 14:26:03.092: W/WindowManager(91): Failure taking screenshot for (240x394) to layer 21005
12-10 14:26:03.102: D/AndroidRuntime(907): Shutting down VM
12-10 14:26:03.152: I/AndroidRuntime(907): NOTE: attach of thread 'Binder Thread #3' failed
12-10 14:26:03.163: D/dalvikvm(907): GC_CONCURRENT freed 101K, 77% free 485K/2048K, paused 1ms+1ms
12-10 14:26:03.163: D/jdwp(907): Got wake-up signal, bailing out of select
12-10 14:26:03.163: D/dalvikvm(907): Debugger has detached; object registry had 1 entries
12-10 14:26:03.191: D/dalvikvm(918): Not late-enabling CheckJNI (already on)
12-10 14:26:03.202: I/WindowManager(91): createSurface Window{41a24bd0 Starting com.book.swap paused=false}: DRAW NOW PENDING
12-10 14:26:03.222: I/ActivityManager(91): Start proc com.book.swap for activity com.book.swap/.SplashScreen: pid=918 uid=10040 gids={3003}
12-10 14:26:03.522: W/NetworkManagementSocketTagger(91): setKernelCountSet(10040, 1) failed with errno -2
12-10 14:26:03.662: W/ActivityThread(918): Application com.book.swap is waiting for the debugger on port 8100...
12-10 14:26:03.672: I/System.out(918): Sending WAIT chunk
12-10 14:26:03.682: I/dalvikvm(918): Debugger is active
12-10 14:26:03.872: I/System.out(918): Debugger has connected
12-10 14:26:03.872: I/System.out(918): waiting for debugger to settle...
12-10 14:26:04.072: I/System.out(918): waiting for debugger to settle...
12-10 14:26:04.202: I/WindowManager(91): createSurface Window{41adaa20 Waiting For Debugger paused=false}: DRAW NOW PENDING
12-10 14:26:04.272: I/System.out(918): waiting for debugger to settle...
12-10 14:26:04.498: I/System.out(918): waiting for debugger to settle...
12-10 14:26:04.692: I/System.out(918): waiting for debugger to settle...
12-10 14:26:04.904: I/System.out(918): waiting for debugger to settle...
12-10 14:26:05.102: I/System.out(918): waiting for debugger to settle...
12-10 14:26:05.122: W/InputManagerService(91): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#417c64e8
12-10 14:26:05.355: I/System.out(918): waiting for debugger to settle...
12-10 14:26:05.619: I/System.out(918): waiting for debugger to settle...
12-10 14:26:05.822: I/System.out(918): waiting for debugger to settle...
12-10 14:26:06.065: I/System.out(918): waiting for debugger to settle...
12-10 14:26:06.287: I/System.out(918): waiting for debugger to settle...
12-10 14:26:06.513: I/System.out(918): debugger has settled (1427)
12-10 14:26:13.132: W/ActivityManager(91): Launch timeout has expired, giving up wake lock!
12-10 14:26:13.597: W/ActivityManager(91): Activity idle timeout for ActivityRecord{418af8c8 com.book.swap/.SplashScreen}
12-10 14:31:31.391: A/NetworkStats(91): problem reading network stats
12-10 14:31:31.391: A/NetworkStats(91): java.lang.IllegalStateException: problem parsing line: null
12-10 14:31:31.391: A/NetworkStats(91): at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:313)
12-10 14:31:31.391: A/NetworkStats(91): at com.android.server.NetworkManagementService.getNetworkStatsUidDetail(NetworkManagementService.java:1271)
12-10 14:31:31.391: A/NetworkStats(91): at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:810)
12-10 14:31:31.391: A/NetworkStats(91): at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:771)
12-10 14:31:31.391: A/NetworkStats(91): at com.android.server.net.NetworkStatsService.access$100(NetworkStatsService.java:128)
12-10 14:31:31.391: A/NetworkStats(91): at com.android.server.net.NetworkStatsService$3.onReceive(NetworkStatsService.java:610)
12-10 14:31:31.391: A/NetworkStats(91): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
12-10 14:31:31.391: A/NetworkStats(91): at android.os.Handler.handleCallback(Handler.java:605)
12-10 14:31:31.391: A/NetworkStats(91): at android.os.Handler.dispatchMessage(Handler.java:92)
12-10 14:31:31.391: A/NetworkStats(91): at android.os.Looper.loop(Looper.java:137)
12-10 14:31:31.391: A/NetworkStats(91): at android.os.HandlerThread.run(HandlerThread.java:60)
12-10 14:31:31.391: A/NetworkStats(91): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)
12-10 14:31:31.391: A/NetworkStats(91): at libcore.io.IoBridge.open(IoBridge.java:406)
12-10 14:31:31.391: A/NetworkStats(91): at java.io.FileInputStream.<init>(FileInputStream.java:78)
12-10 14:31:31.391: A/NetworkStats(91): at java.io.FileReader.<init>(FileReader.java:42)
12-10 14:31:31.391: A/NetworkStats(91): at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:272)
12-10 14:31:31.391: A/NetworkStats(91): ... 10 more
12-10 14:31:31.391: A/NetworkStats(91): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
12-10 14:31:31.391: A/NetworkStats(91): at libcore.io.Posix.open(Native Method)
12-10 14:31:31.391: A/NetworkStats(91): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:98)
12-10 14:31:31.391: A/NetworkStats(91): at libcore.io.IoBridge.open(IoBridge.java:390)
12-10 14:31:31.391: A/NetworkStats(91): ... 13 more
This question already has answers here:
Source not found Android?
(5 answers)
Closed 9 years ago.
I have been debugging my android project but when i am trying to step into a braekpoint then a screen comes which says SOURCE NOT FOUND ....plz suggest a solution..i have seen previous suggestions but those didnt work....there is an option provided-- CHANGE ATTACHED SOURCE.. which source i have to provide?? i am providing the link for the video..it is ellaborated in the video..plz help...thanks in advance for ur answers
https://docs.google.com/file/d/0B_I2kWyZePW6VnhOLUxjTFhpTk0/edit?usp=sharing
this is what the log cat says:
04-15 11:15:02.380: D/AndroidRuntime(379): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-15 11:15:02.380: D/AndroidRuntime(379): CheckJNI is ON
04-15 11:15:02.490: D/AndroidRuntime(379): --- registering native functions ---
04-15 11:15:03.250: D/dalvikvm(284): GC_EXPLICIT freed 523 objects / 29592 bytes in 131ms
04-15 11:15:03.490: D/PackageParser(59): Scanning package: /data/app/vmdl55176.tmp
04-15 11:15:03.960: D/dalvikvm(59): GC_FOR_MALLOC freed 18707 objects / 974816 bytes in 89ms
04-15 11:15:04.030: I/PackageManager(59): Removing non-system package:com.drugindexx.demo
04-15 11:15:04.030: I/ActivityManager(59): Force stopping package com.drugindexx.demo uid=10040
04-15 11:15:04.030: I/Process(59): Sending signal. PID: 362 SIG: 9
04-15 11:15:04.050: W/InputManagerService(59): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#4507a590
04-15 11:15:04.440: D/PackageManager(59): Scanning package com.drugindexx.demo
04-15 11:15:04.440: I/PackageManager(59): Package com.drugindexx.demo codePath changed from /data/app/com.drugindexx.demo-1.apk to /data/app/com.drugindexx.demo- 2.apk; Retaining data and using new
04-15 11:15:04.450: I/PackageManager(59): /data/app/com.drugindexx.demo-2.apk changed; unpacking
04-15 11:15:04.471: D/installd(35): DexInv: --- BEGIN '/data/app/com.drugindexx.demo-2.apk' ---
04-15 11:15:04.820: D/dalvikvm(386): DexOpt: load 42ms, verify 205ms, opt 7ms
04-15 11:15:04.830: D/installd(35): DexInv: --- END '/data/app/com.drugindexx.demo-2.apk' (success) ---
04-15 11:15:04.830: W/PackageManager(59): Code path for pkg : com.drugindexx.demo changing from /data/app/com.drugindexx.demo-1.apk to /data/app/com.drugindexx.demo-2.apk
04-15 11:15:04.830: W/PackageManager(59): Resource path for pkg : com.drugindexx.demo changing from /data/app/com.drugindexx.demo-1.apk to /data/app/com.drugindexx.demo-2.apk
04-15 11:15:04.830: D/PackageManager(59): Activities: com.drugindexx.demo.jsonparsngactivity com.drugindexx.demo.LoginPage com.drugindexx.demo.Registration com.drugindexx.demo.UserDetails com.drugindexx.demo.MenuOptions com.drugindexx.demo.SarchIndx com.drugindexx.demo.jsonparsngactivity com.drugindexx.demo.Showdetails com.drugindexx.demo.SmsEx com.drugindexx.demo.Settings com.drugindexx.demo.AdvancedSearch com.drugindexx.demo.Gmap com.drugindexx.demo.MyItemizedOverlay com.drugindexx.demo.G
04-15 11:15:04.850: I/ActivityManager(59): Force stopping package com.drugindexx.demo uid=10040
04-15 11:15:04.950: I/installd(35): move /data/dalvik-cache/data#app#com.drugindexx.demo-2.apk#classes.dex -> /data/dalvik-cache/data#app#com.drugindexx.demo-2.apk#classes.dex
04-15 11:15:04.950: D/PackageManager(59): New package installed in /data/app/com.drugindexx.demo-2.apk
04-15 11:15:05.080: I/ActivityManager(59): Force stopping package com.drugindexx.demo uid=10040
04-15 11:15:05.140: D/dalvikvm(134): GC_EXPLICIT freed 69 objects / 2728 bytes in 50ms
04-15 11:15:05.390: W/RecognitionManagerService(59): no available voice recognition services found
04-15 11:15:05.490: D/dalvikvm(155): GC_EXPLICIT freed 1809 objects / 92640 bytes in 328ms
04-15 11:15:05.710: D/dalvikvm(59): GC_EXPLICIT freed 8511 objects / 535000 bytes in 199ms
04-15 11:15:05.710: I/installd(35): unlink /data/dalvik-cache/data#app#com.drugindexx.demo-1.apk#classes.dex
04-15 11:15:05.710: D/AndroidRuntime(379): Shutting down VM
04-15 11:15:05.741: D/dalvikvm(379): Debugger has detached; object registry had 1 entries
04-15 11:15:05.760: I/dalvikvm(379): JNI: AttachCurrentThread (from ???.???)
04-15 11:15:05.760: I/AndroidRuntime(379): NOTE: attach of thread 'Binder Thread #3' failed
04-15 11:15:06.220: D/AndroidRuntime(392): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
04-15 11:15:06.220: D/AndroidRuntime(392): CheckJNI is ON
04-15 11:15:06.330: D/AndroidRuntime(392): --- registering native functions ---
04-15 11:15:06.850: I/ActivityManager(59): Force stopping package com.drugindexx.demo uid=10040
04-15 11:15:06.850: I/ActivityManager(59): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.drugindexx.demo/.jsonparsngactivity }
04-15 11:15:06.960: D/AndroidRuntime(392): Shutting down VM
04-15 11:15:06.969: I/ActivityManager(59): Start proc com.drugindexx.demo for activity com.drugindexx.demo/.jsonparsngactivity: pid=398 uid=10040 gids={3003}
04-15 11:15:06.980: D/jdwp(392): Got wake-up signal, bailing out of select
04-15 11:15:06.980: D/dalvikvm(392): Debugger has detached; object registry had 1 entries
04-15 11:15:07.260: W/ActivityThread(398): Application com.drugindexx.demo is waiting for the debugger on port 8100...
04-15 11:15:07.280: I/System.out(398): Sending WAIT chunk
04-15 11:15:07.290: I/dalvikvm(398): Debugger is active
04-15 11:15:07.310: I/System.out(398): Debugger has connected
04-15 11:15:07.310: I/System.out(398): waiting for debugger to settle...
04-15 11:15:07.519: I/System.out(398): waiting for debugger to settle...
04-15 11:15:07.719: I/System.out(398): waiting for debugger to settle...
04-15 11:15:07.919: I/System.out(398): waiting for debugger to settle...
04-15 11:15:08.119: I/System.out(398): waiting for debugger to settle...
04-15 11:15:08.320: I/System.out(398): waiting for debugger to settle...
04-15 11:15:08.519: I/System.out(398): waiting for debugger to settle...
04-15 11:15:08.719: I/System.out(398): waiting for debugger to settle...
04-15 11:15:08.919: I/System.out(398): waiting for debugger to settle...
04-15 11:15:09.149: I/System.out(398): waiting for debugger to settle...
04-15 11:15:09.356: I/System.out(398): waiting for debugger to settle...
04-15 11:15:09.564: I/System.out(398): waiting for debugger to settle...
04-15 11:15:09.772: I/System.out(398): debugger has settled (1408)
04-15 11:15:13.110: W/System.err(398): java.lang.NullPointerException
04-15 11:15:13.129: W/System.err(398): at java.net.URI$Helper.parseURI(URI.java:314)
04-15 11:15:13.129: W/System.err(398): at java.net.URI$Helper.access$100(URI.java:302)
04-15 11:15:13.140: W/System.err(398): at java.net.URI.<init>(URI.java:87)
04-15 11:15:13.140: W/System.err(398): at com.drugindexx.others.JSONParser.getStringContent(JSONParser.java:37)
04-15 11:15:13.140: W/System.err(398): at com.drugindexx.demo.jsonparsngactivity$FindStoreLocators.doInBackground(jsonparsngactivity.java:237)
04-15 11:15:13.150: W/System.err(398): at com.drugindexx.demo.jsonparsngactivity$FindStoreLocators.doInBackground(jsonparsngactivity.java:1)
04-15 11:15:13.150: W/System.err(398): at android.os.AsyncTask$2.call(AsyncTask.java:185)
04-15 11:15:13.160: W/System.err(398): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
04-15 11:15:13.170: W/System.err(398): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
04-15 11:15:13.170: W/System.err(398): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
04-15 11:15:13.181: W/System.err(398): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
04-15 11:15:13.181: W/System.err(398): at java.lang.Thread.run(Thread.java:1096)
04-15 11:15:16.922: W/ActivityManager(59): Launch timeout has expired, giving up wake lock!
04-15 11:15:17.221: W/ActivityManager(59): Activity idle timeout for HistoryRecord{44eb0d10 com.drugindexx.demo/.jsonparsngactivity}
04-15 11:15:22.391: D/dalvikvm(284): GC_EXPLICIT freed 216 objects / 14432 bytes in 106ms
04-15 11:15:27.490: D/dalvikvm(295): GC_EXPLICIT freed 848 objects / 58536 bytes in 148ms
04-15 11:15:32.220: D/dalvikvm(398): threadid=7: still suspended after undo (sc=1 dc=1 s=Y)
04-15 11:15:32.500: D/SntpClient(59): request time failed: java.net.SocketException: Address family not supported by protocol
04-15 11:15:32.521: D/dalvikvm(248): GC_EXPLICIT freed 317 objects / 17472 bytes in 135ms
04-15 11:15:37.489: D/dalvikvm(134): GC_EXPLICIT freed 784 objects / 44784 bytes in 48ms
04-15 11:17:27.744: D/dalvikvm(398): threadid=7: still suspended after undo (sc=1 dc=1 s=Y)
I think what you are trying to do is to debug android sources.
And if you want to do that you need to attach the sources check out :
http://code.google.com/p/adt-addons/
But be aware: It's very unlikely that you are really needed to debug the sources, because more likely you did something wrong (Exception) BEFORE the "class not found..." Window pops up.