java.lang.IllegalStateException

GitHub | gijoehosaphat | 7 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Preparing two MediaPlayers in the same activity

    Stack Overflow | 4 years ago | pawko
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.crivline.musicGame/com.crivline.musicGame.NewGame}: java.lang.IllegalStateException
  3. 0

    How to play 2 videos simultaneously in Android

    Stack Overflow | 2 years ago | Huy Duong Tu
    java.lang.IllegalStateException
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.IllegalStateException

    No message provided

    at android.media.MediaPlayer.prepareAsync()
  2. Android Platform
    MediaPlayer.prepareAsync
    1. android.media.MediaPlayer.prepareAsync(MediaPlayer.java)
    1 frame
  3. com.yqritc.scalablevideoview
    ScalableVideoView.prepareAsync
    1. com.yqritc.scalablevideoview.ScalableVideoView.prepareAsync(ScalableVideoView.java:177)
    1 frame
  4. com.brentvatne.react
    ReactVideoView.onAttachedToWindow
    1. com.brentvatne.react.ReactVideoView.setSrc(ReactVideoView.java:147)
    2. com.brentvatne.react.ReactVideoView.onAttachedToWindow(ReactVideoView.java:286)
    2 frames
  5. Android Platform
    ViewGroup.addView
    1. android.view.View.dispatchAttachedToWindow(View.java:13607)
    2. android.view.ViewGroup.addViewInner(ViewGroup.java:3981)
    3. android.view.ViewGroup.addView(ViewGroup.java:3792)
    4. android.view.ViewGroup.addView(ViewGroup.java:3733)
    4 frames
  6. com.facebook.react
    ReactChoreographer$ReactChoreographerDispatcher.doFrame
    1. com.facebook.react.views.view.ReactViewManager.addView(ReactViewManager.java:196)
    2. com.facebook.react.views.view.ReactViewManager.addView(ReactViewManager.java:39)
    3. com.facebook.react.uimanager.NativeViewHierarchyManager.manageChildren(NativeViewHierarchyManager.java:366)
    4. com.facebook.react.uimanager.UIViewOperationQueue$ManageChildrenOperation.execute(UIViewOperationQueue.java:175)
    5. com.facebook.react.uimanager.UIViewOperationQueue$2.run(UIViewOperationQueue.java:740)
    6. com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:804)
    7. com.facebook.react.uimanager.GuardedChoreographerFrameCallback.doFrame(GuardedChoreographerFrameCallback.java:32)
    8. com.facebook.react.uimanager.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:125)
    8 frames
  7. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:790)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:596)
    3. android.view.Choreographer.doFrame(Choreographer.java:556)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778)
    5. android.os.Handler.handleCallback(Handler.java:739)
    6. android.os.Handler.dispatchMessage(Handler.java:95)
    7. android.os.Looper.loop(Looper.java:155)
    8. android.app.ActivityThread.main(ActivityThread.java:5725)
    8 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1030)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:825)
    2 frames