java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

GitHub | virengujariya | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    NullPointerException

    GitHub | 7 months ago | virengujariya
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'android.content.pm.ApplicationInfo android.content.Context.getApplicationInfo()' on a null object reference

      at com.kbeanie.multipicker.utils.FileUtils.getAppName()
    2. com.kbeanie.multipicker
      FileProcessorThread.run
      1. com.kbeanie.multipicker.utils.FileUtils.getAppName(FileUtils.java:55)
      2. com.kbeanie.multipicker.utils.FileUtils.getExternalFilesDirectory(FileUtils.java:37)
      3. com.kbeanie.multipicker.core.threads.FileProcessorThread.getTargetDirectory(FileProcessorThread.java:490)
      4. com.kbeanie.multipicker.core.threads.FileProcessorThread.getTargetLocationToCopy(FileProcessorThread.java:553)
      5. com.kbeanie.multipicker.core.threads.FileProcessorThread.copyFileToFolder(FileProcessorThread.java:143)
      6. com.kbeanie.multipicker.core.threads.FileProcessorThread.postProcess(FileProcessorThread.java:130)
      7. com.kbeanie.multipicker.core.threads.FileProcessorThread.processFiles(FileProcessorThread.java:106)
      8. com.kbeanie.multipicker.core.threads.FileProcessorThread.run(FileProcessorThread.java:79)
      8 frames