IllegalStateException: Diese Aktion kann nach onSaveInstanceState mit ViewPager nicht ausgeführt werden

Bin ich erste user-Berichte aus meiner app auf dem Markt, die Bereitstellung der folgenden Ausnahme:

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1109)
at android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:399)
at android.app.Activity.onBackPressed(Activity.java:2066)
at android.app.Activity.onKeyUp(Activity.java:2044)
at android.view.KeyEvent.dispatch(KeyEvent.java:2529)
at android.app.Activity.dispatchKeyEvent(Activity.java:2274)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1855)
at com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1277)
at android.app.Activity.dispatchKeyEvent(Activity.java:2269)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.widget.TabHost.dispatchKeyEvent(TabHost.java:297)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchKeyEvent(PhoneWindow.java:1855)
at com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:1277)
at android.app.Activity.dispatchKeyEvent(Activity.java:2269)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewRoot.deliverKeyEventPostIme(ViewRoot.java:2880)
at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2853)
at android.view.ViewRoot.handleMessage(ViewRoot.java:2028)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4028)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

Anscheinend hat es etwas damit zu tun, einen FragmentManager, die ich nicht verwenden. Der stacktrace zeigt keinen meiner eigenen Klassen, so habe ich keine Ahnung, wo diese Ausnahme tritt auf, und wie um es zu verhindern.

Für das Protokoll: ich habe einen tabhost, und in jeder Registerkarte gibt es ein ActivityGroup Wechsel zwischen Aktivitäten.

Kommentar zu dem Problem - Öffnen
Ich fand diese Frage diskutiert das gleiche Problem, aber keine Lösung da entweder.. stackoverflow.com/questions/7469082/... Kommentarautor: nhaarman
Während Sie nicht mit FragmentManager, Honeycomb ist sicherlich. Ist dieses geschehen auf die Reale Honeycomb tablets? Oder könnte es sein, dass jemand mit einer gehackten Honeycomb auf einem Telefon oder so etwas, und es ist, gehackt edition, die Schwierigkeiten hat? Kommentarautor: CommonsWare
Ich habe keine Ahnung. Dies ist die einzige information, die ich bekommen in den Markt der Entwickler-Konsole, der Benutzer-Nachricht enthält keine nützliche info entweder.. Kommentarautor: nhaarman
Ich bin mit der Flut, die zeigt mir 11 Sitzungen mit Android 3.0.1 und ich habe 11 Berichte von dieser Ausnahme. Könnte Zufall sein aber. Android 3.1 und 3.2 haben die 56 und 38 Sitzungen, beziehungsweise. Kommentarautor: nhaarman
Der Markt Fehler-Bericht ist eine 'Plattform', manchmal, es hat die Android version des Gerätes. Kommentarautor: Nikolay Elenkov

InformationsquelleAutor der Frage nhaarman | 2011-09-27

Schreibe einen Kommentar