Toad World® Forums

Error


#1

Hi
I’ve got following error when i tried to edit statement below.
[just moved cursor right(replicate(char( 0 ), 100 )+ string), -> Here

System.ArgumentOutOfRangeException
Wartość startIndex nie może być większa niż długość ciągu.
[translation : Value of startIndex can not be greater than length of string /
sequence]

Nazwa parametru: startIndex
Stack Trace:
w System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length,
Boolean fAlwaysCopy)
w Quest.Toad.Editor.CodeCompletionControl.treeList_GetNodeDisplayValue(Object
sender, GetNodeDisplayValueEventArgs e)

w

DevExpress.XtraTreeList.TreeList.RaiseGetNodeDisplayValue(GetNodeDisplayValueEventArgs
e)
w DevExpress.XtraTreeList.TreeList.InternalGetNodeValue(TreeListNode node,
TreeListColumn column)
w DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.UpdateCell(CellInfo cell,
TreeListColumn col, TreeListNode node)
w DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowCellsInfo(RowInfo ri,
ArrayList viewInfoList)
w DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowInfo(RowInfo ri,
ArrayList viewInfoList)
w
DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowGroupInfo(TreeListNodes
nodes, CalcRowGroupInfoArgs rowArgs)
w DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.BriefCalcRowsInfo()
w DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcRowsInfo()
w DevExpress.XtraTreeList.ViewInfo.TreeListViewInfo.CalcViewInfo()
w DevExpress.XtraTreeList.TreeList.UpdateLayout()
w DevExpress.XtraTreeList.TreeList.LayoutChanged()
w DevExpress.XtraTreeList.TreeList.EndUpdate()
w DevExpress.XtraTreeList.TreeList.EndSort()
w DevExpress.XtraTreeList.TreeList.EndUnboundLoad()
w Quest.Toad.Editor.CodeCompletionControl.request_ItemsAdded(Object sender,
AddItemsArgs args)


Butter

int_1.jpeg
int_1.jpeg


#2

Hi Motyl,

You know, sometimes Code Completion fails not because of sql script. It can be
related to different pre-conditions and so on. For this case I played a lot but
wasn’t able to reproduce this particular error.

I’m interested on how exactly you moved cursor.

Can you please try once again to reproduce this on your side? Will investigate
further if it reproduces by demand.

regards,

Alexander Maximov
int_1.jpeg


#3

Hi Motyl,
You know, sometimes Code Completion fails not because of sql script. It can be
related to different pre-conditions and so on. For this case I played a lot but
wasn’t able to reproduce this particular error.
I’m interested on how exactly you moved cursor.

Can you please try once again to reproduce this on your side? Will investigate
further if it reproduces by demand.
[…] ,.,__

I’ve tried, but I failed.
This kind of errors is very difficult to reproduce. I had got such case, when I
got such exception in statement ‘select 1’ :wink:


Butter