Hi Dev-Team,

after using changing from M1 to the current trunk, we get an IndexOutOfBoundsException when adding a Model to a BaseTreeModel. The last change in rev 1442 of TreeStore regarding line 507 (add(parent, child, false); to insert(parent, child, ce.getIndex(), false); ) dosnt work. Any ideas for that?

Regards,
Mark

[ERROR] Uncaught exception escaped
java.lang.IndexOutOfBoundsException: Index: 3, Size: 0
at java.util.ArrayList.add(Unknown Source)
at com.extjs.gxt.ui.client.data.BaseTreeModel.insert(BaseTreeModel.java:117)
at com.extjs.gxt.ui.client.store.TreeStore.doInsert(TreeStore.java:552)
at com.extjs.gxt.ui.client.store.TreeStore.insert(TreeStore.java:345)
at com.extjs.gxt.ui.client.store.TreeStore.insert(TreeStore.java:359)
at com.extjs.gxt.ui.client.store.TreeStore.onModelChange(TreeStore.java:507)
at com.extjs.gxt.ui.client.store.Store$1.modelChanged(Store.java:480)
at com.extjs.gxt.ui.client.data.ChangeEventSupport.notify(ChangeEventSupport.java:33)
at com.extjs.gxt.ui.client.data.BaseModel.notify(BaseModel.java:103)
at com.bearingpoint.davinci.frontend.gwt.client.mvc.model.BaseDaVinciTreeModel.notify(BaseDaVinciTreeModel.java:149)
at com.bearingpoint.davinci.frontend.gwt.client.mvc.model.BaseDaVinciTreeModel.insert(BaseDaVinciTreeModel.java:128)
at com.bearingpoint.davinci.frontend.gwt.client.mvc.model.BaseDaVinciTreeModel.add(BaseDaVinciTreeModel.java:64)