-
-
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
Wrong object lifecycle management #382
Comments
I found the problem and I start working on it. The fix won't be shipped with 1.7.0 release. I guess we will provide 1.7.1 after a week or two. |
ping @maknz |
ping @lscown |
This comment was marked as abuse.
This comment was marked as abuse.
Good question. ping @valentinstoychev |
I mean, this is probably as serious of an issue as they come. Our app is too unstable to ship in the current state. I understand the complexities around keeping the scope of the 1.7 release as-is and not introducing new things last minute. In reality, whatever is the quickest way to get the fix out, I'm on board with. |
Hey guys, We'd rather deliver the goodies we have accumulated already to the community. Fixing the management of the obect lifecycle is our current task. We hope to have 1.7.1 as soon as possible (estimated to some time early next week). Thank you for your support! Cheers, |
i have this bug every time.. costumer already complaining... really,... is there any temporarily work around? |
FWIW, 1.7 improved things dramatically for us. I think I saw one crash come through, but our app is basically back to normal after the 1.7 upgrade. Haven't played too much, but try that first if you haven't already. |
The fix is in
|
Hello, I got the same error, and already in nativescript 1.7.1, I think it got to do with memory management, what I tried to do is creating some kind of dropdown using listview, when the data is small, it works without error, but if the data is big (10000) when trying to search after typing (auto completion), sometime the error appears, it appears almost immediately in nexus 7 who has low memory and using genymotion it happened after few typings Hope it can help |
Oh my mistake but when i tried tns platform add android@next shows error not found or something |
And now add platform android@next is working dont know what did happened I will try again |
I think it works (in geniemotion) havent tried it on device, good job |
hello @slavchev ,
|
Hi @Jayuda, |
Tried on the device and it haven't crashed I think it is done |
Same crash happens when you start camera module, take a photo with takePicture function, then you go back automatically to the same page from where you started your camera. And if on that page is a textField and you tap it, it's gonna crash with error 'no weak reference...'. On 1.7.1 it shows excpetion on the screen and on 2.0.0 (master branch) it show "App crashed" dialog as on native android app. |
I used android@next that was available about 10 days ago. I tested with current version 2.0.0-2016-04-27-549 and TextField works without crash. |
Reported from @wisonye NativeScript/NativeScript#1705
The test phone is a Huawei P8 lite version( Android 5.0 ), it's very easy to re-show the issue, just like my loginUI, if I do type in the "password" field, it will crash( sometimes need to long press to show up the "copy/paste" floating mean to cause crash ), UI super simple, looks like this:
https://drive.google.com/file/d/0B-AooW_48tzISmZCbnNNeDB2ZUU/view?usp=sharing
And here is the crash log output, if your team found something, that's good, if have no idea, then just ignore it, I just want to do a "potential bug report" :)
The text was updated successfully, but these errors were encountered: