Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ZygoteInit.main() has thrown a RuntimeException
    Android
    0
    4
    0
  2. ActivityThread.main() has thrown a RuntimeException
    Android
    0
    12
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.NullPointerException: Attempt to invoke virtual method 'void com.jecelyin.editor.v2.ui.Document.saveTo(java.io.File, java.lang.String)' on a null object reference
6 matching frames hidden
java.lang.RuntimeException: Unable to resume activity {com.jecelyin.editor.v2/com.jecelyin.editor.v2.ui.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { (has extras) }} to activity {com.jecelyin.editor.v2/com.jecelyin.editor.v2.ui.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.jecelyin.editor.v2.ui.Document.saveTo(java.io.File, java.lang.String)' on a null object reference
10 matching frames hidden
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)

External results for this pattern (4)