java.lang.NullPointerException: Attempt to get length of null array

GitHub | sharkhuang | 8 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

    Crash when fast forward video

    GitHub | 8 months ago | sharkhuang
    java.lang.NullPointerException: Attempt to get length of null array
  2. 0

    Crash after trying to play FLV on r2.0.1

    GitHub | 6 months ago | mvasilchuk
    java.lang.NullPointerException: Attempt to read from null array

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to get length of null array

      at com.google.android.exoplayer2.extractor.ExtractorSampleSource.getExtractedSamplesCount()
    2. com.google.android
      Loader$LoadTask.handleMessage
      1. com.google.android.exoplayer2.extractor.ExtractorSampleSource.getExtractedSamplesCount(ExtractorSampleSource.java:543)
      2. com.google.android.exoplayer2.extractor.ExtractorSampleSource.onLoadError(ExtractorSampleSource.java:428)
      3. com.google.android.exoplayer2.extractor.ExtractorSampleSource.onLoadError(ExtractorSampleSource.java:62)
      4. com.google.android.exoplayer2.upstream.Loader$LoadTask.handleMessage(Loader.java:393)
      4 frames
    3. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames
    4. com.google.android
      PriorityHandlerThread.run
      1. com.google.android.exoplayer2.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
      1 frame