Closed mzorz closed 3 years ago
Here's another case where the file seems to not exist when it's attempted to be uploaded, and then in the end the crash conditions are met when trying to process the Post for a media item that obviously can't have a remote mediaId (because it could not be uploaded in the first place):
generic
i/WordPress-STATS: šµ Tracked: media_service_upload_response_error, Properties: {"error_message":"local file path for media does not exist","error_status_code":0,"error_log":"Media doesn't have required data: local file path for media does not exist","error_type":"MALFORMED_MEDIA_ARG"}
info
11:07:37
generic
e/WordPress-MEDIA: Can't access the media file. It doesn't exists anymore!! Properties are not being tracked.
info
11:07:37
generic
i/WordPress-STATS: šµ Tracked: media_service_upload_started
info
11:07:37
generic
w/WordPress-MEDIA: MediaUploadHandler > No more media items to upload. Skipping this request.
info
11:07:37
generic
i/WordPress-MEDIA: MediaUploadHandler > Completed
info
11:07:37
generic
w/WordPress-MAIN: UploadService > Media upload failed for post 80 : MALFORMED_MEDIA_ARG: local file path for media does not exist
info
11:07:37
generic
d/WordPress-POSTS: updateNotificationErrorForPost: Es gab einen Fehler beim Hochladen der Medien in diesem Beitrag: Local file path for media does not exist.
info
11:07:37
generic
i/WordPress-STATS: šµ Tracked: my_site_icon_upload_unsuccessful
info
11:07:37
generic
i/WordPress-STATS: šµ Tracked: notification_shown, Properties: {"notification_type":"post_upload_error"}
info
11:07:37
exception
NullPointerException: mediaFile.mediaId must not be null
error
11:07:37
Possible Sentry dupe here https://sentry.io/share/issue/55717409b678402d9825737efd7536d2/
Closing via #13661
Sentry issue: WORDPRESS-ANDROID-122P
Sentry Url: https://sentry.io/share/issue/f6c19e5b31b543adacf3f80c6b319fa2/ Possible dupe: https://sentry.io/share/issue/55717409b678402d9825737efd7536d2/
When looking in the logs, I can see the user created a Story with 2 slides, but most of the time in the early stages when selecting the image to include as slides we've got other exceptions, in particular
IllegalArgumentException: Volume storage not found
. I wonder if that's related somehow (for example they've picked pictures from somewhere that is not really accessible for the optimizer to work with? But then FluxC was able to upload them apparently?).These are the interesting bits from the logs (I cut most of it):