Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE in FormEntryActivity.onActivityResult(FormEntryActivity.java:853) #4340

Closed
grzesiek2010 opened this issue Jan 11, 2021 · 1 comment
Closed

Comments

@grzesiek2010
Copy link
Member

Problem description

https://console.firebase.google.com/u/0/project/api-project-322300403941/crashlytics/app/android:org.odk.collect.android/issues/f9991c3f867d61355cc17df3abee708c?time=last-thirty-days&versions=v1.29.2%20(4041)&sessionEventKey=5FF850BD00CA0001602398EAF3CBFBD3_1493812044950110121

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getParent()' on a null object reference
       at org.odk.collect.android.activities.FormEntryActivity.onActivityResult(FormEntryActivity.java:853)
       at android.app.Activity.dispatchActivityResult(Activity.java:6926)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:4174)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:4221)
       at android.app.ActivityThread.-wrap20(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
       at android.os.Handler.dispatchMessage(Handler.java:110)
       at android.os.Looper.loop(Looper.java:203)
       at android.app.ActivityThread.main(ActivityThread.java:6251)
       at java.lang.reflect.Method.invoke(Method.java)

Other information

I shared my thoughts in this comment #4286 (comment)

@grzesiek2010
Copy link
Member Author

I'm closing this issue because I haven't seen it for a while. We can reopen if needed or create a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant