Skip to content

Instantly share code, notes, and snippets.

@inclement
Created August 15, 2013 23:01
Show Gist options
  • Save inclement/6245730 to your computer and use it in GitHub Desktop.
Save inclement/6245730 to your computer and use it in GitHub Desktop.
Kivy app crash on rotation
D/Finsky (11851): [1] 5.onFinished: Installation state replication succeeded.
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.50}
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
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
I/python (24254): [INFO ] [Android ] Must to in sleep mode, check the app
I/python (24254): App asked to pause
I/python (24254): [INFO ] [Android ] App paused, now wait for resume.
D/AndroidRuntime(24254): Shutting down VM
W/dalvikvm(24254): threadid=1: thread exiting with uncaught exception (group=0x41c16700)
E/AndroidRuntime(24254): FATAL EXCEPTION: main
E/AndroidRuntime(24254): java.lang.RuntimeException: Unable to destroy activity {net.inclem.nogo/org.renpy.android.PythonActivity}: java.lang.NullPointerException
E/AndroidRuntime(24254): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3499)
E/AndroidRuntime(24254): at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3517)
E/AndroidRuntime(24254): at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3717)
E/AndroidRuntime(24254): at android.app.ActivityThread.access$700(ActivityThread.java:141)
E/AndroidRuntime(24254): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1262)
E/AndroidRuntime(24254): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(24254): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(24254): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime(24254): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(24254): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(24254): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
E/AndroidRuntime(24254): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/AndroidRuntime(24254): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(24254): Caused by: java.lang.NullPointerException
E/AndroidRuntime(24254): at org.renpy.android.PythonActivity.onDestroy(PythonActivity.java:345)
E/AndroidRuntime(24254): at android.app.Activity.performDestroy(Activity.java:5302)
E/AndroidRuntime(24254): at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1117)
E/AndroidRuntime(24254): at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:3486)
E/AndroidRuntime(24254): ... 12 more
W/ActivityManager( 519): Force finishing activity net.inclem.nogo/org.renpy.android.PythonActivity
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
I/WindowManager( 519): Screenshot max retries 4 of Token{42ace0d0 ActivityRecord{424c4fe8 u0 net.inclem.nogo/org.renpy.android.PythonActivity}} appWin=Window{42d47220 u0 net.inclem.nogo/org.renpy.android.PythonActivity} drawState=1
W/WindowManager( 519): Screenshot failure taking screenshot for (768x1280) 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.51}
D/PhoneStatusBar( 727): mSettingsPanelGravity = 55
D/PhoneStatusBar( 727): mSettingsPanelGravity = 55
I/WindowManager( 519): Screen frozen for +731ms due to Window{42a90d88 u0 StatusBar}
W/ActivityManager( 519): Activity pause timeout for ActivityRecord{424c4fe8 u0 net.inclem.nogo/org.renpy.android.PythonActivity}
I/ActivityManager( 519): No longer want com.android.providers.calendar (pid 24060): empty #17
D/BlinkenlightsBatteryService.class: (22637): ++ STATUS CHANGE ++: oldplug=1, curplug=1, percentage=100
D/dalvikvm( 519): GC_EXPLICIT freed 998K, 24% free 29944K/39300K, paused 2ms+8ms, total 105ms
I/Process (24254): Sending signal. PID: 24254 SIG: 9
I/WindowState( 519): WIN DEATH: Window{42d47220 u0 net.inclem.nogo/org.renpy.android.PythonActivity}
W/WindowManager( 519): Force-removing child win Window{42de2c88 u0 SurfaceView} from container Window{42d47220 u0 net.inclem.nogo/org.renpy.android.PythonActivity}
I/ActivityManager( 519): Process net.inclem.nogo:python (pid 24254) has died.
W/WindowManager( 519): Failed looking up window
W/WindowManager( 519): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@42d69168 does not exist
W/WindowManager( 519): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7608)
W/WindowManager( 519): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7599)
W/WindowManager( 519): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1000)
W/WindowManager( 519): at android.os.BinderProxy.sendDeathNotice(Binder.java:470)
W/WindowManager( 519): at dalvik.system.NativeStart.run(Native Method)
I/WindowState( 519): WIN DEATH: null
I/PowerManagerService( 519): Going to sleep by user request...
D/SurfaceFlinger( 171): Screen released, type=0 flinger=0xb7990478
D/audio_hw_primary( 174): adev_set_parameters: enter: screen_state=off
D/audio_hw_primary( 174): adev_set_parameters: exit with code(-2)
D/SurfaceControl( 519): Excessive delay in blankDisplay() while turning screen off: 173ms
D/NfcService( 881): NFC-C OFF
I/ScreenEventHandler( 2158): Received Broadcast ACTION_SCREEN_OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment