Unable to get value of the property '2': object is null or undefined
来源:互联网 发布:河北工商学院知乎 编辑:程序博客网 时间:2024/05/16 12:26
在bingmap开发的过程中调用_bingLayer.clear();会报“Unable to get value of the property '2': object is null or undefined”错误,百思不得其解,后来测试发现,执行如下代码之后再调用clear()方法就会出现这样的问题。
_bingLayer.push(pin2);_bingLayer.push(pin2);
就是添加了两个同样的pushpin对象,在clear()时就会报错了,如果你的程序报这样的错,检查一下你代码的逻辑吧,不过这也算是bingmap的一个bug吧。
- Unable to get value of the property '2': object is null or undefined
- SharePoint 2013 Error - TypeError: Unable to get property 'replace' of undefined or null reference
- Cannot convert undefined or null to object
- nested exception is org.hibernate.PropertyAccessException: Null value was assigned to a property of
- How to get the 2D coordinate of the max or min value in matrix in matlab
- smarty局部缓存,报错 Notice: Undefined index: data Notice: Trying to get property of non-object
- Unable to find a value for "dwmc" in object of class "java.lang.String" using operator "." (null
- hibernate:Null value was assigned to a property of primitive
- 【hibernate】Null value was assigned to a property of primitive
- Null value was assigned to a property of primitive
- Null value was assigned to a property of primitive ...
- HibernateSystemException: Null value was assigned to a property of primitive ...
- Null value was assigned to a property of primitive
- How to get value of the person or group type via CAML Query js
- The value of the project attribute is null
- Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
- Notice: Trying to get property of non-object problem
- redis:Unable to validate object ;Could not get a resource from the pool;(error) MISCONF Redis is con
- 网站分析基础概念之进入页
- 配置 applicationContext.xml 是出现 Referenced file contains errors
- 请问@Override是什么意思
- VS2005 DEBUG 设置断点条件
- 网页矢量素材:33套精美的免费 Banner 素材下载
- Unable to get value of the property '2': object is null or undefined
- 数据模型在电商CRM中的应用&电商存量客户诊断实战帖
- Apache StringUtils 用法
- IOS UIView的淡入淡出效果
- 非常有用的免费UI设计工具和资源
- sqlite3中的数据类型
- MFC自绘控件与界面美化
- 加载CSS的四种方式以及CSS代码格式
- Win7系统IIS中配置PHP服务