Getting "argument out of range" in designer after switching to XE8 from XE7

  

When working with the XE8 IDE, I get same “argument out of range” error.

After more investigation, I have narrowed the problem to Forms that have the style loaded in designer. This style is in a stylebook an my mainform.
The mainform does not have these errors.

The form can be empty, when loading the style, it gives an abstract error.

[500D5C7B]{rtl220.bpl } System.Generics.Collections.TListHelper.InternalDoDelete4 (Line 2874, “System.Generics.Collections.pas” + 1) + $19
[5016090C]{rtl220.bpl } System.Classes.GlobalFixupReferences (Line 8999, “System.Classes.pas” + 34) + $7
[50163753]{rtl220.bpl } System.Classes.TReader.ReadRootComponent (Line 10434, “System.Classes.pas” + 53) + $0
[086C1B65]{fmxdesigner220.bpl} FmxFormDesigner.TFmxRootDesigner.GetPreviewFromMaster (Line 1287, “FmxFormDesigner.pas” + 30) + $C
[210DA102]{designide220.bpl} ComponentDesigner.TComponentRoot.GetViewPreview (Line 5792, “ComponentDesigner.pas” + 10) + $9
[0D185B16]{MultidevicePreview220.bpl} DesignPreviewCommon.TPrevViewDevice.GenerateViewPreview (Line 614, “DesignPreviewCommon.pas” + 8) + $A
[0D1854C8]{MultidevicePreview220.bpl} DesignPreviewCommon.TPrevViewDevice.Thumbnail (Line 429, “DesignPreviewCommon.pas” + 8) + $3
[0D18E82A]{MultidevicePreview220.bpl} DesignPreviewFrm.TfrmDesignPreview.UpdateThumb (Line 721, “DesignPreviewFrm.pas” + 27) + $44
[506F8CA1]{vcl220.bpl } Vcl.ComCtrls.TListItems.SetUpdateState (Line 16998, “Vcl.ComCtrls.pas” + 18) + $F
[0D18622B]{MultidevicePreview220.bpl} DesignPreviewCommon.{System.Generics.Collections}TList<DesignPreviewCommon.PPrevViewDevice>.GetItem (Line 3945, “System.Generics.Collections.pas” + 1) + $5
[0D18E597]{MultidevicePreview220.bpl} DesignPreviewFrm.TfrmDesignPreview.TickTackTimer (Line 653, “DesignPreviewFrm.pas” + 27) + $7
[5073D11F]{vcl220.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3093, “Vcl.ExtCtrls.pas” + 1) + $E
[5073D003]{vcl220.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3051, “Vcl.ExtCtrls.pas” + 4) + $7
[50172D80]{rtl220.bpl } System.Classes.StdWndProc (Line 16882, “System.Classes.pas” + 8) + $0
[507CB41F]{vcl220.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10352, “Vcl.Forms.pas” + 23) + $1
[507CB462]{vcl220.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10382, “Vcl.Forms.pas” + 1) + $4
[507CB795]{vcl220.bpl } Vcl.Forms.TApplication.Run (Line 10520, “Vcl.Forms.pas” + 26) + $3

Comments are closed.