okdownload icon indicating copy to clipboard operation
okdownload copied to clipboard

Listener1Assist#connectEnd 方法中 NullPointerException

Open ymqq opened this issue 4 years ago • 0 comments

OkDownload Version

v1.0.7

Problem Describe

看错误日志,NullPointerException

Log

    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
        at com.liulishuo.okdownload.core.listener.assist.Listener1Assist.connectEnd(Listener1Assist.java:88)
        at com.liulishuo.okdownload.core.listener.DownloadListener1.connectEnd(DownloadListener1.java:91)
        at com.liulishuo.okdownload.core.listener.DownloadListenerBunch.connectEnd(DownloadListenerBunch.java:87)
        at com.liulishuo.okdownload.core.dispatcher.CallbackDispatcher$DefaultTransmitListener$7.run(CallbackDispatcher.java:297)
        at android.os.Handler.handleCallback(Handler.java:790)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:192)
        at android.app.ActivityThread.main(ActivityThread.java:6738)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:549)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:825)

ymqq avatar Jul 08 '20 09:07 ymqq