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

Thread is closed for posting
4 posts, 0 answers
  1. Clarence
    Clarence avatar
    20 posts
    Member since:
    Nov 2016

    Posted 21 Feb 2017 Link to this post

    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

  2. Nikolay Tsonev
    Admin
    Nikolay Tsonev avatar
    340 posts

    Posted 21 Feb 2017 Link to this post

    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 npm cache npm cache clear and remove the app from simulator or device. then try to rebuild again the app with tns 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.
  3. Clarence
    Clarence avatar
    20 posts
    Member since:
    Nov 2016

    Posted 26 Feb 2017 in reply to Nikolay Tsonev Link to this post

    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

     

  4. Nikolay Tsonev
    Admin
    Nikolay Tsonev avatar
    340 posts

    Posted 27 Feb 2017 Link to this post

    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.
Back to Top