java.lang.NullPointerException

JIRA | Alex Lochmann | 4 years ago
  1. 0
  2. 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    NPE on Environment.getExternalStorageState()?

    Stack Overflow | 3 years ago | Vyshakh Amarnath
    java.lang.NullPointerException
  5. 0

    【求助】 获得SD卡状态时候空指针异常

    GitHub | 4 weeks ago | WenruiCui
    java.lang.NullPointerException: Attempt to invoke interface method 'android.os.storage.StorageVolume[] android.os.storage.IMountService.getVolumeList(int, java.lang.String, int)' on a null object reference
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

    No message provided

    at android.os.Environment.getExternalStorageState()
  2. Android Platform
    Environment.getExternalStorageState
    1. android.os.Environment.getExternalStorageState(Environment.java:592)
    1 frame
  3. com.android.systemui
    StorageNotification$1.run
    1. com.android.systemui.usb.StorageNotification.onUsbMassStorageConnectionChangedAsync(StorageNotification.java:103)
    2. com.android.systemui.usb.StorageNotification.access$000(StorageNotification.java:34)
    3. com.android.systemui.usb.StorageNotification$1.run(StorageNotification.java:92)
    3 frames
  4. Android Platform
    HandlerThread.run
    1. android.os.Handler.handleCallback(Handler.java:725)
    2. android.os.Handler.dispatchMessage(Handler.java:92)
    3. android.os.Looper.loop(Looper.java:137)
    4. android.os.HandlerThread.run(HandlerThread.java:60)
    4 frames