Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()'...

奶一口 15天前 39

main(1) 

java.lang.NullPointerException 

Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference 

解析原始  1 java.lang.RuntimeException:Unable to start activity ComponentInfo{cn.diandengpao2018416/cn.wildfire.chat.app.login.SMSLoginActivity}: java.lang.RuntimeException: Unable to create application com.stub.StubApp: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference  2 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)  3 ......  4 Caused by:  5 java.lang.NullPointerException:Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference  6 cn.wildfire.chat.app.MyApp.getCurProcessName()  7 cn.wildfire.chat.app.MyApp.onCreate()  8 com.stub.StubApp.onCreate(SourceFile:118)  9 android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)  10 android.app.LoadedApk.makeApplication(LoadedApk.java:588)  11 android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2334)  12 android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)  13 android.app.ActivityThread.-wrap11(ActivityThread.java)  14 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)  15 android.os.Handler.dispatchMessage(Handler.java:102)  16 android.os.Looper.loop(Looper.java:148)  17 android.app.ActivityThread.main(ActivityThread.java:5417)  18 java.lang.reflect.Method.invoke(Native Method)  19 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)  20 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 

ReferenceQueueDaemon(157) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:147)  3 java.lang.Thread.run(Thread.java:818) 

FinalizerDaemon(158) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Object.wait(Object.java:423)  3 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)  4 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)  5 java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)  6 java.lang.Thread.run(Thread.java:818) 

FinalizerWatchdogDaemon(159) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Daemons$FinalizerWatchdogDaemon.waitForObject(Daemons.java:255)  3 java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:227)  4 java.lang.Thread.run(Thread.java:818) 

HeapTaskDaemon(160) 

1 dalvik.system.VMRuntime.runHeapTasks(Native Method)  2 java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:355)  3 java.lang.Thread.run(Thread.java:818) 

Thread-164(164) 

1 java.lang.Thread.sleep(Native Method)  2 java.lang.Thread.sleep(Thread.java:1031)  3 java.lang.Thread.sleep(Thread.java:985)  4 com.jg.bh.e.d.run(SourceFile:61) 

WifiManager(166) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:323)  3 android.os.Looper.loop(Looper.java:135)  4 android.os.HandlerThread.run(HandlerThread.java:61) 

BuglyThread-1(170) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:1220)  3 sun.misc.Unsafe.park(Unsafe.java:299)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1085)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  11 java.lang.Thread.run(Thread.java:818) 

BuglyThread-2(171) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:1220)  3 sun.misc.Unsafe.park(Unsafe.java:299)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1085)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  11 java.lang.Thread.run(Thread.java:818) 

BuglyThread-3(172) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:1220)  3 sun.misc.Unsafe.park(Unsafe.java:299)  4 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2053)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  11 java.lang.Thread.run(Thread.java:818) 

FileObserver(173) 

1 android.os.FileObserver$ObserverThread.observe(Native Method)  2 android.os.FileObserver$ObserverThread.run(FileObserver.java:85) 

workHandler(176) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:323)  3 android.os.Looper.loop(Looper.java:135)  4 android.os.HandlerThread.run(HandlerThread.java:61) 

java.lang.ProcessManager(177) 

1 java.lang.Object.wait(Native Method)  2 java.lang.ProcessManager.waitForMoreChildren(ProcessManager.java:140)  3 java.lang.ProcessManager.watchChildren(ProcessManager.java:105)  4 java.lang.ProcessManager.-wrap0(ProcessManager.java)  5 java.lang.ProcessManager$1.run(ProcessManager.java:58) 

Okio Watchdog(187) 

1 java.lang.Object.wait(Native Method)  2 com.android.okhttp.okio.AsyncTimeout.awaitTimeout(AsyncTimeout.java:311)  3 com.android.okhttp.okio.AsyncTimeout.-wrap0(AsyncTimeout.java)  4 com.android.okhttp.okio.AsyncTimeout$Watchdog.run(AsyncTimeout.java:286) 

pool-3-thread-1(191) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:1220)  3 sun.misc.Unsafe.park(Unsafe.java:299)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)  6 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  10 java.lang.Thread.run(Thread.java:818) 

pool-4-thread-1(193) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:1220)  3 sun.misc.Unsafe.park(Unsafe.java:299)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1078)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1071)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  11 java.lang.Thread.run(Thread.java:818) 

pool-5-thread-1(195) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:1220)  3 sun.misc.Unsafe.park(Unsafe.java:299)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)  6 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:410)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1038)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)  10 java.lang.Thread.run(Thread.java:818)

最新回复 (0)
返回