Scoll ListView under VMWare

Mar 20, 2009 at 12:43 PM
Edited Mar 20, 2009 at 12:47 PM


I’ve got aproblem with scrolling in ListView

Related code:

var rows =window.Get<ListView>(SearchCriteria.ByAutomationId("512")).Rows;

foreach (var row in rows)


var cells = row.Cells;

if (cells[4].Name == "3/6")





On my realmachine above works fine, but when I trying to launch this with within VMwarevirtual machine I’m getting exception when app trying to use scroll:

System.NullReferenceException:Object reference not set to an instance of an object.  

atCore.UIItems.Scrolling.VScrollBar.ScrollDownLarge() atd:\white-os\Core\UIItems\Scrolling\VScrollBar.cs:Line 28

 atCore.UIItems.Scrolling.ScreenItem.<MakeVisible>b__0() atd:\white-os\Core\UIItems\Scrolling\ScreenItem.cs:Line 27

 at Bricks.Core.Clock.RunWhile(DoAndNoReturndo, Condition condition, Expired expired) at D:\bricks\Bricks\Core\Clock.cs:Line53

  at Core.UIItems.Scrolling.ScreenItem.MakeVisible(VerticalSpanverticalSpan) at d:\white-os\Core\UIItems\Scrolling\ScreenItem.cs:Line 27

  atCore.UIItems.ListView.ActionPerforming(UIItem uiItem) atd:\white-os\Core\UIItems\ListView.cs:Line 166

  at Core.UIItems.ListViewRow.get_Cells() atd:\white-os\Core\UIItems\ListViewRow.cs:Line 35

Bothsystems are running under XP sp3 build 2600

Mar 20, 2009 at 12:44 PM
Edited Mar 20, 2009 at 12:48 PM