[Mono-bugs] [Bug 378869] New: TreeView - Invalid setting used for Value when calling EndUpdate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 10 13:40:36 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=378869


           Summary: TreeView - Invalid setting used for Value when calling
                    EndUpdate
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jfoster at capsher.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer


I can't exactly duplicate this error, but on occasion when I call BeginUpdate
on a TreeView, clear its nodes, add a bunch of new nodes, then call EndUpdate,
I get the following exception:

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.ArgumentOutOfRangeException: '-25' is not a valid value for 'Value'.
'Value' should be between 'Minimum' and 'Maximum'
Parameter name: Value
  at System.Windows.Forms.ScrollBar.set_Value (Int32 value) [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.ScrollBar:set_Value (int)
  at System.Windows.Forms.TreeView.UpdateScrollBars (Boolean force) [0x00000] 
  at System.Windows.Forms.TreeView.EndUpdate () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.TreeView:EndUpdate ()
  at GView.Net.WorkPathtab.PopulateTreeWithGpathInfo (System.String
gpathOutput, Boolean cascadeUpdate) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] --- End of inner exception
stack trace ---

  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args)
[0x00000] 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] 
  at System.Windows.Forms.XplatUIDriverSupport.ExecutionCallback (System.Object
state) [0x00000] 
  at System.Security.SecurityContext.Run (System.Security.SecurityContext
securityContext, System.Threading.ContextCallback callBack, System.Object
state) [0x00000] 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext
executionContext, System.Threading.ContextCallback callBack, System.Object
state) [0x00000] 
  at System.Windows.Forms.XplatUIDriverSupport.ExecuteClientMessage (GCHandle
gchandle) [0x00000] 
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32
wFilterMax) [0x00000] 
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
[0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] 
  at GView.Net.FormGView.Main (System.String[] args) [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list