We are using QTP 9.2. And our appication is using Syncfusion.

Example scenario:
I need to interact with 2 windows but it is not required that they are open at the same time. When I run a script I goes smoothly at first, but when i close the first window (Window A), then open the second (window B) and interact with, then close window B, then open window A again and try to interact with the grids and tabs i get this error messages:

VBScript Line:
SwfWindow("Screen").SwfObject("tabControl").Select Page "Tab 1"

Error for the TABS:
System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.TestStudio.Tools.TabControlAdv.SelectPa ge(Object tab)

VBScript Line:
SwfWindow("Screen").SwfObject("Grid").SetCurrentCe ll var_RowID,Counter

Error for the CELLS in the GRID:
Cannot access a disposed object.
Object name: 'KeyEnabledGrid'.

Anyone has any idea why this is happening how to fix this?

Any help would be greatly appreciated.