java.lang.IllegalArgumentException: target object must not be null

GitHub | yubang322311 | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    target object must not be null

    at com.virtualengine.reflect.Validate.isTrue()
  2. com.virtualengine.reflect
    FieldUtils.writeField
    1. com.virtualengine.reflect.Validate.isTrue(Validate.java:32)
    2. com.virtualengine.reflect.FieldUtils.writeField(FieldUtils.java:159)
    2 frames
  3. com.virtualengine.hook
    INotificationManagerBinderHook.invoke
    1. com.virtualengine.hook.handle.INotificationManagerHookHandle.hackNormalNotification(INotificationManagerHookHandle.java:633)
    2. com.virtualengine.hook.handle.INotificationManagerHookHandle.access$500(INotificationManagerHookHandle.java:63)
    3. com.virtualengine.hook.handle.INotificationManagerHookHandle$enqueueNotificationWithTag.beforeInvoke(INotificationManagerHookHandle.java:548)
    4. com.virtualengine.hook.HookedMethodHandler.doHookInner(HookedMethodHandler.java:48)
    5. com.virtualengine.hook.binder.BinderHook.invoke(BinderHook.java:59)
    6. com.virtualengine.hook.binder.INotificationManagerBinderHook.invoke(INotificationManagerBinderHook.java:34)
    6 frames
  4. Java RT
    Proxy.invoke
    1. java.lang.reflect.Proxy.invoke(Proxy.java:393)
    1 frame
  5. Unknown
    $Proxy3.enqueueNotificationWithTag
    1. $Proxy3.enqueueNotificationWithTag(Unknown Source)
    1 frame
  6. Android Platform
    NotificationManager.notify
    1. android.app.NotificationManager.notify(NotificationManager.java:230)
    2. android.app.NotificationManager.notify(NotificationManager.java:194)
    2 frames
  7. com.mephone.greenbox
    NotificationItem.show
    1. com.mephone.greenbox.activity.NotificationItem.show(NotificationItem.java:99)
    1 frame
  8. com.liulishuo.filedownloader
    FileDownloadNotificationListener.pending
    1. com.liulishuo.filedownloader.notification.BaseNotificationItem.show(BaseNotificationItem.java:46)
    2. com.liulishuo.filedownloader.notification.FileDownloadNotificationHelper.showIndeterminate(FileDownloadNotificationHelper.java:105)
    3. com.liulishuo.filedownloader.notification.FileDownloadNotificationListener.showIndeterminate(FileDownloadNotificationListener.java:92)
    4. com.liulishuo.filedownloader.notification.FileDownloadNotificationListener.pending(FileDownloadNotificationListener.java:138)
    4 frames
  9. com.mephone.greenbox
    NotificationListener.pending
    1. com.mephone.greenbox.activity.NotificationListener.pending(NotificationListener.java:64)
    1 frame
  10. com.liulishuo.filedownloader
    FileDownloadMessageStation$UIHandlerCallback.handleMessage
    1. com.liulishuo.filedownloader.FileDownloadListener.callback(FileDownloadListener.java:60)
    2. com.liulishuo.filedownloader.FileDownloadMessenger.handoverMessage(FileDownloadMessenger.java:255)
    3. com.liulishuo.filedownloader.FileDownloadMessageStation$UIHandlerCallback.dispose(FileDownloadMessageStation.java:179)
    4. com.liulishuo.filedownloader.FileDownloadMessageStation$UIHandlerCallback.handleMessage(FileDownloadMessageStation.java:170)
    4 frames
  11. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:107)
    2. android.os.Looper.loop(Looper.java:207)
    3. android.app.ActivityThread.main(ActivityThread.java:5728)
    3 frames
  12. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  13. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
    2 frames