Skip to content

Instantly share code, notes, and snippets.

@inclement
Created August 15, 2013 21:18
Show Gist options
  • Save inclement/6244996 to your computer and use it in GitHub Desktop.
Save inclement/6244996 to your computer and use it in GitHub Desktop.
Android app crash on screen rotate
I/python (17969): PROPAGATING VIEW MODE tablet
I/ActivityManager( 519): Config changes=1480 {1.0 234mcc10mnc en_GB ldltr sw384dp w598dp h359dp 320dpi nrml land finger -keyb/v/h -nav/h s.19}
I/InputReader( 519): Reconfiguring input devices. changes=0x00000004
I/InputReader( 519): Device reconfigured: id=6, name='touch_dev', size 768x1280, orientation 1, mode 1, display id 0
D/PhoneStatusBar( 727): mSettingsPanelGravity = 55
I/python (17969): [INFO ] [Android ] Must to in sleep mode, check the app
I/python (17969): App asked to pause
I/python (17969): [INFO ] [Android ] App paused, now wait for resume.
D/AndroidRuntime(17969): Shutting down VM
W/dalvikvm(17969): threadid=1: thread exiting with uncaught exception (group=0x41c16700)
E/AndroidRuntime(17969): FATAL EXCEPTION: main
E/AndroidRuntime(17969): java.lang.RuntimeException: Unable to destroy activity {net.inclem.nogo/org.renpy.android.PythonActivity}: java.lang.NullPointerException
E/AndroidRuntime(17969): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3499)
E/AndroidRuntime(17969): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3517)
E/AndroidRuntime(17969): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3717)
E/AndroidRuntime(17969): at android.app.ActivityThread.access$700(ActivityThread.java:141)
E/AndroidRuntime(17969): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1262)
E/AndroidRuntime(17969): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(17969): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(17969): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime(17969): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(17969): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(17969): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
E/AndroidRuntime(17969): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime(17969): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(17969): Caused by: java.lang.NullPointerException
E/AndroidRuntime(17969): at org.renpy.android.PythonActivity.onDestroy(PythonActivity.java:345)
E/AndroidRuntime(17969): at android.app.Activity.performDestroy(Activity.java:5302)
E/AndroidRuntime(17969): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1117)
E/AndroidRuntime(17969): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3486)
E/AndroidRuntime(17969): ... 12 more
W/ActivityManager( 519): Force finishing activity net.inclem.nogo/org.renpy.android.PythonActivity
I/WindowManager( 519): Screen frozen for +538ms due to Window{43656af0 u0 net.inclem.nogo/org.renpy.android.PythonActivity}
I/WindowManager( 519): Screenshot max retries 4 of Token{42add420 ActivityRecord{42a320e0 u0 net.inclem.nogo/org.renpy.android.PythonActivity}} appWin=Window{43656af0 u0 net.inclem.nogo/org.renpy.android.PythonActivity} drawState=1
W/WindowManager( 519): Screenshot failure taking screenshot for (1280x768) to layer 21100
I/ActivityManager( 519): Config changes=1480 {1.0 234mcc10mnc en_GB ldltr sw384dp w384dp h567dp 320dpi nrml port finger -keyb/v/h -nav/h s.20}
I/InputReader( 519): Reconfiguring input devices. changes=0x00000004
I/InputReader( 519): Device reconfigured: id=6, name='touch_dev', size 768x1280, orientation 0, mode 1, display id 0
D/dalvikvm(16516): GC_CONCURRENT freed 639K, 8% free 9273K/10004K, paused 7ms+2ms, total 38ms
D/PhoneStatusBar( 727): mSettingsPanelGravity = 55
I/WindowManager( 519): Screen frozen for +126ms due to Window{42f68590 u0 NavigationBar}
W/ActivityManager( 519): Activity pause timeout for ActivityRecord{42a320e0 u0 net.inclem.nogo/org.renpy.android.PythonActivity}
D/dalvikvm( 519): GC_EXPLICIT freed 1901K, 22% free 30219K/38608K, paused 10ms+9ms, total 138ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment