Error When Trying to Create a Variable
Fast Report 5 has worked fine for years, but recently I have been getting an error when selecting Variables from the Report menu.
This is followed by 5 AVs with a RAD Studio BPL:
This is with RAD Studio 10.2.3 and Fast Report 5.6.17.
I thought something must have been corrupted so I have tried uninstalling and reinstalling RAD Studio and Fast Report (a few times) but the problem persists.
This is the details from the error window:
[2B52BD53]{frx25.bpl } Frxdatatree.TfrxDataTreeForm.GetCollapsedNodes + $2F
[5016CABD]{rtl250.bpl } System.Classes.TComponent.ValidateRename (Line 16337, "System.Classes.pas" + 4) + $3
[50C27DF2]{vcl250.bpl } Vcl.Forms.TCustomForm.ValidateRename (Line 4332, "Vcl.Forms.pas" + 1) + $A
[5016D277]{rtl250.bpl } System.Classes.TComponent.SetName (Line 16428, "System.Classes.pas" + 7) + $3
[5015F847]{rtl250.bpl } System.Classes.TReader.ReadStr (Line 11106, "System.Classes.pas" + 4) + $35
[50AE3109]{vcl250.bpl } Vcl.Controls.TControl.SetName (Line 6097, "Vcl.Controls.pas" + 5) + $5
[5015F39A]{rtl250.bpl } System.Classes.TReader.ReadRootComponent (Line 10994, "System.Classes.pas" + 23) + $5
[5015A7EF]{rtl250.bpl } System.Classes.TFiler.Create (Line 9420, "System.Classes.pas" + 5) + $10
[50158C96]{rtl250.bpl } System.Classes.TStream.ReadComponent (Line 8529, "System.Classes.pas" + 3) + $D
[5014FBF7]{rtl250.bpl } System.Classes.InternalReadComponentRes (Line 4228, "System.Classes.pas" + 7) + $D
[50151357]{rtl250.bpl } System.Classes.InitComponent (Line 4289, "System.Classes.pas" + 6) + $1
[501513E5]{rtl250.bpl } System.Classes.InitInheritedComponent (Line 4299, "System.Classes.pas" + 6) + $10
[50C2699E]{vcl250.bpl } Vcl.Forms.TCustomForm.Create (Line 3642, "Vcl.Forms.pas" + 18) + $9
[2B52AB78]{frx25.bpl } Frxdatatree.TfrxDataTreeForm + $38
[2B55453A]{frx25.bpl } Frxeditvar.TfrxVarEditorForm.FormCreate + $CA
[50C26EAD]{vcl250.bpl } Vcl.Forms.TCustomForm.DoCreate (Line 3788, "Vcl.Forms.pas" + 3) + $C
[50C26A1D]{vcl250.bpl } Vcl.Forms.TCustomForm.Create (Line 3651, "Vcl.Forms.pas" + 27) + $5
[50C90CDE]{vcl250.bpl } Vcl.AppEvnts.TMultiCaster.DoActionExecute (Line 395, "Vcl.AppEvnts.pas" + 9) + $3
[2B572BE6]{frx25.bpl } Frxdesgn.TfrxDesignerForm.VariablesCmdExecute + $1A
[5016DE67]{rtl250.bpl } System.Classes.TBasicAction.Execute (Line 16904, "System.Classes.pas" + 6) + $1
[50ACDD82]{vcl250.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35
[5016DCD3]{rtl250.bpl } System.Classes.TBasicActionLink.Execute (Line 16813, "System.Classes.pas" + 3) + $3
[50C155B7]{vcl250.bpl } Vcl.Menus.TMenuItem.Click (Line 2539, "Vcl.Menus.pas" + 17) + $7
[50C16D18]{vcl250.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3482, "Vcl.Menus.pas" + 5) + $4
[50C2B7BC]{vcl250.bpl } Vcl.Forms.TCustomForm.WMCommand (Line 6402, "Vcl.Forms.pas" + 5) + $19
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[1115F47E]{CnWizards_D102T.dll} Unknown function at __dbk_fcall_wrapper + $5D766
[102EC0C9]{GExpertsRS102.dll} Unknown function at __dbk_fcall_wrapper + $3A5A5
[50AE9843]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10209, "Vcl.Controls.pas" + 166) + $6
[50C28469]{vcl250.bpl } Vcl.Forms.TCustomForm.WndProc (Line 4572, "Vcl.Forms.pas" + 209) + $5
[50AE8E10]{vcl250.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[50063E0C]{rtl250.bpl } System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
[50063F30]{rtl250.bpl } System.@FinalizeArray (Line 32142, "System.pas" + 127) + $0
[50063F40]{rtl250.bpl } System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
[50063E0C]{rtl250.bpl } System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C2D21E]{vcl250.bpl } Vcl.Forms.TCustomForm.ShowModal (Line 7393, "Vcl.Forms.pas" + 33) + $5
[2B4FCFD9]{frx25.bpl } Frxclass.TfrxReport.DesignReport + $DD
[28D7285F]{dclfrx25.bpl} frxReg.TfrxReportEditor.ExecuteVerb (Line 142, "frxReg.pas" + 35) + $14
[525DEE1A]{vcldesigner250.bpl} VCLSurface.TVclDesignSurface.ComponentVerb (Line 2847, "VCLSurface.pas" + 3) + $B
[50C155CE]{vcl250.bpl } Vcl.Menus.TMenuItem.Click (Line 2541, "Vcl.Menus.pas" + 19) + $8
[50C16D18]{vcl250.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3482, "Vcl.Menus.pas" + 5) + $4
[50C17FAA]{vcl250.bpl } Vcl.Menus.TPopupList.WndProc (Line 4655, "Vcl.Menus.pas" + 4) + $E
[50C17EF9]{vcl250.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4630, "Vcl.Menus.pas" + 2) + $5
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[50063E0C]{rtl250.bpl } System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
[50063F30]{rtl250.bpl } System.@FinalizeArray (Line 32142, "System.pas" + 127) + $0
[50063F40]{rtl250.bpl } System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
[50063E0C]{rtl250.bpl } System.@FinalizeRecord (Line 31861, "System.pas" + 25) + $0
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C32195]{vcl250.bpl } Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
[0050BAB2]{bds.exe } bds.bds (Line 214, "" + 7) + $7
Thanks,
Steve
Comments
Try to use latest FR 5.6.18
Thanks, I installed the latest version as you suggested but I still get the error. I'm assuming there is something wrong with the environment. I'm not sure how to fix it though.
Steve
Here's a video of the error messages: https://www.stevegill.com.au/video/FastReports5/FR5FastReportsErrorMessages.html
I also tried cleaning the Windows registry but no luck.
Steve
Try to recompile all FR's packages by recompile.exe
Thanks for the suggestion. I already did that a few times but still get the error. It really makes no sense.
Steve
Try to test latest FR 6.9.6
I did try FR 6.9.6 but had some issues with it.
Anyway, it seems to be resolved now.
I uninstalled FR5, deleted the registry settings, reinstalled FR5, but still got the errors. I deleted all DCUs and recompiled everything but still got errors.
I then deleted the form and unit the FR5 components were on and recreated the form. No more errors. So it seems as though the form may have somehow been corrupted.
Thanks for all of the suggestions and assistance.
= Steve
Looks like I spoke to soon. It worked for a little while and now the errors are back again.
= Steve