This is a migrated thread and some comments may be shown as answers.

RadListView on iOS (NS 2.5.1) - crash when tap to detail and back

3 Answers 46 Views
ListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Clarence
Top achievements
Rank 2
Clarence asked on 21 Feb 2017, 07:09 AM

Hi,

I updated my app to NS and tns-core-modules 2.5.1. After that, when run my app on iOS, in RadListView, when I click on an item, browse to detail, and then back, the app will crash with the following error on console:

file:///app/tns_modules/nativescript-telerik-ui-pro/listview/listview.js:870:31: JS ERROR TypeError: undefined is not an object (evaluating 'value.view.itemView')
Feb 21 15:04:33 ClarencedeiMac SpringBoard[12462]: [KeyboardArbiter] HW kbd: Failed to set (null) as keyboard focus
Feb 21 15:04:33 ClarencedeiMac com.apple.CoreSimulator.SimDevice.A901FB04-C006-47F4-8876-118EB24771B0.launchd_sim[12445] (UIKitApplication:io.myexpensekeeper.mekapp[0x54bd][21961]): Service exited due to Segmentation fault: 11
Feb 21 15:04:33 ClarencedeiMac backboardd[12463]: [Common] Unable to get short BSD proc info for 21961: No such process
Feb 21 15:04:33 ClarencedeiMac backboardd[12463]: [Common] Unable to get proc info for 21961: No such process

 

I am using nativescript-telerik-ui-pro 1.6.0_063 package.

Kindly advice and regards

Clarence

3 Answers, 1 is accepted

Sort by
0
Nikolay Tsonev
Telerik team
answered on 21 Feb 2017, 08:34 AM
Hello,
Thank you for contacting us.

I reviewed the below-described behavior, however, the given error is too common, which prevents me from investigating this issue. 
It would help if you could provide sample project, which could be debugged locally and to give us more info about the problem. It would also help if you could send us the full log from the terminal when the error appears.

In the meantime, you could also try to delete platforms, node_modules and hooks folders. You could also clear  cache  cache clear and remove the app from simulator or device. then try to rebuild again the app with run ios.

Regards,
nikolay.tsonev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Clarence
Top achievements
Rank 2
answered on 26 Feb 2017, 08:06 AM

Hi nikolay,

I managed to create a very simple app that can re-produce this issue.

You can clone the repo here:

https://github.com/skywidesoft/ns-radlistview-test.git

 

To re-produce the problem:

  • Clone the repo
  • tns run ios --emulator
  • Click on any item and navigate to detail page
  • Click Back on the action bar

The app will crash with the error mentioned above.

I updated to Nativescript CLI 2.5.2 and nativescript-ui-pro 1.6.1, but is still having this issue.

Let me know if you have any difficulties in running my app.

Thanks a lot

Clarence

 

0
Nikolay Tsonev
Telerik team
answered on 27 Feb 2017, 08:30 AM
Hello,

Thank you for your sample project.
I was able to reproduce this behavior while using loadOnDemandMode setup and navigate back from the details page in NativeScirpt Angular 2 project and unfortunately, I have to confirm that this is a real issue.

For your convenience, I have logged new issue, reporting this behavior.
For further info and fix, you could keep track on it.

Regards,
nikolay.tsonev
Telerik by Progress
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
Tags
ListView
Asked by
Clarence
Top achievements
Rank 2
Answers by
Nikolay Tsonev
Telerik team
Clarence
Top achievements
Rank 2
Share this question
or