Toad World® Forums

List index out of bounds (-1) when trying to create a new connection after Toad 12.1 Install.

After Installing Toad 12.1 I get List index out of bounds (-1) when trying to create a new connection.

Stack info

EurekaLog 7.0.3.0

Application:


1.1 Start Date : Fri, 29 Jan 2016 11:43:25 +0600

1.2 Name/Description: Toad.exe - (Toad for Oracle)

1.3 Version Number : 12.1.0.22

1.4 Parameters :

1.6 Up Time : 3 minute(s), 0 second(s)

Exception:


2.1 Date : Fri, 29 Jan 2016 11:46:25 +0600

2.2 Address : 0436D72C

2.3 Module Name: Toad.exe - (Toad for Oracle)

2.5 Type : EStringListError

2.6 Message : List index out of bounds (-1).

2.7 ID : A0B50000

2.8 Count : 6

2.11 Sent : 0

Active Controls:


4.1 Form Class : TLoginEditForm

4.2 Form Text : Add Login Record

4.3 Control Class: TButton

4.4 Control Text : Test

Call Stack Information:


|Methods |Details|Stack |Address |Module |Offset |Unit |Class |Procedure/Method |Line|


|*Exception Thread: ID=13364; Parent=0; Priority=-2 |

|Class=; Name=MAIN |

|DeadLock=0; Wait Chain= |

|Comment= |

|-------------------------------------------------------------------------------------------------------------------------------------|

|7FFFFFFE|03 |00000000|0436D731|Toad.exe |001DD731|Vcl.StdCtrls |TCustomComboBoxStrings|GetObject | |

|00000040|03 |0048EACC|0434C977|Toad.exe |001BC977|Vcl.Controls |TControl |Click | |

|00000040|03 |0048EC10|04350D7F|Toad.exe |001C0D7F|Vcl.Controls |TWinControl |WndProc | |

|00000040|03 |0048EC5C|04370584|Toad.exe |001E0584|Vcl.StdCtrls |TButtonControl |WndProc | |

|00000040|03 |0048EC88|04350ECF|Toad.exe |001C0ECF|Vcl.Controls | |DoControlMsg | |

|00000040|03 |0048EDD4|04350D7F|Toad.exe |001C0D7F|Vcl.Controls |TWinControl |WndProc | |

|00000040|03 |0048EE20|043503D4|Toad.exe |001C03D4|Vcl.Controls |TWinControl |MainWndProc | |

|00000040|03 |0048EE50|04214050|Toad.exe |00084050|System.Classes| |StdWndProc | |

|00000040|03 |0048EE68|749462FA|USER32.dll |000162FA|USER32 | |(possible gapfnScSendMessage+818)| |

|00000040|03 |0048EE94|74946D35|USER32.dll |00016D35|USER32 | |(possible GetThreadDesktop+210) | |

|00000040|03 |0048EF0C|74946DE8|USER32.dll |00016DE8|USER32 | |(possible GetThreadDesktop+389) | |

|00000040|03 |0048EF6C|74946E4C|USER32.dll |00016E4C|USER32 | |(possible GetThreadDesktop+489) | |

|00000040|03 |0048EFA8|76F7010A|ntdll.dll |0001010A|ntdll | |KiUserCallbackDispatcher | |

|00000040|03 |0048F020|749496D0|USER32.dll |000196D0|USER32 | |SendMessageW | |

|00000040|03 |0048F044|728C45FB|comctl32.dll|000A45FB|comctl32 | |LoadIconMetric | |

|00000040|03 |0048F064|728C465E|comctl32.dll|000A465E|comctl32 | |LoadIconMetric | |

|00000040|03 |0048F080|728C44E8|comctl32.dll|000A44E8|comctl32 | |LoadIconMetric | |

|00000040|03 |0048F0E0|749462FA|USER32.dll |000162FA|USER32 | |(possible gapfnScSendMessage+818)| |

|00000040|03 |0048F10C|74946D35|USER32.dll |00016D35|USER32 | |(possible GetThreadDesktop+210) | |

|00000040|03 |0048F184|74950D32|USER32.dll |00020D32|USER32 | |(possible GetClientRect+192) | |

|00000040|03 |0048F1BC|74950D58|USER32.dll |00020D58|USER32 | |CallWindowProcW | |

|00000040|03 |0048F1DC|04350E7C|Toad.exe |001C0E7C|Vcl.Controls |TWinControl |DefaultHandler | |

|00000040|03 |0048F35C|04350D7F|Toad.exe |001C0D7F|Vcl.Controls |TWinControl |WndProc | |

|00000040|03 |0048F3A8|04370584|Toad.exe |001E0584|Vcl.StdCtrls |TButtonControl |WndProc | |

|00000040|03 |0048F3E8|04214050|Toad.exe |00084050|System.Classes| |StdWndProc | |

|00000040|03 |0048F400|749462FA|USER32.dll |000162FA|USER32 | |(possible gapfnScSendMessage+818)| |

|00000040|03 |0048F42C|74946D35|USER32.dll |00016D35|USER32 | |(possible GetThreadDesktop+210) | |

|00000040|03 |0048F4A4|749477CE|USER32.dll |000177CE|USER32 | |(possible CharPrevW+314) | |

|00000040|03 |0048F508|74947895|USER32.dll |00017895|USER32 | |DispatchMessageW | |

|00000040|03 |0048F518|044484AB|Toad.exe |002B84AB|Vcl.Forms |TApplication |ProcessMessage | |


I can’t reproduce, but it looks like you are in the “Add Login Record” dialog accessible from the login window and that you’re clicking the “Test” button, correct? Do you have any clients installed? Did Toad warn you that you need clients when it started? In the add login dialog is the Connect Using dropdown filled in or is it completely blank?

Yea that is correct. Clicking Test on the DB. I don’t have any installed. I was trying to connect to a remote client. It didn’t find any clients you’re correct. Let me try a reinstall or an oracle client. The add login drop down is completely blank.

An installed client is required per the documentation.

Cool installed the client and I am good. Thanks Michael!