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

Production app crashing due to SearchTypeFragment #2198

Closed
iamareebjamal opened this issue Jul 27, 2019 · 3 comments · Fixed by #2199
Closed

Production app crashing due to SearchTypeFragment #2198

iamareebjamal opened this issue Jul 27, 2019 · 3 comments · Fixed by #2199

Comments

@iamareebjamal
Copy link
Member

FATAL EXCEPTION: ControllerMessenger
Process: com.eventyay.attendee, PID: 12924
androidx.fragment.app.i$b: Unable to instantiate fragment org.fossasia.openevent.general.search.type.SearchTypeFragment: calling Fragment constructor caused an exception
	at androidx.fragment.app.Fragment.instantiate(Fragment.java:532)
	at androidx.fragment.app.FragmentContainer.instantiate(FragmentContainer.java:57)
	at androidx.fragment.app.FragmentManagerImpl$6.instantiate(FragmentManagerImpl.java:2850)
	at androidx.navigation.fragment.FragmentNavigator.instantiateFragment(FragmentNavigator.java:132)
	at androidx.navigation.fragment.FragmentNavigator.navigate(FragmentNavigator.java:162)
	at androidx.navigation.fragment.FragmentNavigator.navigate(FragmentNavigator.java:58)
	at androidx.navigation.NavController.navigate(NavController.java:859)
	at androidx.navigation.NavController.navigate(NavController.java:793)
	at androidx.navigation.NavController.navigate(NavController.java:730)
	at androidx.navigation.NavController.navigate(NavController.java:716)
	at androidx.navigation.NavController.navigate(NavController.java:907)
	at org.fossasia.openevent.general.search.SearchFragment$onCreateView$3.onClick(SearchFragment.java:94)
	at android.view.View.performClick(View.java:5637)
	at android.view.View$PerformClick.run(View.java:22429)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at androidx.test.espresso.base.Interrogator.a(Interrogator.java:19)
	at androidx.test.espresso.base.UiControllerImpl.a(UiControllerImpl.java:166)
	at androidx.test.espresso.base.UiControllerImpl.a(UiControllerImpl.java:158)
	at androidx.test.espresso.base.UiControllerImpl.a(UiControllerImpl.java:34)
	at androidx.test.espresso.action.MotionEvents.a(MotionEvents.java:77)
	at androidx.test.espresso.action.MotionEvents.a(MotionEvents.java:52)
	at androidx.test.espresso.action.Tap.c(Tap.java:8)
	at androidx.test.espresso.action.Tap.b(Tap.java:18)
	at androidx.test.espresso.action.Tap$1.a(Tap.java:3)
	at androidx.test.espresso.action.GeneralClickAction.perform(GeneralClickAction.java:20)
	at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform(ViewInteraction.java:9)
	at androidx.test.espresso.ViewInteraction.a(ViewInteraction.java:79)
	at androidx.test.espresso.ViewInteraction.a(ViewInteraction.java:96)
	at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:3)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6121)
	at java.lang.reflect.Method.invoke(Method.java)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance0(Constructor.java)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
	at androidx.fragment.app.Fragment.instantiate(Fragment.java:514)
	... 37 more
Caused by: java.lang.IllegalStateException: Fragment SearchTypeFragment{5a9863 (1c24b273-9112-4adb-a634-4a00e1e0c17f)} not attached to a context.
	at androidx.fragment.app.Fragment.requireContext(Fragment.java:765)
	at androidx.fragment.app.Fragment.getResources(Fragment.java:829)
	at androidx.fragment.app.Fragment.getString(Fragment.java:851)
	at org.fossasia.openevent.general.search.type.SearchTypeFragment.<init>(SearchTypeFragment.java:31)
	... 40 more
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@iamareebjamal
Copy link
Member Author

iamareebjamal commented Jul 27, 2019

Go to the end of these videos. That's where the app crashes

https://storage.googleapis.com/play-mtaas-results-prod/com.eventyay.attendee/12/sailfish-25-en_GB-portrait/video.mp4?GoogleAccessId=498997737111-pmn4sf5896c460sheh5fv3k1j1cq46t5@developer.gserviceaccount.com&Expires=1564253211&Signature=WVR9H19SlInv0gPCXTaQWzeWuZjKeZ%2BuZX49n%2B%2BGQlGkwpYYWVODOnjCF0GbHBiMpA51brehQJnIW7zzMV0Gcafdpa7FLfEztlF/1sGRA24m41CD5GE60GteKOYwV4ayZpfRv3R9t7KgVhtLL47AW5PIsycUJD8IR8CDeqd%2Byx%2Bfh222papQP8DVrtEVv%2BHV6Jd65C6UyqEoCoRa8qd5pnOiSzxb3uyZAKl901pe3cUlZgwDYkVQDUMl6gZexXuSy4s8T0JyNjaR6jVmbfn7qrdalfx6uhYxQOtTjIuDFKXvXEup6/WuxdB2a0vnaPh8I%2Bs9JzNv3iEwu0LnHugRUw%3D%3D

https://storage.googleapis.com/play-mtaas-results-prod/com.eventyay.attendee/12/walleye-28-de_DE-portrait/video.mp4?GoogleAccessId=498997737111-pmn4sf5896c460sheh5fv3k1j1cq46t5@developer.gserviceaccount.com&Expires=1564253500&Signature=4rcBTBWnfSdmCb3HhNzVeKHTVfFHEtc7jwDdzBSw%2BkisuxnsS0RB1HeZ2wyzwcUEz3jVVez7JgkXe9BSgQLLLMEtAII9blxPNpbjI7CQ8oIOczQ1Cb2/ObcQh7dpmUW391H3VfJebCXnWoT3ORMUb5sjIc3ucupK6jVpTOU8XIcUhNzrzzAEjlD/PEaBYqCMIytBOkKWdEJvrvaIUt43R79udN3kRhDlxZtfO59bcpnHDveckxNkynwtjDYdHHFKfIoZTTaG//Q8XgfFHwIOBL/D9T7EQiJ2BoGajNmdYjURyw/N6zP5%2Bb0cS5AtIAfQ8S4iQ8j01mE/CaZugt/Aww%3D%3D

https://storage.googleapis.com/play-mtaas-results-prod/com.eventyay.attendee/12/blueline-28-en_US-portrait/video.mp4?GoogleAccessId=498997737111-pmn4sf5896c460sheh5fv3k1j1cq46t5@developer.gserviceaccount.com&Expires=1564253616&Signature=VbjFR8tZHitcoRhls9Bruam4ggHm0B1xikwcSQOmUTvmHt%2BrvOhErE1PVZfITGrFVBo5ILSMsVleA4ZKrJT%2BB54sOeV%2BETIEJkko6fPY9MAJElXTy6VhdGbHenqPndiEkk4IIv7uQ4Es3UxTTA0u8AiEbq%2Bg/Pa6Wei0alW3Mcee8iU/tBoxpDhpKuZuZahDOn0hA1bWaB9GcTxpFW5IdqtXcIFzl67L2J41gfXSiQVcbG9yWL2FningDdbg9VCervvsjBOhKGoyr7Bcv40UOkbYKaPzSpdppP2WXBwrKqGWs42l3fNF7b0GluqQw6U%2Bmt%2Bm0OI%2BV7fCbp0jy6IuBA%3D%3D

https://storage.googleapis.com/play-mtaas-results-prod/com.eventyay.attendee/12/starqlteue-26-en_SG-portrait/video.mp4?GoogleAccessId=498997737111-pmn4sf5896c460sheh5fv3k1j1cq46t5@developer.gserviceaccount.com&Expires=1564253724&Signature=vJn61anP0XUMEiABX6chNbO/vXQv2rGodqS9ogLiVxEttvWzPt5fsbrfg%2BZA4F3HsktO6P9aUbwNbT%2Bj9SJJ%2BuaWPhdHjKsy%2BXL//n%2BAtuozDu2IEsONhRh97yow3r0DLoxitNHWtIBOIQ5oMVsjINnxReH9fh0CdsJUsE1oj2xA5G3NCQUkOjQFaHyDx2QMDdgYxIYKpVLYa5fHuBr6IXruEPg36yLM/FdcK%2BbxyQ8SK9%2BaEa3o6ZxMvtwKiMirlBKuGlJpzp8WEBb50LibvWzvH3zPtrgJBSkJrKv3WgjMEQtc13u%2BDnCB56rJJEpAMSxnq90FIylzfrpyFcniwQ%3D%3D

@liveHarshit
Copy link
Member

liveHarshit commented Jul 27, 2019

Crashing on selecting the category. Working 👍

liveHarshit added a commit to liveHarshit/open-event-attendee-android that referenced this issue Jul 27, 2019
@liveHarshit liveHarshit added this to the Milestone 9: Summer 2019 milestone Jul 27, 2019
Apochens added a commit to Apochens/open-event-attendee-android that referenced this issue Sep 15, 2021
Apochens added a commit to Apochens/open-event-attendee-android that referenced this issue Sep 15, 2021
Apochens added a commit to Apochens/open-event-attendee-android that referenced this issue Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants