Toad World® Forums

Exception when typing syntax errors into the editor


#1

Toad Beta build 5.0.0.414.

Sometimes when typing in the editor, usually (maybe always) when my typing is at
some intermediate state with syntax or other errors, I get a pop-up window with
the following: (I just clear it and continue and things work fine.)

System.ArgumentOutOfRangeException
startIndex cannot be larger than length of string.
Parameter name: startIndex
Stack Trace:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length,
Boolean fAlwaysCopy)
at Quest.Toad.CodeInsight.BaseDialect.GetInsight(IConnection connection,
IParsable piece, ChunkInsight chunkInsight, Int32 offset, List1 tokens, Int32& position, Int32 lastToken, BlockInsight endBlock, String defaultSchema, Boolean filtering, Hashtable extraContext, ObjectInsight objectInsight) at Quest.Toad.CodeInsight.BaseDialect.GetInsight(IConnection connection, IParsable piece, ChunkInsight chunkInsight, Int32 offset, List1 tokens, Int32&
position, Int32 lastToken, BlockInsight endBlock, String defaultSchema, Boolean
filtering, Hashtable extraContext, ObjectInsight objectInsight)
at Quest.Toad.CodeInsight.BaseDialect.GetInsight(IConnection connection,
IParsable piece, ChunkInsight chunkInsight, Int32 offset, List`1 tokens, Int32&
position, Int32 lastToken, BlockInsight endBlock, String defaultSchema, Boolean
filtering, Hashtable extraContext, ObjectInsight objectInsight)
at Quest.Toad.CodeInsight.BaseDialect.GetInsight(IConnection connection, Chunk
chunk, Int32 offset, String defaultSchema, Int32& startOffset, Boolean&
hasSecondary, Boolean filtering, Boolean secondary, HotTokenInsight hotToken)
at
Quest.Toad.Editor.Commands.InvokeMemberListCommand.FetchMemberListItems(Object
editorText)


#2

It is a known issue in the latest beta and we’re working to eliminate it.

Thanks for reporting,

Igor.