java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.android.exoplayer2.source.MediaSource$Listener.onSourceInfoRefreshed(com.google.android.exoplayer2.Timeline, java.lang.Object)' on a null object reference

GitHub | eneim | 2 months ago
  1. 0

    NPE in ExtractorMediaSource, reproduced by quickly prepare and release the MediaSource

    GitHub | 2 months ago | eneim
    java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.android.exoplayer2.source.MediaSource$Listener.onSourceInfoRefreshed(com.google.android.exoplayer2.Timeline, java.lang.Object)' on a null object reference
  2. 0

    NullPointerException

    GitHub | 2 months ago | find-happiness
    java.lang.NullPointerException
  3. 0

    GitHub comment 1854#251220108

    GitHub | 2 months ago | ChernyshovYuriy
    com.google.android.exoplayer2.ExoPlaybackException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException when disable text renderer in case of sideloaded track

    GitHub | 2 months ago | ChernyshovYuriy
    java.lang.NullPointerException: Attempt to invoke interface method 'void com.google.android.exoplayer2.Renderer.render(long, long)' on a null object reference
  6. 0

    GitHub comment 1854#251220108

    GitHub | 2 months ago | ChernyshovYuriy
    java.lang.NullPointerException: Attempt to invoke interface method 'int com.google.android.exoplayer2.Renderer.getState()' 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

      Attempt to invoke interface method 'void com.google.android.exoplayer2.source.MediaSource$Listener.onSourceInfoRefreshed(com.google.android.exoplayer2.Timeline, java.lang.Object)' on a null object reference

      at com.google.android.exoplayer2.source.ExtractorMediaSource.onSourceInfoRefreshed()
    2. com.google.android
      ExtractorMediaPeriod$1.run
      1. com.google.android.exoplayer2.source.ExtractorMediaSource.onSourceInfoRefreshed(ExtractorMediaSource.java:179)
      2. com.google.android.exoplayer2.source.ExtractorMediaPeriod.maybeFinishPrepare(ExtractorMediaPeriod.java:408)
      3. com.google.android.exoplayer2.source.ExtractorMediaPeriod.access$000(ExtractorMediaPeriod.java:49)
      4. com.google.android.exoplayer2.source.ExtractorMediaPeriod$1.run(ExtractorMediaPeriod.java:120)
      4 frames
    3. Android Platform
      HandlerThread.run
      1. android.os.Handler.handleCallback(Handler.java:751)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:154)
      4. android.os.HandlerThread.run(HandlerThread.java:61)
      4 frames
    4. com.google.android
      PriorityHandlerThread.run
      1. com.google.android.exoplayer2.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
      1 frame