java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.

GitHub | TheBachelor | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 161#267067652

    GitHub | 2 months ago | TheBachelor
    java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.
  2. 0

    GitHub comment 161#269911491

    GitHub | 2 months ago | TheBachelor
    java.lang.IllegalStateException: Configuration cannot be changed after the prompt is first displayed.
  3. 0

    Check if view is being rendered by Android Studio Layout Preview Editor

    GitHub | 10 months ago | drjunior
    java.lang.IllegalStateException: You must call initSharedInstance before calling getSharedInstance.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 146#208124063

    GitHub | 11 months ago | hisham2007
    android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.github.stkent.amplify.prompt.BasePromptView$SavedState
  6. 0

    java.lang.IllegalStateException: You must call initSharedInstance before calling getSharedInstance

    GitHub | 3 weeks ago | alexeyvasilyev
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alexvas.dvr/com.alexvas.dvr.activity.ManageCamerasActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #1: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView

    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

      Configuration cannot be changed after the prompt is first displayed.

      at com.github.stkent.amplify.prompt.BasePromptView.applyBaseConfig()
    2. com.github.stkent
      DefaultLayoutPromptView.onRestoreInstanceState
      1. com.github.stkent.amplify.prompt.BasePromptView.applyBaseConfig(BasePromptView.java:279)
      2. com.github.stkent.amplify.prompt.BasePromptView.onRestoreInstanceState(BasePromptView.java:147)
      3. com.github.stkent.amplify.prompt.DefaultLayoutPromptView.onRestoreInstanceState(DefaultLayoutPromptView.java:85)
      3 frames
    3. Android Platform
      ViewGroup.dispatchThawSelfOnly
      1. android.view.View.dispatchRestoreInstanceState(View.java:16037)
      2. android.view.ViewGroup.dispatchThawSelfOnly(ViewGroup.java:3450)
      2 frames
    4. com.github.stkent
      BasePromptView.dispatchRestoreInstanceState
      1. com.github.stkent.amplify.prompt.BasePromptView.dispatchRestoreInstanceState(BasePromptView.java:161)
      1 frame
    5. Android Platform
      View.restoreHierarchyState
      1. android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3436)
      2. android.view.View.restoreHierarchyState(View.java:16015)
      2 frames
    6. Android Support v4
      FragmentManagerImpl$1.run
      1. android.support.v4.app.Fragment.restoreViewState(Fragment.java:465)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1094)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1252)
      4. android.support.v4.app.BackStackRecord.popFromBackStack(BackStackRecord.java:979)
      5. android.support.v4.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1670)
      6. android.support.v4.app.FragmentManagerImpl$2.run(FragmentManager.java:577)
      7. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      8. android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:517)
      8 frames
    7. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:158)
      4. android.app.ActivityThread.main(ActivityThread.java:7229)
      4 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames