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

GitHub | sharkhuang | 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.
  1. 0

    Crash when fast forward video

    GitHub | 9 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 | 7 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