Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Android Lists and Adapters (2015) Using Parcelable Data Retrieving Parcelable Data

Alok Singh
PLUS
Alok Singh
Courses Plus Student 3,397 Points

what does illegalSateException mean?

10-27 13:07:34.204 2544-2544/teamtreehouse.com.stormy D/MainActivity: Main UI code is running! 10-27 13:08:14.259 2544-2595/teamtreehouse.com.stormy E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher Process: teamtreehouse.com.stormy, PID: 2544 java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1864) at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1887) at android.app.BackStackRecord.commitInternal(BackStackRecord.java:688) at android.app.BackStackRecord.commit(BackStackRecord.java:646) at android.app.DialogFragment.show(DialogFragment.java:230) at teamtreehouse.com.stormy.ui.MainActivity.alertUserAboutError(MainActivity.java:258) at teamtreehouse.com.stormy.ui.MainActivity.access$200(MainActivity.java:40) at teamtreehouse.com.stormy.ui.MainActivity$2.onFailure(MainActivity.java:104) at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:176) at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:33) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:764) 10-27 13:09:37.349 3881-3881/teamtreehouse.com.stormy D/MainActivity: Main UI code is running! 10-27 13:10:22.022 3881-3881/teamtreehouse.com.stormy D/MainActivity: Main UI code is running! 10-27 13:11:17.674 3881-3881/teamtreehouse.com.stormy D/MainActivity: Main UI code is running! 10-27 13:12:02.363 3881-3881/teamtreehouse.com.stormy D/MainActivity: Main UI code is running!

Hi there,

Ignore the IllegalStateException - the error is elsewhere - can you post your code or share it in a Github repo?

Steve.