Skip to content

Instantly share code, notes, and snippets.

@pjcollins
Created August 8, 2014 18:20
Show Gist options
  • Save pjcollins/6a110fc34d7321e4e60c to your computer and use it in GitHub Desktop.
Save pjcollins/6a110fc34d7321e4e60c to your computer and use it in GitHub Desktop.
D/AndroidRuntime( 1188): Shutting down VM
W/dalvikvm( 1188): threadid=1: thread exiting with uncaught exception (group=0xa4cf9b20)
E/AndroidRuntime( 1188): FATAL EXCEPTION: main
E/AndroidRuntime( 1188): Process: SwitchDemo.SwitchDemo, PID: 1188
E/AndroidRuntime( 1188): java.lang.NullPointerException
E/AndroidRuntime( 1188): at android.widget.Switch.jumpDrawablesToCurrentState(Switch.java:825)
E/AndroidRuntime( 1188): at android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:5488)
E/AndroidRuntime( 1188): at android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:5488)
E/AndroidRuntime( 1188): at android.widget.FrameLayout.jumpDrawablesToCurrentState(FrameLayout.java:189)
E/AndroidRuntime( 1188): at android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:5488)
E/AndroidRuntime( 1188): at android.view.ViewGroup.jumpDrawablesToCurrentState(ViewGroup.java:5488)
E/AndroidRuntime( 1188): at android.widget.FrameLayout.jumpDrawablesToCurrentState(FrameLayout.java:189)
E/AndroidRuntime( 1188): at android.view.View.onAttachedToWindow(View.java:12116)
E/AndroidRuntime( 1188): at android.view.ViewGroup.onAttachedToWindow(ViewGroup.java:3497)
E/AndroidRuntime( 1188): at com.android.internal.policy.impl.PhoneWindow$DecorView.onAttachedToWindow(PhoneWindow.java:2659)
E/AndroidRuntime( 1188): at android.view.View.dispatchAttachedToWindow(View.java:12585)
E/AndroidRuntime( 1188): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2458)
E/AndroidRuntime( 1188): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1217)
E/AndroidRuntime( 1188): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
E/AndroidRuntime( 1188): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
E/AndroidRuntime( 1188): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
E/AndroidRuntime( 1188): at android.view.Choreographer.doCallbacks(Choreographer.java:574)
E/AndroidRuntime( 1188): at android.view.Choreographer.doFrame(Choreographer.java:544)
E/AndroidRuntime( 1188): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
E/AndroidRuntime( 1188): at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime( 1188): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1188): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 1188): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 1188): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1188): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1188): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime( 1188): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime( 1188): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 537): Force finishing activity SwitchDemo.SwitchDemo/switchdemo.Activity1
I/WindowManager( 537): Screenshot max retries 4 of Token{52923840 ActivityRecord{528c7b1c u0 SwitchDemo.SwitchDemo/switchdemo.Activity1 t2 f}} appWin=Window{52919e3c u0 Starting SwitchDemo.SwitchDemo} drawState=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment