-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
com.tns.NativeScriptException - MetaData cannot be opened. #1546
Comments
Duplicate of this issue i think NativeScript/NativeScript#8037 and it should contain a fix too |
@farfromrefug what I reported is different from what @maxorlovsky reported here. |
@shiv19 ok sorry looked at the last message! Sorry |
deleted mine, to not confuse anyone else |
I have same issue. |
I have the same issues. The crash rate is at alarm rate. |
Do you use crashlytics or something similar, so that we can get more information about the exception as the message is missing here and we don't know what is the exact error? |
We does have Crashlytics. But these crash does not display on Crashlytics, these crash is new, after we upgrade the app from Nativescript 6.1.2 to Nativescript 6.3.0. Only appear on Google Play Console. Some of our user report the app crash at the first time after upgrade, but working fine after that. Not sure this can give us any hint. |
Exactly the same for me. |
Was anyone able to solve that? |
Getting the same error stack after updating last week. 6,491 reports so far! 😬 Our project jumped from: Crashalytics is not reporting these errors. In-fact the crash rate on Crashlytics went down! |
Perhaps it maybe helpful if we provided more detailed info on our projects?
|
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Hello, After further investigation we were able to reproduce it. Last stable version is 6.1.2.
we were able to fetch a full stacktrace like this with following error message:
Why is google not reporting the full message? If this is known, nativescript should maybe implement subclasses of the NativeScriptException, to identify further whats the cause of issues like this.. Also we had following crash on nativescript 6.1.2 (maybe off topic, maybe related, but it happened only once and its not reproducable):
|
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Its happens when the system is shutting down (and the app is open), not when its booting up. We reproduced it with multiple real devices. Yeah everything 6.2 and higher is affected |
This comment was marked as abuse.
This comment was marked as abuse.
I have been able to narrow it further down. I compared @7ammer's plugin list with our own, the only overlapping plugins are:
The issue arises with nativescript-local-notifications. To reproduce please follow the steps below:
Restart device
You should see the reported crash. It happens with nativescript >= 6.2. @ALL Are you also using the nativescript-local-notifications plugin? |
As @saschaarthur mentioned this would be really helpful 👍 |
every reboot
deployed to device via CLI
Debug version is enough As @jessorlisa wrote already its prob the plugin we also installed, try her commands to reproduce it. |
This comment was marked as abuse.
This comment was marked as abuse.
@NathanaelA can you please send us a zip file of your testcrash app so that we can see how you're using the local notifications plugin? 🤔 |
This comment was marked as abuse.
This comment was marked as abuse.
I have been able to reproduce it on a Pixel 4, latest Android 10 version. |
Notifications themself are not an issue. It is enough to add the plugin via |
Sorry thats very odd, we never tried the emulator and it seems we unluckely tested on all devices which were affected. Heres a List of affected devices we collected so far: We tested mostly one OnePlus5T and Note 10 (fully updated). Could you please also explain what 'Richard' did (link to commit?) , and who he is here? Maybe he can join the Thread as well?.. |
Just tried the crash steps on a Oneplus6:
|
Any news or ideas how to fix/get around this issue? |
This comment was marked as abuse.
This comment was marked as abuse.
This is from the Play Console. And yes, my latest production release is the first to include Local-Notifications. I haven't seen these errors before. And this is the list of devices:
|
Thank you @NathanaelA for looking into this :) I'm curious to know if there has been any progress. Did you manage to replicate the issue on the pixel phone you ordered? |
I've just taken another look at all my crash reports after making a few updates and have noticed this new error. It has only happened twice in comparison to the other error but it looks very similar as it follows the same/similar stack trace and mentions
|
I got rid of the crashes btw by downgrading NS Android runtime to [email protected] as suggested by Neill and then in return I got a lot of ANRs :( |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
awesome looking forward for the PR of the fix :)
|
@NathanaelA Have you already found out what is causing the crashes in combination with the lock screen? |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
@NathanaelA you are legendary <3 |
Very awesome that you found and solved this! Will try it against our app as soon as i figured out how to patch our nativescript runtime with your fix in our build cycle :) |
@NathanaelA! That is some Sherlock level deduction there! :) Well done and thank you for all your effort! |
@NathanaelA Thanks for all your efforts on this matter. Any chance the fix will be part of the next runtime release? Or is there any latest development version I can install to test? |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
Just updated to 6.5.2, sadly
../testcrash/platforms/android/build-tools/buildMetadata.log:
Steps to reproduce:
Is there anything else that needs to be updated?
|
Can fully confirm, that all our pipelines turned red after updating to the latest ns runtime.. It should be very fast fixed / the release should be rollbacked, otherwise i see a flood of issues created.. The release should have been blocked by a working CI system (#1623). Anyways the reason for this seems to be: https://jira.mongodb.org/browse/JAVA-2559 |
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
This comment was marked as abuse.
No worries, thanks for all the affort you put into nativescript! Im just curious and im wondering.. we didnt upgrade any java version at all, also the breaking line is nothing new and inplace since 2019 or so.. So java version seems to be selected during the build process, hows this working for you and the others but for us it didnt? |
This comment was marked as abuse.
This comment was marked as abuse.
@NathanaelA We released our app with the android runtime v6.5.3 a few days ago. No more alarming crash rates. Thanks again for all your time on this. |
Been seeing this crash report at an alarming rate lately
The text was updated successfully, but these errors were encountered: