alexkolar / solitaire-for-android

Automatically exported from code.google.com/p/solitaire-for-android
Apache License 2.0
0 stars 0 forks source link

app crashed after win #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
i have wone the game and got an appcrash. logcat shows that:

W/dalvikvm(16739): threadid=1: thread exiting with uncaught exception 
(group=0x41ed9ce0)
E/AndroidRuntime(16739): FATAL EXCEPTION: main
E/AndroidRuntime(16739): Process: com.kmagic.solitaire, PID: 16739
E/AndroidRuntime(16739): java.lang.NullPointerException
E/AndroidRuntime(16739):    at 
com.kmagic.solitaire.AnimateCard.Move(AnimateCard.java:92)
E/AndroidRuntime(16739):    at 
com.kmagic.solitaire.AnimateCard.MoveCards(AnimateCard.java:76)
E/AndroidRuntime(16739):    at 
com.kmagic.solitaire.Replay.PlayNext(Replay.java:89)
E/AndroidRuntime(16739):    at com.kmagic.solitaire.Replay.run(Replay.java:101)
E/AndroidRuntime(16739):    at 
com.kmagic.solitaire.AnimateCard.Finish(AnimateCard.java:116)
E/AndroidRuntime(16739):    at 
com.kmagic.solitaire.AnimateCard.Draw(AnimateCard.java:60)
E/AndroidRuntime(16739):    at 
com.kmagic.solitaire.SolitaireView.onDraw(SolitaireView.java:504)
E/AndroidRuntime(16739):    at android.view.View.draw(View.java:14489)
E/AndroidRuntime(16739):    at android.view.View.draw(View.java:14374)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.drawChild(ViewGroup.java:3103)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
E/AndroidRuntime(16739):    at android.view.View.draw(View.java:14372)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.drawChild(ViewGroup.java:3103)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
E/AndroidRuntime(16739):    at android.view.View.draw(View.java:14372)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.drawChild(ViewGroup.java:3103)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
E/AndroidRuntime(16739):    at android.view.View.draw(View.java:14372)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.drawChild(ViewGroup.java:3103)
E/AndroidRuntime(16739):    at 
android.view.ViewGroup.dispatchDraw(ViewGroup.java:2940)
E/AndroidRuntime(16739):    at android.view.View.draw(View.java:14492)
E/AndroidRuntime(16739):    at 
android.widget.FrameLayout.draw(FrameLayout.java:472)
E/AndroidRuntime(16739):    at 
com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:258
7)
E/AndroidRuntime(16739):    at 
android.view.ViewRootImpl.drawSoftware(ViewRootImpl.java:2496)
E/AndroidRuntime(16739):    at 
android.view.ViewRootImpl.draw(ViewRootImpl.java:2409)
E/AndroidRuntime(16739):    at 
android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2253)
E/AndroidRuntime(16739):    at 
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1883)
E/AndroidRuntime(16739):    at 
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
E/AndroidRuntime(16739):    at 
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
E/AndroidRuntime(16739):    at 
android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
E/AndroidRuntime(16739):    at 
android.view.Choreographer.doCallbacks(Choreographer.java:574)
E/AndroidRuntime(16739):    at 
android.view.Choreographer.doFrame(Choreographer.java:544)
E/AndroidRuntime(16739):    at 
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
E/AndroidRuntime(16739):    at android.os.Handler.handleCallback(Handler.java:733)
E/AndroidRuntime(16739):    at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(16739):    at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(16739):    at 
android.app.ActivityThread.main(ActivityThread.java:5081)
E/AndroidRuntime(16739):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(16739):    at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(16739):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime(16739):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime(16739):    at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  423):   Force finishing activity 
com.kmagic.solitaire/.Solitaire

greetings

Original issue reported on code.google.com by tre...@googlemail.com on 9 Jun 2014 at 12:00