Advertisement
Guest User

Untitled

a guest
Nov 24th, 2010
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.10 KB | None | 0 0
  1. System.Reflection.TargetInvocationException was unhandled
  2. Message="Exception has been thrown by the target of an invocation."
  3. Source="mscorlib"
  4. StackTrace:
  5. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
  6. at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
  7. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
  8. at System.Delegate.DynamicInvokeImpl(Object[] args)
  9. at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
  10. at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
  11. at System.Threading.ExecutionContext.runTryCode(Object userData)
  12. at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
  13. at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
  14. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  15. at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
  16. at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
  17. at System.Windows.Forms.Control.WndProc(Message& m)
  18. at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  19. at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  20. at System.Windows.Forms.Form.WndProc(Message& m)
  21. at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  22. at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  23. at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  24. at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
  25. at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
  26. at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  27. at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  28. at System.Windows.Forms.Application.Run(Form mainForm)
  29. at ClassMonitor.Program.Main() in C:\Users\Corey\Documents\Visual Studio 2008\Projects\ClassMonitor\WindowsFormsApplication1\Program.cs:line 13
  30. at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
  31. at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
  32. at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
  33. at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  34. at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  35. at System.Threading.ThreadHelper.ThreadStart()
  36. InnerException: System.ArgumentOutOfRangeException
  37. Message="InvalidArgument=Value of '-1' is not valid for 'index'.\r\nParameter name: index"
  38. Source="System.Windows.Forms"
  39. ParamName="index"
  40. StackTrace:
  41. at System.Windows.Forms.ComboBox.ObjectCollection.SetItemInternal(Int32 index, Object value)
  42. at System.Windows.Forms.ComboBox.ObjectCollection.set_Item(Int32 index, Object value)
  43. at ClassMonitor.MainForm.modifyCombo(ClassInfoHolder oldClass, ClassInfoHolder newClass) in C:\Users\Corey\Documents\Visual Studio 2008\Projects\ClassMonitor\WindowsFormsApplication1\MainForm.cs:line 249
  44. at ClassMonitor.MainForm.<>c__DisplayClass4.<monitorClass>b__0() in C:\Users\Corey\Documents\Visual Studio 2008\Projects\ClassMonitor\WindowsFormsApplication1\MainForm.cs:line 265
  45. InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement