Exception in TOraServerEnumerator.GetServerList with Invalid IFILE definition in tnsnames.ora

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Exception in TOraServerEnumerator.GetServerList with Invalid IFILE definition in tnsnames.ora

Post by jfudickar » Wed 26 Sep 2018 07:53

Hi,

a customer shows me the following error, which is easy to reproduce.
When you include an invalid IFILE definition in the tnsnames.ora (files or folder not valid)
IFILE=Q:\ORANT\NET80\ADMIN\VKD\tnsnames.ora
IFILE=Q:\ORANT\NET80\ADMIN\EDWH\tnsnames.ora

the following exception is raised then the GetServerList function is used:

Code: Select all

exception number   : 1
exception class    : EStringListError
exception message  : List index out of bounds (4596).

main thread ($2440):
00535494 +018 OraToolStatementRepository.exe System.Classes                            TStringList.Get
011ee842 +196 OraToolStatementRepository.exe OraServices                               TOraServerEnumerator.GetServerList
01795999 +03d OraToolStatementRepository.exe JvDBLogonDialogOdac               275  +4 TJvDBOdacLogonDialog.FillDatabaseComboBoxValues
Can this be fixed?

Regards
Jens

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Exception in TOraServerEnumerator.GetServerList with Invalid IFILE definition in tnsnames.ora

Post by MaximG » Thu 27 Sep 2018 16:28

Thank you for the information. We have reproduced the issue and will investigate its origin. We will inform you about the results shortly.

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Re: Exception in TOraServerEnumerator.GetServerList with Invalid IFILE definition in tnsnames.ora

Post by jfudickar » Tue 16 Oct 2018 18:03

Hi Maxim,
did you have any news about this issue?
Regards
Jens

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Exception in TOraServerEnumerator.GetServerList with Invalid IFILE definition in tnsnames.ora

Post by MaximG » Wed 17 Oct 2018 05:43

Currently, we are busy with fixing the error. We will notify you about the results after the work is finished.

Post Reply