Sunday, July 15, 2012

Windows Phone ScheduledActionService = Scheduled Crash!

Windows Phone ScheduledActionService = Scheduled Crash!

7/14/2012

source: wieser-software.blogspot.co.uk

I've been on the trail of an irreproducible bug for a couple of weeks now, described on the forums

In effect, what has been happening is that ScheduledActionService.Find is throwing an exception, but I wasn't able to duplicate the fault in our program Terminator which shows sunrise and sunset times.

However, we've been trying to get rid of some other navigation bugs, and it struck me that this was probably another banging on the back key bug. And it turned out I was right, that's exactly what it was.? If you repeatedly stop and start our app (and probably any other app that refreshes a live tile on startup) you can provoke this failure.

It appears the crux of the problem is that the previous instance of the app has not quite completed when you launch the new instance.? If you get the timing exactly right, the call to ScheduledActionService.Find will throw, and if you're even more lucky you'll catch it in the debugger, and see that immediately after it fails, it throws a ThreadAbortException

...Read more

You can also follow us on Twitter @winphonegeek

Comments

Source: http://feedproxy.google.com/~r/Windowsphonegeek/~3/Gi9re7gSFcg/Windows-Phone-ScheduledActionService-=-Scheduled-Crash

kennedy assassination kennedy assassination jfk assassination pie crust recipe heritage foundation dancing with the stars results 2011 ali fedotowsky

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.