Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Exception while decreasing the records in the datasource

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
z00rg



Joined: 03 Jan 2006
Posts: 12

PostPosted: Fri Sep 15, 2006 3:47 pm    Post subject: Exception while decreasing the records in the datasource Reply with quote

Hi, i have a operation in which the number of records decrease while doing a filter operation on the recordset.

and i encountered this exception, could you help me with this, i am using the version 2.3.2

Paged system memory size: 293804
Peak paged memory size: 46391296
Peak virtual memory size: 238874624
Peak working set: 54431744
Private memory size: 46374912
Virtual memory size: 238874624
Working set: 54431744

*************** Exception Text ****************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayListEnumeratorSimple.MoveNext()
at Infralution.Controls.Widget.OnPaint(Graphics graphics)
at Infralution.Controls.VirtualTree.RowWidget.OnPaint(Graphics graphics)
at Agilent.DVS.SPT.SerialProtocolSuite.Widgets.RowWidget.OnPaint(Graphics graphics)
at Infralution.Controls.Widget.OnPaint(Graphics graphics)
at Infralution.Controls.WidgetControl.PaintWidgets(Graphics graphics, Rectangle clipRectangle)
at Infralution.Controls.WidgetControl.OnPaint(PaintEventArgs e)
at Infralution.Controls.VirtualTree.VirtualTree.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Infralution.Controls.BorderedControl.WndProc(Message& m)
at Infralution.Controls.VirtualTree.VirtualTree.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam): Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayListEnumeratorSimple.MoveNext()
at Infralution.Controls.Widget.OnPaint(Graphics graphics)
at Infralution.Controls.VirtualTree.RowWidget.OnPaint(Graphics graphics)
at Agilent.DVS.SPT.SerialProtocolSuite.Widgets.CustomRowWidget.OnPaint(Graphics graphics)
at Infralution.Controls.Widget.OnPaint(Graphics graphics)
at Infralution.Controls.WidgetControl.PaintWidgets(Graphics graphics, Rectangle clipRectangle)
at Infralution.Controls.WidgetControl.OnPaint(PaintEventArgs e)
at Infralution.Controls.VirtualTree.VirtualTree.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at Infralution.Controls.BorderedControl.WndProc(Message& m)
at Infralution.Controls.VirtualTree.VirtualTree.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Sep 18, 2006 6:44 am    Post subject: Reply with quote

You should definitely download the latest version (2.6.1) as I think this problem will be resolved.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
z00rg



Joined: 03 Jan 2006
Posts: 12

PostPosted: Mon Sep 18, 2006 2:49 pm    Post subject: Reply with quote

Thanks for the quick response..

Unfortunately i am too late to get the latest version of your software as i am near to the release date, and i dont want to take any new risk.

As i have your source code could you tell what changes in the code i need to to resolve this bug.

Thanks
Back to top
View user's profile Send private message
z00rg



Joined: 03 Jan 2006
Posts: 12

PostPosted: Mon Sep 18, 2006 7:54 pm    Post subject: Reply with quote

Thanks, i compared the Widget.cs and WidgetControl.cs with the your latest version of the code and figured out the patch need to fix this bug.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group