SDEagle/SudoQ — Issue #54: monkey crashes app
Author: Spacetoaster
Created: 2012-02-23 15:02:32+00:00
State: open

stack trace:

// java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sudoq/com.sudoq.controller.sudoku.SudokuActivity}: java.lang.NullPointerException
// at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
// at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
// at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3625)
// at android.app.ActivityThread.access$2300(ActivityThread.java:119)
// at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1867)
// at android.os.Handler.dispatchMessage(Handler.java:99)
// at android.os.Looper.loop(Looper.java:123)
// at android.app.ActivityThread.main(ActivityThread.java:4363)
// at java.lang.reflect.Method.invokeNative(Method.java:-2)
// at java.lang.reflect.Method.invoke(Method.java:521)
// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
// at dalvik.system.NativeStart.main(NativeStart.java:-2)
// Caused by: // java.lang.NullPointerException:
// at com.sudoq.model.xml.GameXmlHandler.getFileFor(GameXmlHandler.java:38)
// at com.sudoq.model.xml.GameXmlHandler.getFileFor(GameXmlHandler.java:1)
// at com.sudoq.model.xml.XmlHandler.saveAsXml(XmlHandler.java:47)
// at com.sudoq.model.game.GameManager.save(GameManager.java:165)
// at com.sudoq.controller.sudoku.SudokuActivity.finish(SudokuActivity.java:434)
// at com.sudoq.controller.sudoku.SudokuActivity.onCreate(SudokuActivity.java:163)
// at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
// at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
// at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
// at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3625)
// at android.app.ActivityThread.access$2300(ActivityThread.java:119)
// at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1867)
// at android.os.Handler.dispatchMessage(Handler.java:99)
// at android.os.Looper.loop(Looper.java:123)
// at android.app.ActivityThread.main(ActivityThread.java:4363)
// at java.lang.reflect.Method.invokeNative(Method.java:-2)
// at java.lang.reflect.Method.invoke(Method.java:521)
// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
// at dalvik.system.NativeStart.main(NativeStart.java:-2)