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

App crash while attempting to share a Haven Log #181

Closed
archie94 opened this issue Jan 2, 2018 · 1 comment · Fixed by #309
Closed

App crash while attempting to share a Haven Log #181

archie94 opened this issue Jan 2, 2018 · 1 comment · Fixed by #309

Comments

@archie94
Copy link
Collaborator

archie94 commented Jan 2, 2018

Hello, on my device the app is crashing with error log

FATAL EXCEPTION: main
                                             Process: org.havenapp.main, PID: 4903
                                             java.lang.NullPointerException
                                                 at java.io.File.<init>(File.java:262)
                                                 at org.havenapp.main.ui.EventActivity.shareEvent(EventActivity.java:146)
                                                 at org.havenapp.main.ui.EventActivity.access$000(EventActivity.java:24)
                                                 at org.havenapp.main.ui.EventActivity$1.onClick(EventActivity.java:62)
                                                 at android.view.View.performClick(View.java:5619)
                                                 at android.view.View$PerformClick.run(View.java:22295)
                                                 at android.os.Handler.handleCallback(Handler.java:754)
                                                 at android.os.Handler.dispatchMessage(Handler.java:95)
                                                 at android.os.Looper.loop(Looper.java:163)
                                                 at android.app.ActivityThread.main(ActivityThread.java:6237)
                                                 at java.lang.reflect.Method.invoke(Native Method)
                                                 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:877)
                                                 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

I am using a Redmi Note 4, Android Version 7.0 NRD90M, MIUI version : 9.0.5.0 (NCFMIEI)

@archie94
Copy link
Collaborator Author

archie94 commented Jan 2, 2018

On further investigation, the crash appears to be caused by null mPath in EventTrigger instances. Both the events were Bump (Accelerometer) events

haven_scr_2

haven_scr_1

haven_crash_2

haven_crash_1

@n8fr8 n8fr8 added this to the 0.1.0 beta 9 milestone Jan 12, 2018
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

Successfully merging a pull request may close this issue.

2 participants