App stuck at "receiving shared content"
See original GitHub issueSummary:
Occasionally, after selecting an image to upload in 2.9-release, I get stuck at the “Receiving shared content” page. I can’t find any pattern to when it happens (probably 1 in 10 uploads), and retrying with the same image usually works.
System logs:
2018-11-26 04:07:34,881 [DEBUG] [file-logging-thread-1] [ContributionController] : startMultipleGalleryPick() called with pickImageIntent
2018-11-26 04:07:38,380 [DEBUG] [file-logging-thread-1] [ContributionsListFragme] : OnActivityResult() parameters: Req code: 3 Result code: -1 Data: Intent { dat=content://com.android.providers.media.documents/document/image:24183 flg=0x1 }
2018-11-26 04:07:38,382 [DEBUG] [file-logging-thread-1] [ContributionController] : handleImagePicked() called with onActivityResult(). Boolean isDirectUpload: falseString wikiDataEntityId: null
2018-11-26 04:07:38,390 [INFO ] [file-logging-thread-1] [ContributionController] : Image selected
2018-11-26 04:07:38,392 [DEBUG] [file-logging-thread-1] [ContributionController] : Put extras into image intent, isDirectUpload is false
2018-11-26 04:07:38,405 [DEBUG] [file-logging-thread-1] [ContributionsListFragme] : OnActivityResult() parameters: Req code: 65539 Result code: -1 Data: Intent { dat=content://com.android.providers.media.documents/document/image:24183 flg=0x1 }
2018-11-26 04:07:38,409 [DEBUG] [file-logging-thread-1] [ContributionsFragment] : GPS is enabled
2018-11-26 04:07:38,582 [DEBUG] [file-logging-thread-1] [ExternalStorageUtils] : External storage permission granted, API >= 23
2018-11-26 04:07:38,583 [INFO ] [file-logging-thread-1] [DexterPermissionObtaine] : Storage permissions already granted.
2018-11-26 04:07:38,584 [INFO ] [file-logging-thread-1] [UploadActivity] : Received single upload
2018-11-26 04:07:38,590 [DEBUG] [file-logging-thread-1] [ExternalStorageUtils] : External storage permission granted, API >= 23
2018-11-26 04:07:38,591 [INFO ] [file-logging-thread-1] [DexterPermissionObtaine] : Storage permissions already granted.
2018-11-26 04:07:38,593 [INFO ] [file-logging-thread-1] [UploadPresenter] : uploadModel.getCount():0
2018-11-26 04:07:38,594 [DEBUG] [file-logging-thread-1] [UploadActivity] : Position: 2 Attribution-ShareAlike 3.0
2018-11-26 04:07:38,598 [INFO ] [file-logging-thread-1] [UploadPresenter] : Updating content for currentPage1
2018-11-26 04:07:38,623 [DEBUG] [file-logging-thread-1] [FileUtils] : Filepath (copied): /storage/emulated/0/CommonsApp/1543169258597.jpg
2018-11-26 04:07:38,627 [INFO ] [file-logging-thread-1] [UploadModel] : File path is /storage/emulated/0/CommonsApp/1543169258597.jpg
2018-11-26 04:07:38,644 [DEBUG] [file-logging-thread-1] [FileProcessor] : Calling GPSExtractor
2018-11-26 04:07:38,647 [DEBUG] [file-logging-thread-1] [FileProcessor] : filePath/storage/emulated/0/CommonsApp/1543169258597.jpg
2018-11-26 04:07:38,651 [DEBUG] [file-logging-thread-1] [FileProcessor] : folderTime Number:19
2018-11-26 04:07:38,655 [DEBUG] [file-logging-thread-1] [FileProcessor] : fild date:1543169258000 time of creation1543169258000
2018-11-26 04:07:38,658 [DEBUG] [file-logging-thread-1] [FileProcessor] : not null fild EXIFfalse coordsnull
2018-11-26 04:07:38,660 [INFO ] [file-logging-thread-1] [FileUtils] : File SHA1: ad67b9b392a8c7e69ac00d2ba9d3dc2549871dc9
2018-11-26 04:07:39,146 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Direct category found: Fortitude Valley, Queensland
2018-11-26 04:07:39,148 [DEBUG] [file-logging-thread-1] [CategoriesModel] : DirectCat does not equal emptyString. Direct Cat list has [Fortitude Valley, Queensland
]
2018-11-26 04:07:39,150 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Image has direct Cat
2018-11-26 04:07:39,183 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,205 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,217 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,221 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,224 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,226 [DEBUG] [file-logging-thread-1] [CustomApiResult] : API response is
<?xml version="1.0" encoding="UTF-8"?><api batchcomplete=""><query><userinfo id="6998903" name="Misaochan2"/></query></api>
2018-11-26 04:07:39,227 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,229 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,230 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,232 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,234 [DEBUG] [file-logging-thread-1] [CategoriesModel] : Previous year: 2017
2018-11-26 04:07:39,373 [DEBUG] [file-logging-thread-1] [CustomApiResult] : API response is
<?xml version="1.0" encoding="UTF-8"?><api batchcomplete=""><query><allimages/></query></api>
2018-11-26 04:07:39,707 [DEBUG] [file-logging-thread-1] [ImageUtils] : total 12192768
2018-11-26 04:07:39,836 [INFO ] [file-logging-thread-1] [UploadPresenter] : uploadModel.getCount():1
2018-11-26 04:07:39,847 [DEBUG] [file-logging-thread-1] [UploadActivity] : Position: 2 Attribution-ShareAlike 3.0
2018-11-26 04:07:39,857 [INFO ] [file-logging-thread-1] [UploadPresenter] : Updating content for currentPage1
2018-11-26 04:07:40,132 [INFO ] [file-logging-thread-1] [DescriptionsAdapter$Vie] : descItemEditText:fr.free.nrw.commons.ui.widget.CustomEditText{8f9f55c VFED..CL. ......I. 0,0-0,0 #7f090092 app:id/description_item_edit_text}
2018-11-26 04:07:40,136 [DEBUG] [file-logging-thread-1] [DescriptionsAdapter$Vie] : Description is fr.free.nrw.commons.upload.Description@c57b065
2018-11-26 04:07:40,454 [INFO ] [file-logging-thread-1] [DescriptionsAdapter$Vie] : descItemEditText:fr.free.nrw.commons.ui.widget.CustomEditText{498f363 VFED..CL. ......I. 0,0-0,0 #7f090092 app:id/description_item_edit_text}
2018-11-26 04:07:40,457 [DEBUG] [file-logging-thread-1] [DescriptionsAdapter$Vie] : Title is null
Device and Android version:
Samsung Galaxy s7 API 26
Commons app version:
2.9-release prodRelease
Would you like to work on the issue?
Pref not
Issue Analytics
- State:
- Created 5 years ago
- Comments:49 (33 by maintainers)
Top Results From Across the Web
iOS 15 Health Sharing - stuck on “Setting… - Apple Community
iOS 15 Health Sharing - stuck on “Setting Up Sharing”. In the updated “Health” app on iOS15 you can share health data with...
Read more >Sharing App stuck at loading - Power Platform Community
I recommend you clear your browser's cache, update the browser to the lateat version. And then reopen PowerApps, try to share apps again....
Read more >'Shared with You' Not Working on iPhone? How to Fix
The Messages app on your iPhone is the hub that binds it all. This means that if the settings of this application are...
Read more >Common Screen Sharing Problems and How to Fix Them
The screen may look good on your side, but it may appear distorted on the receiving end. An outdated version of a screen-sharing...
Read more >How to access the 'Shared with You' section on an iPhone
'Shared with You' on iPhone organizes all of your shared content so you don't have to · Music. In the music app, tap...
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
@ShridharGoel My last commit caused this issue. The PR fixing it is up for review. #2309.
@sivaraam Thanks for sharing the logs. The issue you are facing is related to #2083.
This issue was related to the
Intent
not being handled properly leading to app crashing as soon as theUploadActivity
is started.Out of memory (OOM) crash that you are facing is because of large images not being handled properly. Let’s take the discussion about this crash to #2083. 😃