acidburn0zzz / flexlib

Automatically exported from code.google.com/p/flexlib
MIT License
2 stars 0 forks source link

RangeError when removing nodes #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sometimes when i remove nodes() I have this error

What is the expected output? What do you see instead?
I expect no error. 
My code doesnt throw any error but the component itself throws this 
exception 

RangeError: Index '2' specified is out of bounds.
    at mx.collections::ListCollectionView/getItemAt()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\collections\ListCollectionView.as:47
9]
    at 
mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/f
lash/proxy::getProperty()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\collections\ListCollectionView.as:69
3]
    at 
flexlib.controls::TreeGrid/flexlib.controls:TreeGrid::getItemDepth()
[C:\Documents and 
Settings\ebernal\workspace\flexlib\src\flexlib\controls\TreeGrid.as:523]
    at 
flexlib.controls::TreeGrid/flexlib.controls:TreeGrid::initListData()
[C:\Documents and 
Settings\ebernal\workspace\flexlib\src\flexlib\controls\TreeGrid.as:446]
    at 
flexlib.controls::TreeGrid/flexlib.controls:TreeGrid::makeListData()
[C:\Documents and 
Settings\ebernal\workspace\flexlib\src\flexlib\controls\TreeGrid.as:426]
    at 
mx.controls.dataGridClasses::DataGridBase/mx.controls.dataGridClasses:DataG
ridBase::makeRowsAndColumns()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\dataGridClasses\DataGridBas
e.as:646]
    at mx.controls::DataGrid/mx.controls:DataGrid::makeRowsAndColumns()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1293]
    at 
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::updateD
isplayList()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\listClasses\ListBase.as:295
5]
    at mx.controls::DataGrid/mx.controls:DataGrid::updateDisplayList()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\controls\DataGrid.as:1208]
    at mx.core::UIComponent/validateDisplayList()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:5760]
    at 
mx.managers::LayoutManager/mx.managers:LayoutManager::validateDisplayList()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:600]
    at 
mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation
()[C:\dev\flex_201_gmc\sdk\frameworks\mx\managers\LayoutManager.as:673]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7909]
    at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()
[C:\dev\flex_201_gmc\sdk\frameworks\mx\core\UIComponent.as:7852]

What version of the product are you using? On what operating system?
flex2, flexlib1.8

Please provide any additional information below.
  We look forward to use this control for a big projet. Delevery date is 
very soon (few weeks). 
  Should we you consider this component ready for using in a production 
environements??

Original issue reported on code.google.com by eber...@hralloy.com on 8 Jun 2007 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by dmcc...@gmail.com on 30 Jun 2007 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by dmcc...@gmail.com on 26 Dec 2007 at 7:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have the same problem.. :(

Original comment by luan.iba...@gmail.com on 12 Jul 2010 at 10:15