Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

FileNotFoundException: /data/data/org.mozilla.fennec_aurora/files/mozilla/y6vzzsen.default/manifests/C2dWGyUpaf5+pzHQl49... #5974

Closed
pocmo opened this issue Feb 18, 2020 · 6 comments
Assignees
Labels
🐞 bug Something isn't working <migration> Component: support-migration

Comments

@pocmo
Copy link
Contributor

pocmo commented Feb 18, 2020

https://sentry.prod.mozaws.net/operations/fenix-fennec-nightly/issues/7287348/

FileNotFoundException: /data/data/org.mozilla.fennec_aurora/files/mozilla/y6vzzsen.default/manifests/C2dWGyUpaf5+pzHQl49BDQ==.json (No such file or directory)
    at java.io.FileInputStream.open0(FileInputStream.java)
    at java.io.FileInputStream.open(FileInputStream.java:231)
    at java.io.FileInputStream.<init>(FileInputStream.java:165)
    at kotlin.io.FilesKt__FileReadWriteKt.readText$default(FileReadWrite.kt:2)
    at org.mozilla.fenix.customtabs.FennecWebAppIntentProcessor.fromFile$app_geckoNightlyFennecNightly(FennecWebAppIntentProcessor.kt:2)
...
(11 additional frame(s) were not displayed)

/data/data/org.mozilla.fennec_aurora/files/mozilla/y6vzzsen.default/manifests/C2dWGyUpaf5+pzHQl49BDQ==.json (No such file or directory)

┆Issue is synchronized with this Jira Task

@pocmo pocmo added <migration> Component: support-migration 🐞 bug Something isn't working labels Feb 18, 2020
@pocmo pocmo added this to Beta in Fennec migration Feb 19, 2020
@unicorn-io
Copy link

can i try this?

@st3fan
Copy link
Contributor

st3fan commented Feb 25, 2020

This is a really odd filename ... .../C2dWGyUpaf5+pzHQl49BDQ==.json .. are we sure that is correct? @NotWoods does that Base64 encoded name look correct to you?

@NotWoods
Copy link
Contributor

I think the old Fennec code may hash the filenames

@pocmo
Copy link
Contributor Author

pocmo commented Feb 26, 2020

Looking at Fennec's code it also protects against the manifest not being loadable anymore and then falls back to just launching Fennec. I guess that's the best we can do here too.
https://searchfox.org/mozilla-esr68/source/mobile/android/base/java/org/mozilla/gecko/webapps/WebAppActivity.java#172-179

@pocmo pocmo self-assigned this Feb 26, 2020
@st3fan
Copy link
Contributor

st3fan commented Feb 26, 2020

Should this move to the general PWA board? Or is this actionable for the migration?

@pocmo
Copy link
Contributor Author

pocmo commented Mar 3, 2020

Fixed in Fenix. Since this is not really something we can reproduce I'll move this directly to the "Done" column. Locally I did test this by pretending the manifest file does not exist.

@pocmo pocmo closed this as completed Mar 3, 2020
Fennec migration automation moved this from In progress to Ready for QA Mar 3, 2020
@pocmo pocmo moved this from Ready for QA to Done in Fennec migration Mar 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working <migration> Component: support-migration
Projects
No open projects
Development

No branches or pull requests

4 participants