Top crashes in v2.8.4
See original GitHub issueTop crashes in our Play Store developer console currently. Luckily most of these are NPEs which should be quite simple to fix. 😃 If anyone is interested in working on this, please tell us which crash exactly you are working on so that we don’t duplicate effort.
- java.lang.NullPointerException at fr.free.nrw.commons.explore.images.SearchImageFragment.updateImageList
io.reactivex.exceptions.OnErrorNotImplementedException:
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:704)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept (Functions.java:701)
at io.reactivex.internal.observers.LambdaObserver.onError (LambdaObserver.java:74)
at io.reactivex.internal.observers.LambdaObserver.onNext (LambdaObserver.java:64)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal (ObservableObserveOn.java:200)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run (ObservableObserveOn.java:252)
at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run (HandlerScheduler.java:109)
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:6228)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:794)
Caused by: java.lang.NullPointerException:
at fr.free.nrw.commons.explore.images.SearchImageFragment.updateImageList (SearchImageFragment.java:126)
at fr.free.nrw.commons.explore.SearchActivity.lambda$setTabs$1$SearchActivity (SearchActivity.java:114)
at fr.free.nrw.commons.explore.SearchActivity$$Lambda$1.accept (Unknown Source)
at io.reactivex.internal.observers.LambdaObserver.onNext (LambdaObserver.java:60)
- java.lang.NullPointerException at fr.free.nrw.commons.utils.FileUtils.saveFileFromURI
java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2793)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2864)
at android.app.ActivityThread.-wrap12 (ActivityThread.java)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1567)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:156)
at android.app.ActivityThread.main (ActivityThread.java:6523)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:832)
Caused by: java.lang.NullPointerException:
at fr.free.nrw.commons.utils.FileUtils.saveFileFromURI (FileUtils.java:52)
at fr.free.nrw.commons.utils.ContributionUtils.saveFileBeingUploadedTemporarily (ContributionUtils.java:35)
at fr.free.nrw.commons.upload.ShareActivity.receiveImageIntent (ShareActivity.java:355)
at fr.free.nrw.commons.upload.ShareActivity.onCreate (ShareActivity.java:302)
at android.app.Activity.performCreate (Activity.java:6915)
at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2746)
- android.content.res.Resources$NotFoundException at fr.free.nrw.commons.contributions.ContributionsActivity.displayUploadCount
io.reactivex.exceptions.UndeliverableException:
at io.reactivex.plugins.RxJavaPlugins.onError (RxJavaPlugins.java:349)
at io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess (ConsumerSingleObserver.java:64)
at io.reactivex.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run (SingleObserveOn.java:81)
at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run (HandlerScheduler.java:109)
at android.os.Handler.handleCallback (Handler.java:789)
at android.os.Handler.dispatchMessage (Handler.java:98)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6940)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)
Caused by: android.content.res.Resources$NotFoundException:
at android.content.res.ResourcesImpl.getQuantityText (ResourcesImpl.java:294)
at android.content.res.Resources.getQuantityText (Resources.java:428)
at android.content.res.Resources.getQuantityString (Resources.java:504)
at fr.free.nrw.commons.contributions.ContributionsActivity.displayUploadCount (ContributionsActivity.java:306)
at fr.free.nrw.commons.contributions.ContributionsActivity.bridge$lambda$0$ContributionsActivity (Unknown Source)
at fr.free.nrw.commons.contributions.ContributionsActivity$$Lambda$0.accept (Unknown Source:4)
at io.reactivex.internal.observers.ConsumerSingleObserver.onSuccess (ConsumerSingleObserver.java:61)
- java.lang.NullPointerException at fr.free.nrw.commons.location.LatLng.from
java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:4517)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4560)
at android.app.ActivityThread.-wrap19 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1744)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6798)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)
Caused by: java.lang.NullPointerException:
at fr.free.nrw.commons.location.LatLng.from (LatLng.java:45)
at fr.free.nrw.commons.location.LocationServiceManager.getLKL (LocationServiceManager.java:109)
at fr.free.nrw.commons.nearby.NearbyActivity.onRequestPermissionsResult (NearbyActivity.java:224)
at android.app.Activity.dispatchRequestPermissionsResult (Activity.java:7425)
at android.app.Activity.dispatchActivityResult (Activity.java:7276)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4513)
- java.lang.NullPointerException at fr.free.nrw.commons.category.CategoryImagesListFragment.getAdapter
java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3715)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:3755)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2939)
at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:4833)
at android.app.ActivityThread.-wrap18 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1618)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6710)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:770)
Caused by: java.lang.NullPointerException:
at fr.free.nrw.commons.category.CategoryImagesListFragment.getAdapter (CategoryImagesListFragment.java:267)
at fr.free.nrw.commons.category.CategoryDetailsActivity.getMediaAtPosition (CategoryDetailsActivity.java:156)
at fr.free.nrw.commons.media.MediaDetailFragment.onResume (MediaDetailFragment.java:207)
at android.support.v4.app.Fragment.performResume (Fragment.java:2390)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1474)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManager.java:1759)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1827)
at android.support.v4.app.FragmentManagerImpl.dispatchStateChange (FragmentManager.java:3244)
at android.support.v4.app.FragmentManagerImpl.dispatchResume (FragmentManager.java:3212)
at android.support.v4.app.Fragment.performResume (Fragment.java:2396)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1474)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManager.java:1759)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1827)
at android.support.v4.app.FragmentManagerImpl.dispatchStateChange (FragmentManager.java:3244)
at android.support.v4.app.FragmentManagerImpl.dispatchResume (FragmentManager.java:3212)
at android.support.v4.app.FragmentController.dispatchResume (FragmentController.java:217)
at android.support.v4.app.FragmentActivity.onResumeFragments (FragmentActivity.java:509)
at android.support.v4.app.FragmentActivity.onPostResume (FragmentActivity.java:498)
at android.support.v7.app.AppCompatActivity.onPostResume (AppCompatActivity.java:171)
at android.app.Activity.performResume (Activity.java:7110)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:3690)
- java.lang.NullPointerException at fr.free.nrw.commons.category.CategoryImagesListFragment.getAdapter
java.lang.RuntimeException:
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4035)
at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4100)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3271)
at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:5200)
at android.app.ActivityThread.access$1100 (ActivityThread.java:218)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1740)
at android.os.Handler.dispatchMessage (Handler.java:102)
at android.os.Looper.loop (Looper.java:145)
at android.app.ActivityThread.main (ActivityThread.java:6934)
at java.lang.reflect.Method.invoke (Native Method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1199)
Caused by: java.lang.NullPointerException:
at fr.free.nrw.commons.category.CategoryImagesListFragment.getAdapter (CategoryImagesListFragment.java:267)
at fr.free.nrw.commons.category.CategoryDetailsActivity.getMediaAtPosition (CategoryDetailsActivity.java:156)
at fr.free.nrw.commons.media.MediaDetailFragment.onResume (MediaDetailFragment.java:207)
at android.support.v4.app.Fragment.performResume (Fragment.java:2390)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1474)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManager.java:1759)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1827)
at android.support.v4.app.FragmentManagerImpl.dispatchStateChange (FragmentManager.java:3244)
at android.support.v4.app.FragmentManagerImpl.dispatchResume (FragmentManager.java:3212)
at android.support.v4.app.Fragment.performResume (Fragment.java:2396)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1474)
at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState (FragmentManager.java:1759)
at android.support.v4.app.FragmentManagerImpl.moveToState (FragmentManager.java:1827)
at android.support.v4.app.FragmentManagerImpl.dispatchStateChange (FragmentManager.java:3244)
at android.support.v4.app.FragmentManagerImpl.dispatchResume (FragmentManager.java:3212)
at android.support.v4.app.FragmentController.dispatchResume (FragmentController.java:217)
at android.support.v4.app.FragmentActivity.onResumeFragments (FragmentActivity.java:509)
at android.support.v4.app.FragmentActivity.onPostResume (FragmentActivity.java:498)
at android.support.v7.app.AppCompatActivity.onPostResume (AppCompatActivity.java:171)
at android.app.Activity.performResume (Activity.java:6748)
at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4024)
Issue Analytics
- State:
- Created 5 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Best Of CAR CRASHES Compilation 2022 - Episode 2/4
Best of car crashes compilation in 2022, ultimate idiots in cars car crash driving fails dash cam videos bad ... 8.4 K views...
Read more >The 10 Most Dramatic Crashes of the 2020 F1 Season
From a catalogue of collisions at Mugello to Romain Grosjean's heart-stopping crash and escape in Bahrain.For more F1® videos, ...
Read more >FREERIDE WORLD TOUR | TOP 10 CRASHES ALL TIME
Check out some of biggest crashes we've seen on the Freeride World Tour#FWT21 ... 1.2M views 2 years ago. 1,248,037 views • Nov...
Read more >The Worst F1 Car Crashes In The Last Years - YouTube
These are the worst car accidents to occur during F1 events. ... Fernando Alonso is saved from this turbulent top -ten!
Read more >10 Worst Crashes In F1 History - YouTube
For this list, we'll be looking at the most devastating crashes to ... Watch more great car videos here: Top 10 Most Popular...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For number 3:
in
ContributionsActivity.java:306
:method
displayUploadCount
getQuantityString
throwsResource.NotFoundException
. I think there are two possible issues:strings.xml
files invalues-{LANGUAGE}
folders and noticed that there are languages that have mandatory plurals that need to be defined up forcontributions_subtitle
(and other plurals as well). The highlight reads, for Arabic for instance:For example, in ar:
For locale "ar" (Arabic) the following quantities should also be defined: few, many, two
In Android documentation:
The missing translations are also seen in the Translations Editor (they are marked in red - hovering over them indicates which literal items are missing).
strings.xml
file, therefore the resource can’t be found and the exception is thrown.I set a default value for
contributions_subtitle
as ‘None’ and committed.Reopening for number 3.