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 is crashing when a user clicks on the "Service activity" register #95

Open
Mstjamush opened this issue May 7, 2020 · 0 comments
Open
Assignees

Comments

@Mstjamush
Copy link

Steps
Login into the HF app
Click on the side drawer navigator
Select "Service activity"

Logs

05-07 11:32:47.522  2019  2314 I ActivityTaskManager: START u0 {cmp=org.smartregister.chw.hf/org.smartregister.chw.core.activity.HIA2ReportsActivity} from uid 10143
05-07 11:32:47.524  9536  9536 D AndroidRuntime: Shutting down VM
05-07 11:32:47.527  9536  9536 E AndroidRuntime: FATAL EXCEPTION: main
05-07 11:32:47.527  9536  9536 E AndroidRuntime: Process: org.smartregister.chw.hf, PID: 9536
05-07 11:32:47.527  9536  9536 E AndroidRuntime: android.content.ActivityNotFoundException: Unable to find explicit activity class {org.smartregister.chw.hf/org.smartregister.chw.core.activity.HIA2ReportsActivity}; have you declared this activity in your AndroidManifest.xml?
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2049)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1709)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.Activity.startActivityForResult(Activity.java:5192)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:767)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.Activity.startActivityForResult(Activity.java:5150)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at androidx.fragment.app.FragmentActivity.startActivityForResult(FragmentActivity.java:754)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.Activity.startActivity(Activity.java:5521)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.Activity.startActivity(Activity.java:5489)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at org.smartregister.chw.core.custom_views.NavigationMenu.lambda$registerServiceActivity$0(NavigationMenu.java:250)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at org.smartregister.chw.core.custom_views.-$$Lambda$NavigationMenu$4HOOmAE_zWvRnxZ8J2-NghNA4N0.onClick(Unknown Source:2)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.view.View.performClick(View.java:7125)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.view.View.performClickInternal(View.java:7102)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.view.View.access$3500(View.java:801)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.view.View$PerformClick.run(View.java:27336)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:883)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:100)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:214)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7356)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
05-07 11:32:47.527  9536  9536 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
05-07 11:32:47.536  2019  9726 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
05-07 11:32:47.536  2019  2314 W ActivityTaskManager:   Force finishing activity org.smartregister.chw.hf/.activity.FamilyRegisterActivity
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

4 participants