I am currently migrating from ExtJs 4.0 to 4.1.
I am facing a typical problem which is due to this line:
dockedItems = this.getComponentLayout().getDockedItems('render', beforeBody);

In my code I have many instances of 'dockItems = grid.getDockedItems('toolbar[dock=top]'); '

I realize that there is a previous thread in the forum as well but since I could not find the answer to it I am again asking here so that anyone who has solved it could be of help.

Thanks in advance.