java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android - Media/Mp3 player
    via Stack Overflow by H.Brooks
    ,
  • IllegalStateException when exiting app
    via Stack Overflow by Brian Stacks
    ,
  • Crash during TTS
    via GitHub by NightWhistler
    ,
  • Mediaplayer crashes the app onBackPressed
    via Stack Overflow by Immy
    ,
    • java.lang.IllegalStateException at android.media.MediaPlayer.getDuration(Native Method) at com.projectname.MainActivity.run(MainActivity.java:87) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:157) at android.app.ActivityThread.main(ActivityThread.java:5356) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,