Attempt to invoke virtual method 'java.lang.String java.io.File.getName()'...

奶一口 15天前 31

main(2) 

java.lang.NullPointerException 

Attempt to invoke virtual method 'java.lang.String java.io.File.getName()' on a null object reference 

解析原始  1 com.lqr.imagepicker.ImageDataSource.onLoadFinished(Unknown Source:151)  2 com.lqr.imagepicker.ImageDataSource.onLoadFinished(Unknown Source:2)  3 androidx.loader.app.LoaderManagerImpl$LoaderObserver.onChanged(Unknown Source:46)  4 androidx.lifecycle.LiveData.considerNotify(Unknown Source:29)  5 androidx.lifecycle.LiveData.dispatchingValue(Unknown Source:44)  6 androidx.lifecycle.LiveData.setValue(Unknown Source:14)  7 androidx.lifecycle.MutableLiveData.setValue(Unknown Source:0)  8 androidx.loader.app.LoaderManagerImpl$LoaderInfo.setValue(Unknown Source:0)  9 androidx.loader.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(Unknown Source:36)  10 androidx.loader.content.Loader.deliverResult(Unknown Source:4)  11 androidx.loader.content.CursorLoader.deliverResult(Unknown Source:22)  12 androidx.loader.content.CursorLoader.deliverResult(Unknown Source:2)  13 androidx.loader.content.AsyncTaskLoader.dispatchOnLoadComplete(Unknown Source:30)  14 androidx.loader.content.AsyncTaskLoader$LoadTask.onPostExecute(Unknown Source:2)  15 androidx.loader.content.ModernAsyncTask.finish(Unknown Source:10)  16 androidx.loader.content.ModernAsyncTask$InternalHandler.handleMessage(Unknown Source:28)  17 android.os.Handler.dispatchMessage(Handler.java:106)  18 android.os.Looper.loop(Looper.java:224)  19 android.app.ActivityThread.main(ActivityThread.java:7060)  20 java.lang.reflect.Method.invoke(Native Method)  21 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:536)  22 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) 

ReferenceQueueDaemon(1302) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:182)  3 java.lang.Daemons$Daemon.run(Daemons.java:107)  4 java.lang.Thread.run(Thread.java:764) 

FinalizerDaemon(1303) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Object.wait(Object.java:422)  3 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)  4 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)  5 java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:236)  6 java.lang.Daemons$Daemon.run(Daemons.java:107)  7 java.lang.Thread.run(Thread.java:764) 

FinalizerWatchdogDaemon(1304) 

1 java.lang.Thread.sleep(Native Method)  2 java.lang.Thread.sleep(Thread.java:373)  3 java.lang.Thread.sleep(Thread.java:314)  4 java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:360)  5 java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:399)  6 java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:285)  7 java.lang.Daemons$Daemon.run(Daemons.java:107)  8 java.lang.Thread.run(Thread.java:764) 

ConnectivityThread(1309) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:330)  3 android.os.Looper.loop(Looper.java:169)  4 android.os.HandlerThread.run(HandlerThread.java:65) 

Thread-5(1313) 

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

BuglyThread-1(1319) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1127)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  11 java.lang.Thread.run(Thread.java:764) 

BuglyThread-2(1320) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2101)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1132)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  11 java.lang.Thread.run(Thread.java:764) 

BuglyThread-3(1321) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1127)  7 java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:849)  8 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  9 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  10 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  11 java.lang.Thread.run(Thread.java:764) 

FileObserver(1322) 

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

workHandler(1326) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:330)  3 android.os.Looper.loop(Looper.java:169)  4 android.os.HandlerThread.run(HandlerThread.java:65) 

TcmReceiver(1334) 

1 android.net.LocalSocketImpl.readba_native(Native Method)  2 android.net.LocalSocketImpl.access$300(LocalSocketImpl.java:36)  3 android.net.LocalSocketImpl$SocketInputStream.read(LocalSocketImpl.java:110)  4 com.qti.tcmclient.DpmTcmClient$TcmReceiver.run(DpmTcmClient.java:146)  5 java.lang.Thread.run(Thread.java:764) 

push_client_thread(1337) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:330)  3 android.os.Looper.loop(Looper.java:169)  4 android.os.HandlerThread.run(HandlerThread.java:65) 

Okio Watchdog(1339) 

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

queued-work-looper(1340) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:330)  3 android.os.Looper.loop(Looper.java:169)  4 android.os.HandlerThread.run(HandlerThread.java:65) 

a(1341) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:330)  3 android.os.Looper.loop(Looper.java:169)  4 android.os.HandlerThread.run(HandlerThread.java:65) 

glide-disk-cache-thread-0(1353) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:548)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764)  11 com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(Unknown Source:31) 

glide-source-thread-0(1354) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:548)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764)  11 com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(Unknown Source:31) 

glide-active-resources(1355) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Object.wait(Object.java:422)  3 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)  4 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)  5 com.bumptech.glide.load.engine.ActiveResources.cleanReferenceQueue(Unknown Source:6)  6 com.bumptech.glide.load.engine.ActiveResources$2.run(Unknown Source:7)  7 java.lang.Thread.run(Thread.java:764) 

magnifier pixel copy result handler(1357) 

1 android.os.MessageQueue.nativePollOnce(Native Method)  2 android.os.MessageQueue.next(MessageQueue.java:330)  3 android.os.Looper.loop(Looper.java:169)  4 android.os.HandlerThread.run(HandlerThread.java:65) 

glide-source-thread-1(1361) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:548)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764)  11 com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(Unknown Source:31) 

glide-source-thread-2(1362) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:548)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764)  11 com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(Unknown Source:31) 

OkHttp ConnectionPool(1365) 

1 java.lang.Object.wait(Native Method)  2 com.android.okhttp.ConnectionPool$1.run(ConnectionPool.java:103)  3 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  4 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  5 java.lang.Thread.run(Thread.java:764) 

glide-source-thread-3(1366) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.PriorityBlockingQueue.take(PriorityBlockingQueue.java:548)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764)  11 com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(Unknown Source:31) 

AsyncTask #3(1369) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2101)  6 java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764) 

AsyncTask #4(1371) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2101)  6 java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764) 

AsyncTask #5(1373) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2101)  6 java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764) 

AsyncTask #6(1375) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:230)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2101)  6 java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1091)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764) 

ModernAsyncTask #1(1378) 

1 java.lang.Object.wait(Native Method)  2 java.lang.Thread.parkFor$(Thread.java:2161)  3 sun.misc.Unsafe.park(Unsafe.java:358)  4 java.util.concurrent.locks.LockSupport.park(LockSupport.java:190)  5 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2059)  6 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)  7 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)  8 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)  9 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  10 java.lang.Thread.run(Thread.java:764)

最新回复 (0)
返回