Jump to content
Edwin Yip

"duplicates not allowed" error when opening a project

Recommended Posts

Hello, I don't remember since exactly when, but about a few weeks ago my XE4 IDE complains about "duplicates not allowed" when opening a project.

Here is the call stack caught by madExcept. It seems has something to do with the Interbase DBX driver which I don't use at all and I can disable it, if anybody kindly tells  me how.

 

Any hints would be appreciated!

 

Call stack

===

operating system   : Windows 7 x64 Service Pack 1 build 7601
system up time     : 20 hours 57 minutes
program up time    : 15 minutes 43 seconds
processors         : 4x Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
physical memory    : 1497/7888 MB (free/total)
free disk space    : (C:) 50.49 GB (F:) 1.66 GB
display mode       : 1920x1080, 32 bit
allocated memory   : 306.80 MB
largest free block : 116.06 MB
version            : 18.0.4905.60485
compiled with      : Delphi XE4
madExcept version  : 4.0.19
callstack crc      : $c606e1f1, $46f22a97, $9846ea67
exception number   : 5
exception class    : EListError
exception message  : Duplicates not allowed.

main thread ($1b08):
07b089fa +046 DbxCommonDriver180.bpl          System.Generics.Collections    1764   +7 Data.DBXClassRegistry.{System.Generics.Collections}TDictionary<System.string,System.TClass>.Add
07c00586 +032 DbxCommonDriver180.bpl          Data.DBXMetaDataWriterFactory    66   +1 TDBXMetaDataWriterFactory.RegisterWriter
06fbd175 +019 DBXInterBaseDriver180.bpl       Data.DbxInterBaseMetaData        23   +1 Data.DBXInterbaseMetaData
50060476 +042 rtl180.bpl                      System                        20618  +18 InitUnits
500604e6 +046 rtl180.bpl                      System                        20643   +8 @PackageLoad
29111425 +005 DataExplorerDBXPluginInt180.bpl SysInit                         898   +0 @PackageLoad
5009ee43 +03b rtl180.bpl                      System.SysUtils               23373   +4 InitializePackage
59859a2f +01b madExcept_.bpl                  madExcept                                InterceptInitializePackage
5009ef9b +083 rtl180.bpl                      System.SysUtils               23424  +18 LoadPackage
204c1e78 +008 coreide180.bpl                  PakLoad                         146   +0 TPackage.DoLoadPackage
204c1fed +055 coreide180.bpl                  PakLoad                         220   +7 TPackage.Load
204c4941 +061 coreide180.bpl                  PakMgr                          591   +2 TDesignPackage.Load
21c99b07 +05b delphicoreide180.bpl            PasCppPakMgr                   2292   +4 TIDEDesignPackage.Load
5005f2a9 +01d rtl180.bpl                      System                        16534   +2 @AfterConstruction
21c9991b +06b delphicoreide180.bpl            PasCppPakMgr                   2217  +11 TIDEDesignPackage.DelayLoad
21c93f82 +09e delphicoreide180.bpl            PasCppPakMgr                    463  +10 LoadDesignPackage
21c94275 +215 delphicoreide180.bpl            PasCppPakMgr                    534  +52 LoadProjectPackages
21d7f22b +167 delphicoreide180.bpl            BasePasProjOpts                1544  +22 TProjOptsManager.DoLoadPackages
21d8001c +000 delphicoreide180.bpl            BasePasProjOpts                1779   +0 TProjOptsManager.LoadPackages
21d81030 +008 delphicoreide180.bpl            BasePasProjOpts                2353   +1 TProjectOptions.LoadPackages
21ccd845 +17d delphicoreide180.bpl            BaseDelphiProject              2787  +21 TDelphiProjectModuleHandler.Create
21ccc6b5 +009 delphicoreide180.bpl            BaseDelphiProject              2415   +0 TBaseDelphiProject.InstallModuleHandlers
223c46e9 +005 delphide180.bpl                 DelphiProject                    91   +1 TDelphiProject.InstallModuleHandlers
21cc3c41 +299 delphicoreide180.bpl            BaseDelphiProject               767  +49 TBaseDelphiProject.Create
223c5236 +04e delphide180.bpl                 DelphiProject                   267   +5 TDelphiProjectCreationTrait.OpenMSBProject
206df09d +181 coreide180.bpl                  ProjectFileUtils                701  +22 MSBuildLoadProjectFile
21cd629e +01e delphicoreide180.bpl            BaseDelphiProject              4957   +3 TDelphiProjectFileModuleHandler.FileOpen
2086c99e +016 coreide180.bpl                  DocModul                       3220   +0 TFileOpenHandler.FileOpen
208676d4 +130 coreide180.bpl                  DocModul                        801  +36 TFilterList.OpenFile
2086b703 +03b coreide180.bpl                  DocModul                       2622   +3 CallDefaultOpenProc
205abf0f +22f coreide180.bpl                  ProjectGroup                   1495  +28 TProjectGroup.Create.@label
205a9a17 +0d3 coreide180.bpl                  ProjectGroup                    820  +11 TProjectGroup.Create
205a8739 +09d coreide180.bpl                  ProjectGroup                    484   +6 LoadMSBProjectGroup
205b3dad +035 coreide180.bpl                  ProjectGroup                   3872   +5 TMSBuildProjectGroupFileOpenHandler.FileOpen
208676d4 +130 coreide180.bpl                  DocModul                        801  +36 TFilterList.OpenFile
2086b703 +03b coreide180.bpl                  DocModul                       2622   +3 CallDefaultOpenProc
50214247 +b23 rtl180.bpl                      System.ObjAuto                  789 +258 ObjectInvoke
50215cb9 +1fd rtl180.bpl                      System.Win.ObjComAuto           290  +41 TObjectDispatch.Invoke
76187bc5 +00a USER32.dll                                                               DispatchMessageA
50580e8f +0fb vcl180.bpl                      Vcl.Forms                     10290  +25 TApplication.ProcessMessage
50580eca +00a vcl180.bpl                      Vcl.Forms                     10318   +1 TApplication.HandleMessage
50581205 +0c9 vcl180.bpl                      Vcl.Forms                     10456  +26 TApplication.Run
764b343b +010 kernel32.dll                                                             BaseThreadInitThunk

 

Share this post


Link to post
4 minutes ago, dummzeuch said:

Have you tried deleting / renaming DBXInterBaseDriver180.bpl ?

Hi Thomas, no, I didn't.

 

Update 1: Sorry, did you suggesting a solution I should try or did you mean that might be what caused the issue?

Edited by edwinyzh

Share this post


Link to post

you have duplicate entries in your dbxconnections.ini, possibly

Edited by Attila Kovacs

Share this post


Link to post
8 hours ago, dummzeuch said:

I suggested a solution to disable the interbase driver.

That solved the problem, thanks Thomas!

Share this post


Link to post
4 hours ago, Attila Kovacs said:

you have duplicate entries in your dbxconnections.ini, possibly

Not sure, I don't use dbx all all, and I couldn't think of any recent operations of me to the IDE that might case the change of that file.

I disabled the .bpl file as suggested by Thomas and the problem seems to have been solved. Thanks.

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×