Bug in Lab2 (all)

Topics: CAB & Smart Client Software Factory
Aug 17, 2005 at 9:12 AM
originally posted by: YuriAstrakhan

There is a crashing bug in all of lab 2.

Steps to repro:
  • Run lab 2, ex 3, end
  • Click "accept customer"
  • Double click "Smith, Brad"
  • Close customer's card
  • Double click "Smith, Brad" again

Result: WorkspaceUtilities.ThrowIfNotSited() throws an exception.


> Microsoft.ApplicationBlocks.CompositeUI.WinForms.WorkspaceUtilities.ThrowIfNotSited(System.Windows.Forms.Control smartPart = {BankTellerModule.CustomerSummaryView}) Line 94 C#
Microsoft.ApplicationBlocks.CompositeUI.WinForms.WorkspaceUtilities.GetSmartPartControl(object smartPart = {BankTellerModule.CustomerSummaryView}) Line 49 + 0x7 bytes C#
Microsoft.ApplicationBlocks.CompositeUI.WinForms.MdiWorkspace.Show(object smartPart = {BankTellerModule.CustomerSummaryView}, Microsoft.ApplicationBlocks.CompositeUI.SmartParts.ISmartPartInfo smartPartInfo = null) Line 72 + 0x8 bytes C#
Microsoft.ApplicationBlocks.CompositeUI.WinForms.WindowWorkspace.Show(object smartPart = {BankTellerModule.CustomerSummaryView}) Line 98 + 0xf bytes C#
BankTellerModule.CustomerWorkItem.OnStatusChanged() Line 86 + 0xc bytes C#
Microsoft.ApplicationBlocks.CompositeUI.WorkItem.ChangeStatus(Microsoft.ApplicationBlocks.CompositeUI.WorkItemStatus newStatus = Active) Line 358 + 0xa bytes C#
Microsoft.ApplicationBlocks.CompositeUI.WorkItem.Activate() Line 203 + 0xc bytes C#
BankTellerModule.BankTellerWorkItem.WorkWithCustomer(BankTellerModule.Customer customer = {Smith, Brad}) Line 68 + 0x9 bytes C#
BankTellerModule.CustomerQueueController.WorkWithCustomer(BankTellerModule.Customer customer = {Smith, Brad}) Line 41 + 0x14 bytes C#
BankTellerModule.CustomerQueueView.listCustomers_SelectedIndexChanged(object sender = {SelectedItem = "Smith, Brad"}, System.EventArgs e = {System.EventArgs}) Line 57 + 0xf bytes C#
External Code
BankShell.Program.Main() Line 47 + 0x7 bytes C#
External Code
Aug 19, 2005 at 4:34 AM
originally posted by: BradWilsonMSFT

Thanks! We'll fix the labs before releasing them again.