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

GitHub | shenrh | 4 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

    applicationContext.getFilesDir().getParent() java.lang.NullPointerException

    GitHub | 4 months ago | shenrh
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getParent()' on a null object reference
  2. 0

    java.lang.NumberFormatException: Invalid int:

    GitHub | 3 months ago | quietUncle
    java.lang.NumberFormatException: Invalid int: "q592283716"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    DiskStorageCache.evictAboveSize produces OOM

    GitHub | 8 months ago | arge128
    java.lang.OutOfMemoryError: Failed to allocate a 32780 byte allocation with 16777120 free bytes and 98MB until OOM; failed due to fragmentation (required continguous free 36864 bytes where largest contiguous free 32768 bytes)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

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

      at com.facebook.cache.disk.DiskStorageCache.maybeDeleteSharedPreferencesFile()
    2. com.facebook.cache
      DiskStorageCache$1.run
      1. com.facebook.cache.disk.DiskStorageCache.maybeDeleteSharedPreferencesFile(SourceFile:782)
      2. com.facebook.cache.disk.DiskStorageCache.access$300(SourceFile:50)
      3. com.facebook.cache.disk.DiskStorageCache$1.run(SourceFile:193)
      3 frames
    3. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      2 frames