Simluator stops working (June, 25th update)

32 posts, 0 answers
  1. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 26 Jun 2013 Link to this post

    Something that worked before the 2013.2.625.2 update of June, 25th doens't work anymore.

    I have a listview that shows a list of videos. Clicking on an item in the listview opens a detail page where a youtube video can be watched. During the transition to that page and until the page is completely loaded a progress dialog is shown. This worked until yesterday, but not anymore. The progress dialog doesn't go away when the page is loaded. On my device everything still works as expected.

    If the debug console is open, I can close it but not open it again and it seems that nothing but closing the simulator works. After closing the simulator window I can start it again but the app never shows up. Just a black screen with the phone type of the mobile device I have selected. I have to close Graphite and restart it.

    I have not found any useful logging information from Graphite.

    If any of the Icenium engineers want to have a look at it. I am experiencing this in the app that can be recognized as 'Hob......2'. Browse to the tab with the camera and click an item from the list. After that you are stuck.
  2. Matt Gmail
    Matt Gmail avatar
    13 posts
    Member since:
    Mar 2013

    Posted 26 Jun 2013 Link to this post

    I have the same problem with the Graphite simulator essentially freezing up and I have to kill everything off and start it back up to get back to work. I probably had to do it five times yesterday in only the three hours I worked on my project.  I'm not sure if there was any consistency to when it happened, but I wasn't watching for a pattern nor did I notice one.
  3. softwarea
    softwarea avatar
    77 posts
    Member since:
    Feb 2007

    Posted 27 Jun 2013 Link to this post

    I have similar problem: http://www.icenium.com/resources/forums/report-a-bug-/simulator-and-app-stopped-working-after-june-25th-update
  4. Kristina
    Admin
    Kristina avatar
    57 posts

    Posted 28 Jun 2013 Link to this post

    Hey guys,

    Sorry for the inconvenience that we are causing you. We have reproduced your issues with the simulator and are working on providing a fix for them. We have some problems with the old Cordova versions, so you could try and upgrade to Cordova 2.7.0

    Please accept our deepest apologies.

    Regards,
    Kristina
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  5. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 28 Jun 2013 Link to this post

    Kristina,

    Upgrading to Cordova 2.7.0 does not help. It's irregular behaving.
  6. Kristina
    Admin
    Kristina avatar
    57 posts

    Posted 28 Jun 2013 Link to this post

    Hello JD,

    We understand that this is not a fix for the problem, but we've noticed that upgrading to Cordova latest version makes the situation a little bit better. We are working on providing a fix for the black screen Simulator, so stay tuned. 

    Regards,
    Kristina
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  7. Ashish
    Ashish avatar
    6 posts
    Member since:
    Oct 2007

    Posted 30 Jun 2013 Link to this post

    Icenium should ask for user consent before updating to newer version. 
  8. Richard
    Richard avatar
    24 posts
    Member since:
    May 2012

    Posted 01 Jul 2013 Link to this post

    Can we have strategy to roll back to the old version? Some many users are depending on it!
  9. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 02 Jul 2013 Link to this post

    Hi guys,

    We have identified and fixed the reported problems with the Simulator and would push a hotfix by the end of the week.

    The idea of having an IDE, project and build service in the cloud is all about being current, so we cannot support several versions at the same time. Our efforts are and would be put into making sure such problems do not surface on the live environment on product updates.

    Please excuse us for the temporary inconvenience once again.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  10. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 02 Jul 2013 Link to this post

    I can't even get the default Kendo UI project to work in the simulator.

    Click New, Cross-Platform Device Application (Kendo UI Mobile) Kendo UI Mobile v2013.1.619.

    Name the Project.

    Click Run/In Simulator

    Just a blank iOS device - the code looks like it should display the Welcome! message.
  11. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 03 Jul 2013 Link to this post

    Hi Joe,

    This has been fixed as well and would be part of the hotfix.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  12. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 05 Jul 2013 Link to this post

    My 'Hob......2' project still does not work in the simulator. I can't open the debugger to see what is going on. I get a black screen when I run the app in the simulator.

    I tested with my 'K1ckstart3r for Kickstarter' project and that one works fine.
  13. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 09 Jul 2013 Link to this post

    Anyone who can look into this?

    After starting the simulator I can't even open the debugger. Nothing works for this specific project.

    Thank you!
  14. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 09 Jul 2013 Link to this post

    Hello JD,

    We were able to reproduce the problem and we're currently looking into it. Would post back once we have more info or a viable workaround.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  15. Kristina
    Admin
    Kristina avatar
    57 posts

    Posted 09 Jul 2013 Link to this post

    Hello JD,

    First of all let us apologize for the caused inconvenience. We have spent some time investigating your project and came to a conclusion that the simulator is freezing because at some point your application loops endlessly. 

    We have noticed that you add a handler to the data source Change event. The handler modifies the data source and causes another trigger of the Change event.  This results in several executions of the showMainCategories()function.

    We strongly advice you not to modify the data source collection in the change event. If you want to apply some custom filter to your collection you can apply a filter configuration.
    Also it is better to create a list view and bind to a data source only once. Then modify or filter the datasource.

    So if we can summarize it after some code refactoring your function should look something like this:

    function loadAllCategories() {
        dsCategories = new kendo.data.DataSource({
            transport: {
                read: " ... your service url ... "
            },
            requestEnd: function(e) {
                hideProgress('#overlayShopping');
            },
            schema: {
                type: "xml",
                data: "/HTML/BODY/categories",
                model: {
                    fields: {
                        idcategory: "idcategory/text()",
                        idparentcategory: "idparentcategory/text()",
                        categorydesc: "categorydesc/text()"
                    }
                }
            },
            filter: [
                { field: "idparentcategory", operator: "eq", value: "1" },
                { field: "idcategory", operator: "neq", value: "1" }
            ]
        })
          
        $("#viewSubCategories").kendoMobileListView({
            click: function (e) {
            },
            template: $("#categoriesListTemplate").html(),
            dataSource: dsAllCategories
              
        });
    }


    Please let us know if this works for you. Meanwhile we would make sure that the Simulator handles such scenarios in a more graceful way.

    Best Regards,
    Kristina
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  16. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 10 Jul 2013 Link to this post

    Thank you for your reply Kristina. I will try this and report the results here.
  17. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 10 Jul 2013 Link to this post

    This is still not working for me.

    Click New, Cross-Platform Device Application (Kendo UI Mobile) Kendo UI Mobile v2013.1.621.

    Name the Project.

    Click Run/In Simulator

    Just a blank iOS device - the code looks like it should display the Welcome! message.

    I was interested in signing up, but I can't even show it to anyone to get approval...
  18. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 11 Jul 2013 Link to this post

    Hello Joe,

    Can you please try the following procedure to cleanup your Graphite's installation:

    1. Close all Icenium Graphite instances. Open the Task Manager and make sure that there are no running processes with the name Icenium.Graphite.exe
    2. Delete all contents in the %localappdata%\Temp\IceDeviceSimulator folder.
    3. Delete all contents in the  %localappdata%\Telerik\BlackDragon\Cache folder.

    If the problem still persists you can try to open the console window from debug tools in the simulator and see whether there is some error reported there.

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  19. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 11 Jul 2013 Link to this post

    Steve,

    I tried that and no luck. I also uninstalled and deleted those %localappdata% folders, then re-installed.  Still nothing in the simulator.

    The debug console shows nothing at all.

    I went to another computer and the simulator works there. But not on my computer.  Anything else I can look at?
  20. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 11 Jul 2013 Link to this post

    Hi Joe,

    We would need a few more things from you - start Graphite, run the simulator and enable the debug tools (click on debug). Then navigate to %localappdata%\Temp\IceDeviceSimulator\WebBrowser folder and take a screenshot, go one folder down into %localappdata%\Temp\IceDeviceSimulator\WebBrowser\DevTools folder and take a screenshot again. You can attach the screenshots to this forum thread, so we can see them.

    For the time being until we identify what has gone bad, please use Mist or another machine to continue your development.

    We appreciate your patience and involvement in helping us pinpoint this issue!

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  21. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 11 Jul 2013 Link to this post

    Here are the screen shots. The DevTools listing had to be split into two files.
  22. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 11 Jul 2013 Link to this post

    Hello Joe,

    Can you add an alert in your project, so that we can identify whether the project is working and the problem is render related or it is not working at all. You can add the following to your <head>:

    <script type="text/javascript">
                alert("test");
    </script>

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  23. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 11 Jul 2013 Link to this post

    I do get the alert.

    I put one alert as the first thing in the <head> tag, and also put one as the last thing in the <head> tag and I got both.

    Then I put an alert as the first tag in the <body> and got that.

    Then I put alerts before and after the "var app = new kendo.mobile.Application()" call and I got both of those. But nothing in the simulator device screen.
  24. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 12 Jul 2013 Link to this post

    Also, to add:

    - This was working on this PC up until the Icenium update about two weeks ago
    - Based on a suggestion in another thread, I tried turning the firewall off, but it did not help

    As this is my primary development system, I would like to get it working again on this system. It's a Windows 7 64-bit laptop (16 GB RAM, 128 GB SSD), fully patched, IE 10.

    These are screen shots of the simulator.
  25. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 12 Jul 2013 Link to this post

    Any ideas about this?

    It worked on this PC prior to the update about two weeks ago. It is a Windows 7 64-bit laptop with SSD, 16GB RAM, IE 10, fully patched Windows.

    These are screen shots from Graphite.
  26. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 14 Jul 2013 Link to this post

    One more clue...

    I found that when I run the default Kendo UI project (Hello World) in the simulator, it displays nothing, but if I use the icon to rotate the simulated device 90 degrees, or flip it, it displays the output that should be in the simulator screen.

    If I click any buttons, the screen does not update until I "flip" the device again.

    So it appears to be a screen refresh issue.  Still unusable though.
  27. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 15 Jul 2013 Link to this post

    Hi Joe,

    Could you please install Jing or some other free video capture software, and send us a video that shows how you run the simulator, enable debug and click on the debug tools (or resize them). Then try to rotate the device using the rotate buttons. Upload the video to screencast and send the link here.

    Thanks for your involvement!

    Regards,
    Steve
    Telerik

    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Missed our first webinar, watch it here.
    Share feedback and vote for features on our Feedback Portal.
  28. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 15 Jul 2013 Link to this post

    Here is a video capture. As you can see, I click the buttons on the toolbar at the bottom of the simulator screen and it does not change the screen, but when I rotate it, it then updates the screen.

    Nothing ever displays in the debug window.

    The forum does not allow me to attach a .swf file, so here is a link to the screencast:

    http://screencast.com/t/nLxOsg5i

  29. Joe D
    Joe D avatar
    12 posts
    Member since:
    Oct 2005

    Posted 15 Jul 2013 Link to this post

    I think I have resolved the problem!

    Since the problem appeared to be screen updates, just for the heck of it, I updated my video card driver (Intel HD 4000) and the simulator now is working.

    I got the driver from Intel's web site, using their driver update utility.
  30. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 16 Jul 2013 Link to this post

    Hi Joe,

    We're glad that you were able to narrow this one down and appreciate sharing it with the community for anyone else who might encounter this hard to track problem.

    Regards,
    Steve
    Telerik

    Do you enjoy Icenium? Vote for it as your favorite new product here (use short code H048S).
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top