Unhandled exception

4 posts, 0 answers
  1. Giammarco
    Giammarco avatar
    2 posts
    Member since:
    Oct 2013

    Posted 28 Nov 2013 Link to this post

    Hi,
    During the development of an App that includes both manual and speech interaction, I have encountered an error raising an Unhandled Exception. This is the stack trace:

       at MS.Internal.XcpImports.CheckHResult(UInt32 hr)
       at MS.Internal.XcpImports.FrameworkElement_MeasureOverride(FrameworkElement element, Size availableSize)
       at System.Windows.FrameworkElement.MeasureOverride(Size availableSize)
       at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Double inWidth, Double inHeight, Double& outWidth, Double& outHeight)

    After some investigation I found that the error is caused by the RadBusyIndicator, but only when some conditions are met.
    Mainly the exception is raised after navigating from a page to another, but only if some speech interaction has happened. For example, if navigating to a page occurs after a button click, everything goes ok, but if navigating occurs after speech recognition then the exception is raised. This strange behaviour happens only with some animations (eg. Animation4).

    I include a demo project that show the problem: https://dl.dropboxusercontent.com/u/4470296/PhoneApp1.zip

    best regards,
    Giammarco
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 03 Dec 2013 Link to this post

    Hello,

    we run your project several times, but could not reproduce this behavior. On what device you are experiencing the issue? Is there anything specific that we should do in order to reproduce it?

    Regards, Valentin.Stoychev
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. Giammarco
    Giammarco avatar
    2 posts
    Member since:
    Oct 2013

    Posted 03 Dec 2013 Link to this post

    Hi,

    This is a really strange behavior... As said in the previous post, the issue happens when navigating from a page to another after a voice interaction. I've tried the demo app on a Nokia Lumia 1020 using RDA service and everything works perfectly. On the emulators the issue still happens making the app close instantly. Could it be a problem that only occurs on windows phone emulators?


    regards,
    Giammarco
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 05 Dec 2013 Link to this post

    Hi,

    Yes - it is possible - it happens often the emulator and device to behave differently. We tested it on several other devices - Nokia 820 and Nokia 920 and it seems to behave OK.

    Regards, Valentin.Stoychev
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner