有一点奇怪,我的Windows Phone应用程序会在没有任何警告的情况下退出,大部分时候它可以正常工作。Windows Phone的这种例外的原因是什么
然后我跟踪Application_UnhandledException,发现异常消息是:
[ExceptionMessage]:[NullReferenceException]
[StackTrace]:[
at wpapp.MainPage.<DispatcherLoad>b__1(Object sender, EventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
]
没有详细的资料给我找出异常的原因。有没有人遇到过这个异常,并得到了解决方案?
任何建议,将不胜感激。
谢谢,KooKiz。 – ellic 2012-04-15 05:39:50