DA for Delphi Error

Delphi XE2
DA Ver 6.0.61.1029
Win 7 pro 64bit

I have recently purchased DA for Delphi and my first impressions have not been rather disappointing, for a product that is not too cheap. The documentation is poor and for a new user, there does not seem to be much to help you getting started. I have also found that the product does not handle incorrect entries very well. If you make a mistake then you get a vague error, which does not guide you to the problem.

When I try and build a connection string I keep getting the error “object reference not set to an instance of an object” and I cannot go any further.

Please help

Hi.

Sorry to hear that, can you give more details about your problem, please?

  1. Does this happen in wizard for new DataAbstract application or in new version of Schema Modeller (DASchemaModeler7.exe)?
  2. What database driver and aux-driver you are using?

I have just installed DA as a trial and encountered exactly the same “object reference” problem with the build a connection string during the wizard. Using XE but alson on Win 7 64bit.

Error message is:

[224801A1]{dotnetcoreide150.bpl} ToolsAPIWrapper.TInteropWizard.Execute (Line 5472, “ToolsAPIWrapper.pas” + 0) + $9
[50040B5C]{rtl150.bpl } System.@CheckAutoResult (Line 28310, “System.pas” + 5) + $6
[224801A1]{dotnetcoreide150.bpl} ToolsAPIWrapper.TInteropWizard.Execute (Line 5472, “ToolsAPIWrapper.pas” + 0) + $9
[208CF3EB]{coreide150.bpl} Gallery.TGalleryExpert.SetIDString (Line 784, “Gallery.pas” + 14) + $45
[2078EBA2]{coreide150.bpl} GalleryTypes.TGalleryItem.DoSelect (Line 152, “GalleryTypes.pas” + 5) + $6
[208CAC3D]{coreide150.bpl} GalBrow.BrowseNewDialog (Line 208, “GalBrow.pas” + 24) + $7
[208CAB32]{coreide150.bpl} GalBrow.AddIcons (Line 167, “GalBrow.pas” + 17) + $1E
[208CF180]{coreide150.bpl} Gallery.LoadGallery (Line 662, “Gallery.pas” + 33) + $2F
[0041D40B]{bds.exe } Sanctuary.LicenseFileHelper.TLicenseFileHelper.GetHomeDir (Line 182, “Sanctuary.LicenseFileHelper.pas” + 2) + $4
[500AED6F]{rtl150.bpl } Classes.TBasicAction.Execute (Line 12988, “Classes.pas” + 3) + $7
[5026AA15]{vcl150.bpl } ActnList.TContainedAction.Execute (Line 448, “ActnList.pas” + 8) + $2C
[5026B7F0]{vcl150.bpl } ActnList.TCustomAction.Execute (Line 1094, “ActnList.pas” + 7) + $8
[500AEC33]{rtl150.bpl } Classes.TBasicActionLink.Execute (Line 12917, “Classes.pas” + 2) + $7
[21773505]{vclactnband150.bpl} ActnMenus.TCustomActionMenuBar.ExecAction (Line 1071, “ActnMenus.pas” + 6) + $D
[21774D5C]{vclactnband150.bpl} ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1837, “ActnMenus.pas” + 19) + $15
[21778386]{vclactnband150.bpl} ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3574, “ActnMenus.pas” + 5) + $3
[217730C9]{vclactnband150.bpl} ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 950, “ActnMenus.pas” + 3) + $4
[5027DF6C]{vcl150.bpl } Controls.TControl.WndProc (Line 7074, “Controls.pas” + 91) + $6
[50282830]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9831, “Controls.pas” + 144) + $6
[5027DB90]{vcl150.bpl } Controls.TControl.Perform (Line 6852, “Controls.pas” + 10) + $8
[50281FC8]{vcl150.bpl } Controls.GetControlAtPos (Line 9575, “Controls.pas” + 4) + $76
[502826F3]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9788, “Controls.pas” + 101) + $1D
[50282830]{vcl150.bpl } Controls.TWinControl.WndProc (Line 9831, “Controls.pas” + 144) + $6
[104ABC99]{cxLibraryRS15.bpl} Dxhooks. + $0
[21774E72]{vclactnband150.bpl} ActnMenus.TCustomActionMenuBar.WndProc (Line 1876, “ActnMenus.pas” + 25) + $4
[50281ED0]{vcl150.bpl } Controls.TWinControl.MainWndProc (Line 9552, “Controls.pas” + 3) + $6
[500AFA64]{rtl150.bpl } Classes.StdWndProc (Line 13491, “Classes.pas” + 8) + $0
[50278AA6]{vcl150.bpl } Controls.FindControl (Line 3378, “Controls.pas” + 6) + $9
[50358AF7]{vcl150.bpl } Forms.TApplication.ProcessMessage (Line 9760, “Forms.pas” + 23) + $1
[50358B3A]{vcl150.bpl } Forms.TApplication.HandleMessage (Line 9790, “Forms.pas” + 1) + $4
[50358E65]{vcl150.bpl } Forms.TApplication.Run (Line 9927, “Forms.pas” + 26) + $3

Regards,

Andy Gordon

Andy on what step in wizard you get this error? What database driver and aux driver you used?

Start Delphi XE from scratch, start the DA template wizard and select “Client and a New Data Abstract Server.” From the first Wizard page click the button “Build Connection String” and you end up with the object reference error.

I have now discovered that if I close the error and re-click “Build Connection String” it works OK. However, when I then see the wizard through to the end I then get:

[7590B9BC]{KERNELBASE.dll} RaiseException + $58
[50358AF7]{vcl150.bpl } Forms.TApplication.ProcessMessage (Line 9760, “Forms.pas” + 23) + $1
[50358B3A]{vcl150.bpl } Forms.TApplication.HandleMessage (Line 9790, “Forms.pas” + 1) + $4
[50358E65]{vcl150.bpl } Forms.TApplication.Run (Line 9927, “Forms.pas” + 26) + $3

Andy

I must start by saying i miss worded my first message I meant “my first impressions have been rather disappointing”

  1. Does this happen in wizard for new DataAbstract application or in new version of Schema Modeller (DASchemaModeler7.exe)?

Client and a New Data Abstract Server

  1. What database driver and aux-driver you are using?

I do not even get this far. Just starting to build connection. If I click OK on error, I cannot get back to the DA screen although it does show on taskbar

Another thing that may assist.

I did get the wizard to work the first time, but I was not too familair with some of the settings, so I deleted that project and tried to start a fresh project. I also had a save connection which I deleted. Ever since then I got this error and could not go any further.

I cannot get access to the wizard. I to close Delphi XE2 to get rid of the wizard

Hello,
We couldn’t reproduce this problem.
We use Win7 x64 + DXE2 Upd4 + DA 6.0.61
Can you make a video how to reproduce it and send link to us?

not sure how to make video

Hi.

You can use this free application http://www.techsmith.com/jing.html for this.

Made video but size is 4mb. Cannot upload too big. please advise.

Hi.

You can upload it on any file hosting or YouTube and give as a link.

Hello,
Please, can you test our custom DA version with logging and provide all log info? We will check and fix it.
We will send you our custom DA ver after your positive answer.