Windows Phone中图片SetSource遇到The component cannot be found. (Exception from HRESULT: 0x88982F50)
来源:互联网 发布:淘宝企业店铺多少钱 编辑:程序博客网 时间:2024/05/17 06:45
随着应用下载量的不断增多,有越来越多的用户反馈头像无法正常显示,报了上面那个错误,根据提示组件无法找到,起初以为是操作系统版本或者机器型号不同造成的某些组件不一样造成的,后来我在偶然的情况下发现原来是某些帐号登陆的时候有问题,比如说未进行身份验证,可是我的程序是按照正确的模式进行的(即检测登陆正常,就获取Token去进行获取用户信息,未考虑其它可能的情况),当他们的帐号登陆时,可以正常登陆,可是跳转的页面是身份验证的页面,那个地方可没有Token让我正则,于是获取头像的时候Token那栏为空,自然也不知道请求到一个什么乱七八糟的东西,还保存为jpg格式,在读取的时候,BitmapImage的SetSource自然也不认得这个自称图片的家伙,就报了错。
因此如果碰到了类似的问题,建议大家试一下检查如下情况:
1.图片的请求地址是否正确。
2.请求的图片是否还存在。
希望有所帮助,谢谢
0 0
- Windows Phone中图片SetSource遇到The component cannot be found. (Exception from HRESULT: 0x88982F50)
- The specified moduld could not be found.(Exception from HRESULT:0X8007007E
- [转]The specified module could not be found. (Exception from HRESULT: 0x8007007E)
- The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
- Exception from HRESULT: 0x800A03EC
- Exception from HRESULT: 0x80131904
- Exception from HRESULT: 0x800A03EC
- Exception from HRESULT: 0x80041FE2
- Unity3d_can't add the script component "" because the script class cannot be found
- The page cannot be found
- Windows Phone中Json Serialization遇到security exception
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误
- 严重: Servlet.service() for servlet jsp threw exception The Struts dispatcher cannot be found.
- 严重: Servlet.service() for servlet jsp threw exception The Struts dispatcher cannot be found.
- Servlet.service() for servlet jsp threw exception The Struts dispatcher cannot be found.
- party-bid第二张卡 小结
- XproerIM2更新-2011-6-12
- Selenium 捕获Alert
- 斯坦福大学IOS开发课程笔记(第七课第一部分)
- ART与Dalvik哪个好 ART模式和Dalvik模式区别对比
- Windows Phone中图片SetSource遇到The component cannot be found. (Exception from HRESULT: 0x88982F50)
- iOS开发笔记--将视图或者按钮设置为圆形
- Leetcode - Tree /Dynamic Programming- Unique Binary Search
- 用Xshell连接服务器时,VIM的数字键使用问题
- VMware克隆虚拟机后再新增1块网卡,双网卡机器网卡无法启动解决办法
- 斯坦福大学IOS开发课程笔记(第七课第二部分)
- java构造方法
- 【持续更新】opencv sample分类
- 工作分配