Knowledge Base

Knowledge Base
Subject: [Major Bug] Exception when moving cable
Status Resolved
Product WireCAD v8
Product Level PRO
Database Type SQL Server
Build Number (last 4 digits of version) 1374

Message

Customer
I don't know if this is the same exception but here is the exception output of visual studio:

System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"><TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/Unhandled</TraceIdentifier><Description>Unhandled exception</Description><AppDomain>WireCAD8.exe</AppDomain><Exception><ExceptionType>System.ArgumentOutOfRangeException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>Specified argument was out of the range of valid values.
Parameter name: vdArray:(index &amp;lt; 0 || index &amp;gt;= _size)</Message><StackTrace> at VectorDraw.Generics.vdArray`1.get_Item(Int32 index)
at VectorDraw.Professional.vdFigures.vdPolyline.MoveGripPointsAt(Int32Array Indexes, Double dx, Double dy, Double dz)
at VectorDraw.Professional.ActionUtilities.CmdMoveGripPoints.BreakDraw()
at VectorDraw.Actions.BaseAction.Draw()
at VectorDraw.Actions.BaseAction.MouseMove(MouseEventArgs e, gPoint cursorpos, gPoint orthoPoint)
at VectorDraw.Professional.vdPrimaries.vdLayout.MouseMoveImp(BaseAction Action, MouseEventArgs e, Boolean IsIdle)
at VectorDraw.Professional.vdPrimaries.vdLayout.MouseMove(Object sender, MouseEventArgs e)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message&amp;amp; m)
at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
at VectorDraw.Professional.Control.VectorDrawBaseControl.WndProc(Message&amp;amp; m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at VectorDraw.WinMessages.MessageManager.DispatchMessage(MSG&amp;amp; msg)
at VectorDraw.WinMessages.MessageManager.TranslateAndDispatchMessage(MSG&amp;amp; msg)
at VectorDraw.Actions.BaseAction.WaitToFinish()
at VectorDraw.Professional.Actions.ActionGripOn.MouseDown(MouseEventArgs e)
at VectorDraw.Professional.Actions.ActionManager.MouseDown(MouseEventArgs e)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message&amp;amp; m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
at VectorDraw.Professional.Control.VectorDrawBaseControl.WndProc(Message&amp;amp; m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at WireCAD.App.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at WireCAD.Program.Main(String[] args)</StackTrace><ExceptionString>System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: vdArray:(index &amp;lt; 0 || index &amp;gt;= _size)
at VectorDraw.Generics.vdArray`1.get_Item(Int32 index)
at VectorDraw.Professional.vdFigures.vdPolyline.MoveGripPointsAt(Int32Array Indexes, Double dx, Double dy, Double dz)
at VectorDraw.Professional.ActionUtilities.CmdMoveGripPoints.BreakDraw()
at VectorDraw.Actions.BaseAction.Draw()
at VectorDraw.Actions.BaseAction.MouseMove(MouseEventArgs e, gPoint cursorpos, gPoint orthoPoint)
at VectorDraw.Professional.vdPrimaries.vdLayout.MouseMoveImp(BaseAction Action, MouseEventArgs e, Boolean IsIdle)
at VectorDraw.Professional.vdPrimaries.vdLayout.MouseMove(Object sender, MouseEventArgs e)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message&amp;amp; m)
at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
at VectorDraw.Professional.Control.VectorDrawBaseControl.WndProc(Message&amp;amp; m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at VectorDraw.WinMessages.MessageManager.DispatchMessage(MSG&amp;amp; msg)
at VectorDraw.WinMessages.MessageManager.TranslateAndDispatchMessage(MSG&amp;amp; msg)
at VectorDraw.Actions.BaseAction.WaitToFinish()
at VectorDraw.Professional.Actions.ActionGripOn.MouseDown(MouseEventArgs e)
at VectorDraw.Professional.Actions.ActionManager.MouseDown(MouseEventArgs e)
at VectorDraw.Professional.Control.VectorDrawBaseControl.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message&amp;amp; m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)
at VectorDraw.Professional.Control.VectorDrawBaseControl.WndProc(Message&amp;amp; m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
at WireCAD.App.OnRun()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
at WireCAD.Program.Main(String[] args)</ExceptionString></Exception></TraceRecord>
The program '[6344] WireCAD8.exe' has exited with code -1 (0xffffffff).
29-March-2016 (06:14 AM)
This occurs when the cable is corrupt in the drawing. Redrawing the cable should fix it.
30-March-2016 (03:13 PM)
Support