当前位置:首页 > 开发 > Web前端 > 前端 > 正文

Property null not found

发表于: 2012-08-13   作者:darrenzhu   来源:转载   浏览:
摘要: When you got error message like "Property null not found ***", try to fix it by the following way: 1)if you are using AdvancedDatagrid, make sure you only update the data in the data prov
When you got error message like "Property null not found ***", try to fix it by the following way:

1)if you are using AdvancedDatagrid, make sure you only update the data in the data provider instead of setting a new reference to data provider each time.
right way:
(dgPortfolioViewer.dataProvider as ArrayCollection).removeAll();
(dgPortfolioViewer.dataProvider as ArrayCollection).addAll(value);

wrong way:
dgPortfolioViewer.dataProvider=oldData;
dgPortfolioViewer.dataProvider=newData;

2) make sure the propery name in datafield is existed in your object

Property null not found

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

编辑推荐
问题提出: 在使用MyEclipse开发Java Web时,调用DAO和Java Bean出现了如下错误: 严重: Servlet.se
异常: 我的查询方法: 对应的vo类[img] 数据库 解决bug:查出的数据supervisionState是null,查询结
org.hibernate.PropertyValueException: not-null property references a null or transient value a
现象: Data Tables在IE上使用时报异常Error Unable to get value of the property 'style' object i
问题描述: 如图所示: 当我在第2页编辑学号为11的学生后,修改学生的信息,然后保存。处理过程如下
先来一个例子: view的 invalidate 和 requestLayout方法是不一样的, invalidate ValueAnimator va
原文: http://blog.csdn.net/jackiezhw/archive/2007/05/30/1631846.aspx 在使用RMI编程的时候,有
file:///Users/baidu/android-sdk/docs/guide/topics/graphics/index.html Animation and Graphics
http://www.360doc.com/content/10/0329/09/1014216_20687179.shtml 大家应该都知道@代表“Objectiv
3.0以前,android支持两种动画模式,tween animation,frame animation,在android3.0中又引入了一个
版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号