Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Access violation when create a new datamodule, IntraWeb New Form or another tipe of New File #38

Open
Guihs1 opened this issue Jul 27, 2018 · 1 comment

Comments

@Guihs1
Copy link

Guihs1 commented Jul 27, 2018

Error log:
Access violation at address 22017E0F in module 'delphicoreide240.bpl'. Read of address 00000044.
[22017E0F]{delphicoreide240.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 317, "EditorStructuralHighlight.pas" + 0) + $F [501577F6]{rtl240.bpl } System.Classes.TStrings.IndexOf (Line 6445, "System.Classes.pas" + 2) + $17 [5015781A]{rtl240.bpl } System.Classes.TStrings.IndexOf (Line 6447, "System.Classes.pas" + 4) + $10 [22017E0A]{delphicoreide240.bpl} EditorStructuralHighlight.TStructuralHighlighter.EvQuery (Line 317, "EditorStructuralHighlight.pas" + 0) + $A [207E4BEF]{coreide240.bpl} EditorBuffer.TEvQueryEditEvent.Send (Line 5842, "EditorBuffer.pas" + 3) + $6 [207DE2FF]{coreide240.bpl} EditorBuffer.QueryEventHandler (Line 2323, "EditorBuffer.pas" + 1) + $9 [22296ACA]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_REGEX.OBJ.@RegExp@regmatch$qqrpxuc + $3F6 [0128D268]{bds.exe } bds.bds (Line 210, "" + 8) + $D89FCD [2228D2D9]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_INS.OBJ.@LineEndUndoOp@Execute$qpv13EKExecuteOp_t + $1B9 [22282325]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_BLOCK.OBJ.@DeleteBlockUndoOp@Execute$qpv13EKExecuteOp_t + $199 [22284F98]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.@C5_0 + $488 [22287DD6]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.EK_GET_LINE_CONTENTS + $3E6 [22287D91]{boreditu.dll} C:\BUILDS\TP\INTERMEDIATE\DEBUG\LIB\UTF8\EK_ENTRY.OBJ.EK_GET_LINE_CONTENTS + $3A1 [207B7272]{coreide240.bpl} EdProcs.SafeEkEval (Line 363, "EdProcs.pas" + 4) + $C [207B7256]{coreide240.bpl} EdProcs.SafeEkEval (Line 361, "EdProcs.pas" + 2) + $4 [207B5B50]{coreide240.bpl} EdKrnl.EkEval (Line 3556, "EdKrnl.pas" + 0) + $0 [207B4221]{coreide240.bpl} EdKrnl.DeleteTo (Line 1210, "EdKrnl.pas" + 27) + $2 [207DCE73]{coreide240.bpl} EditorBuffer.TEditWriter.DeleteTo (Line 1653, "EditorBuffer.pas" + 3) + $B [20916EE0]{coreide240.bpl} CodeMgr.TDeleteText.Modify (Line 3099, "CodeMgr.pas" + 0) + $10 [209175CE]{coreide240.bpl} CodeMgr.DoUpdates (Line 3264, "CodeMgr.pas" + 10) + $7 [2091769B]{coreide240.bpl} CodeMgr.TCodeUpdater.CommitUpdates (Line 3281, "CodeMgr.pas" + 8) + $9 [21F622C5]{delphicoreide240.bpl} PasMgr.TPascalProjectUpdater.Update (Line 11724, "PasMgr.pas" + 205) + $5 [21F5FF02]{delphicoreide240.bpl} PasMgr.TPascalProjectUpdater.AddModule (Line 11011, "PasMgr.pas" + 56) + $5 [21ED8224]{delphicoreide240.bpl} BaseDelphiProject.TDelphiProjectModuleHandler.AddModule (Line 3571, "BaseDelphiProject.pas" + 7) + $29 [21F6EF86]{delphicoreide240.bpl} DelphiModule.TPascalCodeMgrModHandler.AddToProject (Line 444, "DelphiModule.pas" + 24) + $3F [21F6FB95]{delphicoreide240.bpl} DelphiModule.TPascalCodeMgrModHandler.SetupSourceModules (Line 679, "DelphiModule.pas" + 115) + $1C [21F6F296]{delphicoreide240.bpl} DelphiModule.TPascalCodeMgrModHandler.Create (Line 515, "DelphiModule.pas" + 5) + $7 [21F76BC9]{delphicoreide240.bpl} DelphiModule.TPascalGauntletHandler.AttachHandler (Line 2979, "DelphiModule.pas" + 6) + $16 [208ED8A9]{coreide240.bpl} DocModul.TModuleHandlerGauntlet.RunGauntlet (Line 3211, "DocModul.pas" + 4) + $6 [208E8CD5]{coreide240.bpl} DocModul.TDocModule.AfterConstruction (Line 949, "DocModul.pas" + 1) + $3 [2071309F]{coreide240.bpl} SourceModule.TSourceModule.AfterConstruction (Line 781, "SourceModule.pas" + 3) + $D [5005FF2D]{rtl240.bpl } System.@AfterConstruction (Line 17839, "System.pas" + 2) + $5 [207121D3]{coreide240.bpl} SourceModule.TSourceModule.Create (Line 426, "SourceModule.pas" + 30) + $65 [208D470F]{coreide240.bpl} IDEServices.TIDEServices.DoCreateModule (Line 2116, "IDEServices.pas" + 21) + $1D [208D6BA7]{coreide240.bpl} IDEServices.TIDEServices.CreateModule (Line 2849, "IDEServices.pas" + 5) + $B [19A45CFA]{dclIntraweb_14_D10_1.bpl} Iwdsnwizard.TIWUnitWizard.Execute + $BE [206B7077]{coreide240.bpl} Gallery.TGalleryExpert.Selected (Line 831, "Gallery.pas" + 1) + $1 [205253AE]{coreide240.bpl} GalleryTypes.TGalleryItem.DoSelect (Line 188, "GalleryTypes.pas" + 5) + $6 [206B220C]{coreide240.bpl} GalBrow.BrowseNewDialog (Line 345, "GalBrow.pas" + 24) + $1 [206B2112]{coreide240.bpl} GalBrow.BrowseNewDialog (Line 313, "GalBrow.pas" + 0) + $2 [206B6E24]{coreide240.bpl} Gallery.LoadGallery (Line 727, "Gallery.pas" + 33) + $3A [0041F10B]{bds.exe } AppMain.TAppBuilder.FileNew (Line 2634, "AppMain.pas" + 1) + $2 [5016FF07]{rtl240.bpl } System.Classes.TBasicAction.Execute (Line 16674, "System.Classes.pas" + 3) + $7 [50A8CD7E]{vcl240.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35 [5016FD73]{rtl240.bpl } System.Classes.TBasicActionLink.Execute (Line 16585, "System.Classes.pas" + 2) + $7 [21AA5815]{vclactnband240.bpl} Vcl.ActnMenus.TCustomActionMenuBar.ExecAction (Line 1078, "Vcl.ActnMenus.pas" + 6) + $D [21AA70C0]{vclactnband240.bpl} Vcl.ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1844, "Vcl.ActnMenus.pas" + 19) + $15 [21AAAAE6]{vclactnband240.bpl} Vcl.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3638, "Vcl.ActnMenus.pas" + 5) + $3 [21AA53C0]{vclactnband240.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 956, "Vcl.ActnMenus.pas" + 2) + $11 [21AA53C9]{vclactnband240.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 957, "Vcl.ActnMenus.pas" + 3) + $4 [50AA3B2A]{vcl240.bpl } Vcl.Controls.TControl.WndProc (Line 7313, "Vcl.Controls.pas" + 91) + $6 [50090A87]{rtl240.bpl } System.SysUtils.AnsiCompareText (Line 6870, "System.SysUtils.pas" + 1) + $2F [50AA8675]{vcl240.bpl } Vcl.Controls.TWinControl.WndProc (Line 10143, "Vcl.Controls.pas" + 158) + $6 [501577F6]{rtl240.bpl } System.Classes.TStrings.IndexOf (Line 6445, "System.Classes.pas" + 2) + $17 [5015781A]{rtl240.bpl } System.Classes.TStrings.IndexOf (Line 6447, "System.Classes.pas" + 4) + $10 [50158C09]{rtl240.bpl } System.Classes.TStringList.IndexOf (Line 7101, "System.Classes.pas" + 1) + $A [0EF9A416]{DelphiIDEColorizer_DXBerlin.dll} Colorizer.Hook.Forms.Hook.Forms.Detour_TWinControl_WndProc$qqrp37Colorizer.Hook.Forms.TWinControlClassr24Winapi.Messages.TMessage (Line 276, "Colorizer.Hook.Forms.pas" + 23) + $6 [50060148]{rtl240.bpl } System.TMonitor.CheckOwningThread (Line 18056, "System.pas" + 2) + $0 [21AA71D6]{vclactnband240.bpl} Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1883, "Vcl.ActnMenus.pas" + 25) + $4 [50AA7C94]{vcl240.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9850, "Vcl.Controls.pas" + 3) + $6 [50170C64]{rtl240.bpl } System.Classes.StdWndProc (Line 17178, "System.Classes.pas" + 8) + $0 [50A9E70A]{vcl240.bpl } Vcl.Controls.FindControl (Line 3592, "Vcl.Controls.pas" + 6) + $9 [50BEEC6F]{vcl240.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10534, "Vcl.Forms.pas" + 23) + $1 [50BEECB2]{vcl240.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10564, "Vcl.Forms.pas" + 1) + $4 [50BEEFE5]{vcl240.bpl } Vcl.Forms.TApplication.Run (Line 10702, "Vcl.Forms.pas" + 26) + $3

@halocedark
Copy link

I also have same problem came with another one:

error creating form index out of range

I cannot figure out the where it is coming from.
In your case, the solution is delete old version of your IDE if you upgraded.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants