Toad World® Forums

Toad DP 3.5 error pulling column names in Editor query

This happens every time I use 3.5.

I put in the table name and go back to the select to add the columns and get an error when I type the table name and period. It brings up the list of column names and when I type the first letter of the column name the error happens:

Index and length must refer to a location within the string.
Parameter name: length
Stack Trace:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at System.String.Substring(Int32 startIndex, Int32 length)
at Quest.Toad.Editor.CodeCompletionControl.treeList_CustomDrawNodeCell(Object sender, CustomDrawNodeCellEventArgs e)
at DevExpress.XtraTreeList.TreeList.RaiseCustomDrawNodeCell(CustomDrawNodeCellEventArgs e)
at DevExpress.XtraTreeList.Painter.TreeListPainter.DrawCell(CellInfo cell)
at DevExpress.XtraTreeList.Painter.TreeListPainter.DrawCells(RowInfo ri)
at DevExpress.XtraTreeList.Painter.TreeListPainter.DrawRow(TreeListDrawInfo e, RowInfo ri)
at DevExpress.XtraTreeList.Painter.TreeListPainter.DrawRows()
at DevExpress.XtraTreeList.Painter.TreeListPainter.DoDraw(TreeListViewInfo viewInfo, DXPaintEventArgs e)
at DevExpress.XtraTreeList.TreeList.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at DevExpress.XtraTreeList.TreeList.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

After that, it always brings up the box with the big red X in it.

Back to using DP 3.2


This did not come up in our testing. I entered TSS-2647. The issue is being caused by something in your list of objects that are displayed for code completion. we may need to get more info but I will let a developer respond.

Has there been a resolution for this? It happens so repeatedly for me that the auto-complete feature is unusable.

To smurphy:

Thank you for posting in Toad World! I was able to locate your issue as TSS-483. It appears to be ready for Toad Data Point 3.6.

We encourage you to try our latest Beta to verify that it has been successfully resolved for you! The latest information about the beta can be retrieved here:

Software Associate Developer I,
-Joshua Liong