Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27069] headerViewProxy & footerViewProxy Error

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionNot Our Bug
Resolution Date2019-05-15T16:43:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsSupportTeam, alloy, ios, iphone
Reportersonufana4u
AssigneeEric Merriman
Created2018-12-17T11:39:39.000+0000
Updated2019-05-15T16:43:11.000+0000

Description

I have just installed latest RC version of SDK i.e. Ti.SDK7.5.1RC and checked my application.But am still getting same error as in previous SDK. Also, sometime it doesn't animate properly and crashed also while switching between listing to detail page..i checked my code and i don't think so there is an issue with my code.. Am attaching the error screenshot as well video of crashing and animation issue..Requesting you to please check and let me know. Thanks

Attachments

FileDateSize
1_crash_0119.rtf2019-01-02T06:10:28.000+000080689
1_Crash28_12.rtf2018-12-28T12:39:27.000+000070371
2_crash_0119.rtf2019-01-02T06:10:28.000+000076073
2_Crash_2812.rtf2018-12-28T12:39:27.000+000071864
3_crash_0119.rtf2019-01-02T06:10:28.000+000073260
3_Crash_2812.rtf2018-12-28T12:39:27.000+000072477
4_crash_0119.rtf2019-01-02T06:10:27.000+000080313
4_Crash_2812.rtf2018-12-28T12:39:27.000+000064863
5_Crash_2812.rtf2018-12-28T12:39:27.000+000064881
Animation.MOV2018-12-17T11:39:02.000+0000942113
Crash1.rtf2018-12-24T05:33:16.000+000082381
Crash1.txt.rtf2018-12-24T05:32:29.000+000082381
Crash2.rtf2018-12-24T05:32:39.000+000091357
Crash3.rtf2018-12-24T05:32:39.000+000082156
Crash4.rtf2018-12-24T05:32:39.000+000084605
Crashing.MOV2018-12-17T11:39:04.000+00002123407
IMG_5068.PNG2018-12-27T15:09:44.000+000086018
Screenshot_iPad.png2018-12-28T16:06:21.000+0000271233
Screen Shot 2018-12-17 at 4.32.27 PM.png2018-12-17T11:38:57.000+000026626

Comments

  1. Sharif AbuDarda 2018-12-17

    Hello, Please attach a standalone sample code for us to test on our end. Thanks.
  2. sonufana4u 2018-12-18

    Okay..My project has lots of files and code..So, i'll make a sample project with the issues..Will update you in 1-2 days..Thanks
  3. sonufana4u 2018-12-21

    Hello Sharif, By monday i'll provide the code..Basically i am taking code of my project..So you need to follow the steps which i'll share with you..Thanks..
  4. sonufana4u 2018-12-21

    Hello Sharif, I have an app made with titanium running on client side having many users..However it suddenly getting crashed.I was checking the issue but am unable to find out the issue..Could you please help on this ? I have removed many things in my app and sending you the small app. Here is the steps. 1) click on login user - test_manager password - tle123 2) select classroom - any which is available 3) enter pincode - 6880 or 1333 or 0433 or 9482 4) click on profile and click on list item and go to detail page and do the same. also attaching the video for same to reproduce the video.. Client is asking for update and i don't know what to answer them. Please help on this issue. Please find the below link for G-Drive https://drive.google.com/open?id=1xGdjsoxzDYsXO3AzJqPzHVUCIWgxr8Y1
  5. sonufana4u 2018-12-21

    Please check on Device iOS12 with Ti.SDK 7.5.0 GA
  6. sonufana4u 2018-12-24

    [^Crash4.rtf] [^Crash3.rtf] [^Crash2.rtf] [^Crash1.rtf] Hello Sharif, Please find some crash logs reports.Please let me know what went wrong ? Also, after username and password please use Dev_test2 as a school. Thanks.
  7. Rakhi Mitro 2018-12-26

    [~sonufana4u], We are working into this. We will update you soon.
  8. sonufana4u 2018-12-27

    @Rakhi - Have you checked the issue at your end ?
  9. Rakhi Mitro 2018-12-27

    [~sonufana4u], Yes. We are investigating on our end. We will update you soon.
  10. Fazlul Haque 2018-12-27

    Hello [~sonufana4u], I have tested your project on my end and cannot complete the steps because of your pincode. I have tried all of these 6880 or 1333 or 0433 or 9482 but all are invalid. Please check the screenshot. !IMG_5068.PNG|thumbnail! Thanks
  11. sonufana4u 2018-12-27

    Ok..Am giving some more pin code.. Basically your to give username & password then from picker you need to select school devtest2 and you need to select class and click on done..Hope you are doing the same... Pins - 3626,3012,4532,2287 Let me know if that doesn't work.. Thanks
  12. Fazlul Haque 2018-12-27

    Hi [~sonufana4u], Now I can test using your new Pins. I am sharing you my test report and workaround for your issue. 1) I have tested your provided project on my end on following environment: Appcelerator Command-Line Interface, version 7.0.9 SDK version: 7.5.0.GA Test Device: iOS 12.1 enabled iPhone device And I can reproduce the crash issue using your project *without changing anything on your code*. Also I have noticed that on your tiapp.xml file you have blocked the the following code:
    <property name="run-on-main-thread" type="bool">true</property>
    Please enable this code and test your project on ti SDK version 7.5.0.GA and I hope the issue will be resolved. I have tested after changing this code and I did not reproduce the crash. The project is working file. *Steps which I followed:* 1) Run your provided project on iOS 12.1 enabled iPhone device 2) Login using your provided username and password 3) Then from picker I selected the school *devtest2* and select the class and click on done 4) Tried several time and doing different things by following your provided video. Cannot reproduce the issue. Thanks
  13. sonufana4u 2018-12-28

    Hello Fazlul, Thanks for your reply. Actually i tried with this option also but i was getting crashing issue.However i didn't clean the build after doing the changes.. {noformat} true {noformat} Also, am using Appcelerator Command-Line Interface, version 7.0.6..Does it affect to causing the issue? Let me try with again by cleaning the build and test it..I'll update you on the same.. Thanks.
  14. sonufana4u 2018-12-28

    Hello, Basically this application is also made for iPad(Portrait & Landscape) and we got crashing issue in the Landscape page on dashboard page.. Attaching the reports.. [^5_Crash_2812.rtf] [^4_Crash_2812.rtf] [^3_Crash_2812.rtf] [^2_Crash_2812.rtf] [^1_Crash28_12.rtf] I have mailed at fhaque@appcelerator.com, rmitro@appcelerator.com, sdarda@axway.com some more more information..
  15. Fazlul Haque 2018-12-28

    Hello [~sonufana4u], That means there is no any issue on your iPhone after changing the code on your tiapp.xml file. Am I right? Thanks
  16. sonufana4u 2018-12-28

    So far it seems to be working fine..Will test more on iPhone and let you know.. But please check your mail and test on iPAD (Landscape) dashboard feed section.. Let me know in case of any issues..
  17. sonufana4u 2018-12-28

    Scroll the feed section and check..Also please check the crash report attached here.
  18. Fazlul Haque 2018-12-28

    Hello [~sonufana4u], I am not sure how can I reproduce it as an issue on my end. As its working perfectly on iPad simulator (check the screenshot on named Screenshot_iPad.png ). I have used your full test project which you sent on email. I have just change the tiapp.xml file and added the above mention code. If you think its an our platform issue then please share us a simple test code where we can reproduce the issue. Thanks
  19. sonufana4u 2018-12-28

    Hello fazlul, It's not occurring everytime but if you test on real device then you can reproduce this issue..
  20. Sharif AbuDarda 2018-12-30

    Hello [~sonufana4u], Is this only happing to you on the iPod devices? We have tested with iPhone device and was working fine.
  21. sonufana4u 2018-12-31

    Hello Sharif, The Latest CrashLogs which i have shared for iPAD ...Check on Real Devices. Also, check the crash logs and let me know..When scroll down the feeds many times then its happening.. Let me know if you want anything..
  22. Sharif AbuDarda 2019-01-01

    Hello [~sonufana4u], I see you open a separate ticket on this. Please don't create multiple tickets on the same issue at once.
  23. sonufana4u 2019-01-02

    Ok Sharif, But please give me a solution or forward it to your core engineer since client is asking for updates on this crashing issue. Also, i found some more crashes reports..Attaching the report for same.
  24. sonufana4u 2019-01-02

    Still my application is getting crashed in iPhone, iPad devices. Please check and let me know.Thanks
  25. sonufana4u 2019-01-03

    Any updates guys ??
  26. sonufana4u 2019-01-04

    Have you guys seen the crash logs reports ? Please let me know why its happening.
  27. Samir Mohammed 2019-01-04

    [~sonufana4u] Is it possible to reset the classrooms in DevTest2, they all show as unavailable.
  28. sonufana4u 2019-01-04

    Please check now..It should be available now..Also please test on real devices either in iPhone or iPad..It's happening mostly when click on profile and then go to detail page,do pull to refresh then back to listing ..Do the same process multiple times..It will crash after some time..Let me know in case of any queries..thanks
  29. Samir Mohammed 2019-01-04

    [~sonufana4u] Thank you for resetting the classrooms. After testing on an iPad mini 3 (11.4) and an iPad Air sim (12.1) I seem to be get the following error: (This issue was not seen on the iphone sim and device)
        [ERROR] :  Script Error {
        [ERROR] :      column = 50;
        [ERROR] :      line = 441;
        [ERROR] :      message = "Can't find variable: loadFeeds";
        [ERROR] :      sourceURL = "file:///var/containers/Bundle/Application/97BBAA9D-76CF-41D7-99D9-C7419235724D/latest.app/alloy/controllers/dashboard.js";
        [ERROR] :      stack = "    at (/alloy/controllers/dashboard.js:441:50)\n    at [native code]\n    at moveToLastScreen(/alloy/controllers/login/loginView.js:436:5870)\n    at (/alloy/controllers/login/loginView.js:256:17)\n    at lib$rsvp$$internal$$tryCatch(/rsvp.js:660:16)\n    at lib$rsvp$$internal$$invokeCallback(/rsvp.js:691:56)\n    at lib$rsvp$$internal$$publish(/rsvp.js:643:35)\n    at lib$rsvp$asap$$flush(/rsvp.js:815:9)";
        [ERROR] :      toJSON = "<KrollCallback: 0x149291c90>";
        [ERROR] :  }
        [DEBUG] :  Firing app event: setTextFieldNull
        [ERROR] :  ErrorController is up. ABORTING open
        [DEBUG] :  Firing app event: paused
        [ERROR] :  ErrorController is up. ABORTING open
        
    *Steps taken to reproduce*

    Imported the project from https://drive.google.com/drive/folders/1xGdjsoxzDYsXO3AzJqPzHVUCIWgxr8Y1

    Unzipped the project

    Changed the GUID

    Ran the application on Ipad (device)

    Logged in using

        username - test_manager
        password - tle123
        

    Selected DevTest2 as the school

    Selected Peppers as the class name

    Pressed done

    Entered the following pin 2287

    *Result* Above error was shown. *Test Environment*
        APPC SDK 7.5.0.GA
        iPad mini 3 (11.4)
        iPad Air 2 sim (12.1)
        Iphone 6s+ (12.1)
        iphone 6 Sim (12.1)
        APPC CLI: 7.0.9
        Operating System Name: Mac OS Mojave
        Operating System Version: 10.14.2
        Node.js Version: 8.14.0
        Xcode 10.1
        
  30. sonufana4u 2019-01-04

    I don't know why this error is showing..I'll share the files on Monday..I left from the office so I won't be able to give you..thanks
  31. sonufana4u 2019-01-04

    Try to run on iphone and check the crashing issue if possible
  32. sonufana4u 2019-01-07

    Hello Guys, Please find below the project link. {noformat} https://drive.google.com/open?id=1YQ4KD9xQpFTVY_CQ9v7M4pDAPPxaD904 {noformat} I tested on ipad and iphone and its running without any error.. Please find below the video link for reference to reproduce the issue. {noformat} https://drive.google.com/open?id=1fy9-_KhufDwLK5sD9tHyMy9j4M9Pk_Z4 {noformat} steps to go inside the project {noformat} Log in using username - test_manager password - tle123 Select DevTest2 as the school Select the class name which one is available Press done Enter the following pin 2287 or 3799 or 1105 or 9474 or 4030 or 9474 {noformat} Please let me know the cause of issue and how to fix that. Let me know if you have any queries.Thanks
  33. Samir Mohammed 2019-01-07

    [~sonufana4u] Thanks for the update. After testing the steps above on an ipad mini 3 (11.4) and iPhone 6S plus (12.0 Beta). I was only able to experience one crash and that was on the Iphone when entering the pin code. (Spent 15 minutes on each device trying to reproduce). *Test Environment*
        APPC SDK 7.5.0.GA
        APPC CLI: 7.0.9
        Operating System Name: Mac OS Mojave
        Operating System Version: 10.14.2
        Node.js Version: 8.14.0
        Xcode 10.1
        
  34. sonufana4u 2019-01-07

    Thanks Samir for the time spent. Yes we also get crashing when we use 15-20 minutes..And it happens random.Doesn't get any crash log in console. Last time it was told to me to add below line tiapp.xml..So, after that it reduces but not vanished. {noformat} true {noformat} Let me know what went wrong and how to resolve that since client is asking for updates. Thanks Again.
  35. sonufana4u 2019-01-07

    You said that you experienced crash when entering the pin code..But try to test the profile section also as described in the video.Thanks
  36. sonufana4u 2019-01-08

    Hello, So, how to fix those random crashes..?Please let me know. Thanks
  37. sonufana4u 2019-01-09

    Hello Guys, Any suggestion or update on this.Can we prevent crashes ? Thanks
  38. sonufana4u 2019-01-10

    Hello Guys, Is anyone looking into this random crashes issue ? I need to fix this.Please let me know where it is causing the issue. Thanks
  39. sonufana4u 2019-01-11

    Hello Guys, Today i was testing the application and it got crashed 4 times..Please help me to fix this issue.Its very urgent.. Thanks.
  40. Jan Vennemann 2019-01-24

    [~sonufana4u], could you please test with the latest build from 7_5_X branch? You can install it with
        appc ti sdk install -b 7_5_X
        
    We recently merged a fix that addresses memory leaks in timers. Since your crash reports indicate frequent crashes in timer callbacks this might be related.
  41. sonufana4u 2019-01-25

    Hello Jan, Thanks for your reply. Currently Am already using 7.5.0GA and i also tested on 7.5.1RC but in this SDK sometimes App freezes.. So, i did some memory leakage changes at the code level and monitoring it..Though it subsides but still it has random crashes. Thanks.
  42. Jan Vennemann 2019-01-31

    [~sonufana4u], if you continue to see issues with the latest build from 7_5_X (download with ti sdk install -b 7_5_X) please shoot me an email with your updated project and crash logs.
  43. sonufana4u 2019-02-07

    Hey Jan, Am facing crashes after using the SDK from the above command and also share with you the code and video to reproduce the issue & crash logs..Did you get the time to check that ?
  44. Sharif AbuDarda 2019-02-07

    Hello [~sonufana4u], Did you send email to Jan personally? [~jvennemann], Can you please check and get back to him? Thanks.
  45. sonufana4u 2019-05-09

    Please close this ticket..Thanks

JSON Source