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

Simluator stops working (June, 25th update)

31 Answers 106 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jan-Dirk
Top achievements
Rank 1
Jan-Dirk asked on 26 Jun 2013, 03:32 PM
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.

31 Answers, 1 is accepted

Sort by
0
Matt Gmail
Top achievements
Rank 1
answered on 26 Jun 2013, 03:37 PM
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.
0
softwarea
Top achievements
Rank 1
answered on 27 Jun 2013, 05:19 AM
I have similar problem: http://www.icenium.com/resources/forums/report-a-bug-/simulator-and-app-stopped-working-after-june-25th-update
0
Kristina
Telerik team
answered on 28 Jun 2013, 05:22 AM
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.
0
Jan-Dirk
Top achievements
Rank 1
answered on 28 Jun 2013, 07:07 AM
Kristina,

Upgrading to Cordova 2.7.0 does not help. It's irregular behaving.
0
Kristina
Telerik team
answered on 28 Jun 2013, 09:14 AM

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.
0
Ashish
Top achievements
Rank 1
answered on 30 Jun 2013, 06:38 AM
Icenium should ask for user consent before updating to newer version. 
0
Richard
Top achievements
Rank 1
answered on 01 Jul 2013, 08:40 PM
Can we have strategy to roll back to the old version? Some many users are depending on it!
0
Steve
Telerik team
answered on 02 Jul 2013, 04:36 PM
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.
0
Joe D
Top achievements
Rank 1
answered on 02 Jul 2013, 09:51 PM
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.
0
Steve
Telerik team
answered on 03 Jul 2013, 07:57 AM
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.
0
Jan-Dirk
Top achievements
Rank 1
answered on 05 Jul 2013, 07:05 PM
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.
0
Jan-Dirk
Top achievements
Rank 1
answered on 09 Jul 2013, 09:44 AM
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!
0
Steve
Telerik team
answered on 09 Jul 2013, 10:12 AM
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.
0
Kristina
Telerik team
answered on 09 Jul 2013, 12:21 PM
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.
0
Jan-Dirk
Top achievements
Rank 1
answered on 10 Jul 2013, 11:12 AM
Thank you for your reply Kristina. I will try this and report the results here.
0
Joe D
Top achievements
Rank 1
answered on 10 Jul 2013, 07:36 PM
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...
0
Steve
Telerik team
answered on 11 Jul 2013, 07:21 AM
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.
0
Joe D
Top achievements
Rank 1
answered on 11 Jul 2013, 03:03 PM
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?
0
Steve
Telerik team
answered on 11 Jul 2013, 03:17 PM
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.
0
Joe D
Top achievements
Rank 1
answered on 11 Jul 2013, 03:33 PM
Here are the screen shots. The DevTools listing had to be split into two files.
0
Steve
Telerik team
answered on 11 Jul 2013, 03:44 PM
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.
0
Joe D
Top achievements
Rank 1
answered on 11 Jul 2013, 03:57 PM
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.
0
Joe D
Top achievements
Rank 1
answered on 12 Jul 2013, 01:40 PM
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.
0
Joe D
Top achievements
Rank 1
answered on 12 Jul 2013, 06:59 PM
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.
0
Joe D
Top achievements
Rank 1
answered on 15 Jul 2013, 02:34 AM
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.
0
Steve
Telerik team
answered on 15 Jul 2013, 09:10 AM
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.
0
Joe D
Top achievements
Rank 1
answered on 15 Jul 2013, 01:16 PM
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

0
Joe D
Top achievements
Rank 1
answered on 16 Jul 2013, 03:13 AM
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.
0
Steve
Telerik team
answered on 16 Jul 2013, 08:04 AM
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.
0
Nello
Top achievements
Rank 1
answered on 18 Aug 2014, 10:08 PM
Hi
I'm having exactly the same problem on osx :
1. Installed the latest app builder cli version, 2.4.150
2. app builder create hybrid
3. appbuilder simulate, it then download an update of telerik.blackdragons and cordova
4. the simulator starts but the screen stays grey, i've done the trick with the alert which is shown
5. Tested on macbook air and imac with different graphic cards
Do you have any issues with the simulator ? does it work at all by now ?

Thx



0
Zdravko
Telerik team
answered on 21 Aug 2014, 09:29 AM
Hi Nello,

I have already replied to you in another ticket of yours and I suggest continuing our communication there as this thread is mostly Windows related.
Thanks.

Regards,
Zdravko
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
Jan-Dirk
Top achievements
Rank 1
Answers by
Matt Gmail
Top achievements
Rank 1
softwarea
Top achievements
Rank 1
Kristina
Telerik team
Jan-Dirk
Top achievements
Rank 1
Ashish
Top achievements
Rank 1
Richard
Top achievements
Rank 1
Steve
Telerik team
Joe D
Top achievements
Rank 1
Nello
Top achievements
Rank 1
Zdravko
Telerik team
Share this question
or