我是社交控,喜欢分享内容。分享到 腾讯微博时总失败,心想不能就这么算了,要看看异常的细节。

在VS 2012里,我选择 Debug > Debug Installed App Package, 搜索微博,找到腾讯微博。Start

再次共享内容到腾讯微博,随便共享点什么,bingo,ArgumentException 出来了:Value does not fall within the expected range

详细的异常信息如下,希望微博的开发早点解决这个问题:

System.ArgumentException was unhandled

HResult=-2147024809

Message=Value does not fall within the expected range.

Source=mscorlib

StackTrace:

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

at MBModern.Share.ShareWritePage.<PageLoaded>d__2.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)

at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()

--- End of stack trace from previous location where exception was thrown ---

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()

at System.Threading.ThreadPoolWorkQueue.Dispatch()

InnerException:

另外 也尝试了用windbg 去调试这个问题,遗憾没有准确捕捉到 共享失败时的异常,可能windbg 异常的配置不合理吧。下边的错误消息能说明一定的问题。

Sat Jun 21 20:15:16.372 2014 (UTC + 8:00): Error: Converter failed to convert value of type 'Windows.Foundation.String' to type 'Uri'; BindingExpression: Path='DataAccount.faceurl' DataItem='MBModern.ListView.ListItemTemplate.DataModel.DataPersonalStatus, MBModern, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'; target element is 'MBModern.Components.PictureView' (Name='HeadIcon'); target property is 'PicUri' (type 'Uri').

最新文章

  1. 【python】python定时器
  2. ASP.NET MVC的TextBoxFor()和TextBox()
  3. [模板] 2-SAT
  4. Android手机指令操作释疑
  5. Oracle private dblink和pubic dblink
  6. vs2010开发android的准备工作
  7. 导入导出封装的工具类 (一) 利用POI封装
  8. IntelliJ IDEA对开发者的三大诱惑
  9. vim+makefile入门编辑,编译,差错实例
  10. Java多线程编程实战读书笔记(一)
  11. QT | 一些学习心得
  12. frist Django app — 三、 View
  13. SVM探讨
  14. 【python】异步IO
  15. Netty入门简介
  16. C++的多态
  17. response.setHeader的各种用法 ------ 笔记(一)
  18. pycharm 修改新建文件时的头部模板
  19. iOS:UIToolBar控件的使用
  20. react-native-splash-screen

热门文章

  1. Vector和ArrayList的比较
  2. 用Unity写一个12306验证器的恶搞图生成软件
  3. fushioncharts 使用教程要点---使用JSON数据方式
  4. 关于ASPXGridview的双击事件弹出 【转】
  5. OC calendar 实践中的那些坑
  6. Freemark基本语法知识(转)
  7. 7、provider: SQL 网络接口, error: 26 - 定位指定的服务器/实例时出错
  8. 第三个Sprint冲刺第八天
  9. Hibernate save, saveOrUpdate, persist, merge, update 区别
  10. seo查询命令