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 trialben rodriguez
6,382 PointsI am receiving a "Unfortunately, InteractiveStory1 has stopped" error when I select Play Again.
10-29 21:20:08.800 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:20:08.876 643-657/? I/ActivityManager﹕ Displayed com.example.superben9.interactivestory1/.UI.MainActivity: +262ms 10-29 21:21:01.916 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:22:06.172 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:23:09.288 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:24:12.456 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:24:12.460 643-645/? D/dalvikvm﹕ GC_CONCURRENT freed 714K, 17% free 6248K/7456K, paused 0ms+1ms, total 5ms 10-29 21:25:16.656 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:26:19.836 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:27:22.988 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:27:55.724 643-781/? I/ActivityManager﹕ START u0 {cmp=com.example.superben9.interactivestory1/.UI.StoryActivity (has extras)} from pid 1673 10-29 21:27:55.736 1673-1676/? D/dalvikvm﹕ GC_CONCURRENT freed 45K, 3% free 3780K/3880K, paused 0ms+2ms, total 5ms 10-29 21:27:55.736 1673-1673/? D/StoryActivity﹕ ben 10-29 21:27:55.736 317-639/? W/genymotion_audio﹕ out_write() limiting sleep time 116462 to 39909 10-29 21:27:55.756 1673-1673/? W/EGL_genymotion﹕ eglSurfaceAttrib not implemented 10-29 21:27:55.780 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:27:55.788 643-657/? I/ActivityManager﹕ Displayed com.example.superben9.interactivestory1/.UI.StoryActivity: +64ms 10-29 21:27:55.800 701-705/? D/dalvikvm﹕ GC_CONCURRENT freed 3980K, 23% free 13951K/17980K, paused 0ms+0ms, total 7ms 10-29 21:27:56.064 317-639/? W/genymotion_audio﹕ out_write() limiting sleep time 113197 to 39909 10-29 21:27:56.100 317-639/? W/genymotion_audio﹕ out_write() limiting sleep time 98321 to 39909 10-29 21:27:56.144 317-639/? W/genymotion_audio﹕ out_write() limiting sleep time 71836 to 39909 10-29 21:27:56.164 315-315/? W/SurfaceFlinger﹕ couldn't log to binary event log: overflow. 10-29 21:27:56.180 317-639/? W/genymotion_audio﹕ out_write() limiting sleep time 56961 to 39909 10-29 21:27:56.220 317-639/? W/genymotion_audio﹕ out_write() limiting sleep time 42086 to 39909 10-29 21:27:59.796 1673-1673/? D/dalvikvm﹕ GC_FOR_ALLOC freed 335K, 10% free 3797K/4204K, paused 2ms, total 2ms 10-29 21:27:59.820 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:28:01.740 1673-1673/? D/AndroidRuntime﹕ Shutting down VM 10-29 21:28:01.740 1673-1673/? W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0xa4ccfb20) 10-29 21:28:01.740 1673-1673/? E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: com.example.superben9.interactivestory1, PID: 1673 java.lang.NullPointerException at com.example.superben9.interactivestory1.UI.StoryActivity$3.onClick(StoryActivity.java:95) at android.view.View.performClick(View.java:4438) at android.view.View$PerformClick.run(View.java:18422) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5001) 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:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method) 10-29 21:28:01.740 643-781/? W/ActivityManager﹕ Force finishing activity com.example.superben9.interactivestory1/.UI.StoryActivity 10-29 21:28:02.244 643-658/? W/ActivityManager﹕ Activity pause timeout for ActivityRecord{529564bc u0 com.example.superben9.interactivestory1/.UI.StoryActivity t2 f} 10-29 21:28:02.992 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:28:03.068 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:28:03.136 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:28:03.200 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:28:07.372 643-688/? D/MobileDataStateTracker﹕ default: setPolicyDataEnable(enabled=true) 10-29 21:28:07.376 643-645/? D/dalvikvm﹕ GC_CONCURRENT freed 786K, 17% free 6245K/7456K, paused 0ms+1ms, total 8ms 10-29 21:28:11.748 643-658/? W/ActivityManager﹕ Launch timeout has expired, giving up wake lock!