View Issue Details

IDProjectCategoryView StatusLast Update
0005829JEDI Code LibraryIDE Expertspublic2012-04-08 18:55
ReporterThilacAssigned Tooutchy 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionduplicate 
Product VersionVersion 2.2 
Target VersionFixed in VersionVersion 2.4 
Summary0005829: Exception compiling a multilanguage project
DescriptionHello alls,

I'm trying to compile a multilanguage project. The project compiles normally in the base language but when I want to compile the ressource project for the other language, I receive an exception from the JCL.
I don't know how to solve this problem.

Thanks for helping me
Additional InformationStacktrace:

Exception class name: EAccessViolation
Exception message: Violation d'accès à l'adresse 5800C18E dans le module 'JclBaseExpert150.bpl'. Lecture de l'adresse 00000000
(00152258){Jcl150.bpl } [48153258] Jcldebug.TJclStackInfoList + $A8
(00151EBA){Jcl150.bpl } [48152EBA] Jcldebug.JclCreateStackList + $1A
(00005B97){JclBaseExpert150.bpl} [58006B97] Jclotaexceptionform.TJclExpertExceptionForm.ShowException + $13B
(0000AB47){JclBaseExpert150.bpl} [5800BB47] Jclotautils.JclExpertShowExceptionDialog + $33
(00007EC9){JclDebugExpert150.bpl} [161E8EC9] Jcldebugideimpl.TIdeNotifier.AfterCompile + $3D
(0000B185){JclBaseExpert150.bpl} [5800C185] Jclotautils.GetProjectProperties + $95
(00006355){JclDebugExpert150.bpl} [161E7355] Jcldebugideimpl.TJclDebugExtension.GetProjectActions + $65
(00004950){JclDebugExpert150.bpl} [161E5950] Jcldebugideimpl.TJclDebugExtension.AfterCompile + $54
(00007EA9){JclDebugExpert150.bpl} [161E8EA9] Jcldebugideimpl.TIdeNotifier.AfterCompile + $1D
(00327A6F){coreide150.bpl} [20A68A6F] IDEServices.AfterCompile (Line 4651, "IDEServices.pas" + 11) + $15
(000AA3B7){coreide150.bpl} [207EB3B7] ProjectGroupBuilder.TProjectGroupBuilder.NotifyAfterCompile (Line 300, "ProjectGroupBuilder.pas" + 8) + $B
(0007C48C){rtl150.bpl } [500AD48C] Classes.TThread.Synchronize (Line 11800, "Classes.pas" + 4) + $6
(0007C700){rtl150.bpl } [500AD700] Classes.TThread.Synchronize (Line 11868, "Classes.pas" + 9) + $A
(0009CE88){coreide150.bpl} [207DDE88] BuildHost.TBuildHost.Synchronize (Line 439, "BuildHost.pas" + 1) + $D
(000AA186){coreide150.bpl} [207EB186] ProjectGroupBuilder.TProjectGroupBuilder.MakeThingsHappen (Line 264, "ProjectGroupBuilder.pas" + 72) + $11
(001093F5){rtl150.bpl } [5013A3F5] Rtti.RawInvoke (Line 5538, "Rtti.pas" + 46) + $0
(0010975A){rtl150.bpl } [5013A75A] Rtti.Invoke (Line 5729, "Rtti.pas" + 38) + $6
(001025D9){rtl150.bpl } [501335D9] Rtti.TRttiInstanceMethodClassic.GetCallingConvention (Line 4103, "Rtti.pas" + 1) + $2
(00102F7F){rtl150.bpl } [50133F7F] Rtti.TRttiInstanceMethodEx.DispatchInvoke (Line 4408, "Rtti.pas" + 130) + $17
(00109BC0){rtl150.bpl } [5013ABC0] Rtti.TRttiMethod.Invoke (Line 5859, "Rtti.pas" + 1) + $11
(000A9D69){coreide150.bpl} [207EAD69] ProjectGroupBuilder.TProjectGroupBuilder.DoBuild (Line 179, "ProjectGroupBuilder.pas" + 2) + $28
(0009CA7D){coreide150.bpl} [207DDA7D] BuildHost.TBuildHost.Perform (Line 362, "BuildHost.pas" + 19) + $8
(00106AB2){coreide150.bpl} [20847AB2] ComPrgrs.TProgressForm.StartCompile (Line 188, "ComPrgrs.pas" + 8) + $C
(0010715A){coreide150.bpl} [2084815A] ComPrgrs.TProgressForm.HandleCompileMessage (Line 310, "ComPrgrs.pas" + 0) + $2
(0002CF6C){vcl150.bpl } [5027DF6C] Controls.TControl.WndProc (Line 7074, "Controls.pas" + 91) + $6
(00031830){vcl150.bpl } [50282830] Controls.TWinControl.WndProc (Line 9831, "Controls.pas" + 144) + $6
(000FEB28){vcl150.bpl } [5034FB28] Forms.TCustomForm.WndProc (Line 3961, "Forms.pas" + 191) + $5
(00030ED0){vcl150.bpl } [50281ED0] Controls.TWinControl.MainWndProc (Line 9552, "Controls.pas" + 3) + $6
(0007EA64){rtl150.bpl } [500AFA64] Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0
(00107AF7){vcl150.bpl } [50358AF7] Forms.TApplication.ProcessMessage (Line 9760, "Forms.pas" + 23) + $1
(00107B3A){vcl150.bpl } [50358B3A] Forms.TApplication.HandleMessage (Line 9790, "Forms.pas" + 1) + $4
(00103499){vcl150.bpl } [50354499] Forms.TCustomForm.ShowModal (Line 6648, "Forms.pas" + 33) + $5
(0009C4D6){coreide150.bpl} [207DD4D6] BuildHost.TBuildHost.Build (Line 226, "BuildHost.pas" + 50) + $9
(0009C0C0){coreide150.bpl} [207DD0C0] BuildHost.Build (Line 136, "BuildHost.pas" + 4) + $A
(000A9B79){coreide150.bpl} [207EAB79] ProjectGroupBuilder.BuildProjects (Line 139, "ProjectGroupBuilder.pas" + 1) + $17
(00195058){coreide150.bpl} [208D6058] ProjectManagerMenus.TPMMBuildProject.Execute (Line 196, "ProjectManagerMenus.pas" + 12) + $15
(00054136){coreide150.bpl} [20795136] ContainerIntf.TProjectManagerMenuItem.Click (Line 1114, "ContainerIntf.pas" + 18) + $22
(0004EC9B){vcl150.bpl } [5029FC9B] Menus.TMenu.DispatchCommand (Line 3390, "Menus.pas" + 5) + $2
(0004FE7A){vcl150.bpl } [502A0E7A] Menus.TPopupList.WndProc (Line 4496, "Menus.pas" + 4) + $E
(00011ECF){vcl150.bpl } [50262ECF] Graphics.FreeMemoryContexts (Line 7021, "Graphics.pas" + 12) + $8
(0004FDC9){vcl150.bpl } [502A0DC9] Menus.TPopupList.MainWndProc (Line 4471, "Menus.pas" + 2) + $5
(0007EA64){rtl150.bpl } [500AFA64] Classes.StdWndProc (Line 13491, "Classes.pas" + 8) + $0
(00107AF7){vcl150.bpl } [50358AF7] Forms.TApplication.ProcessMessage (Line 9760, "Forms.pas" + 23) + $1
(00107B3A){vcl150.bpl } [50358B3A] Forms.TApplication.HandleMessage (Line 9790, "Forms.pas" + 1) + $4
(00107E65){vcl150.bpl } [50358E65] Forms.TApplication.Run (Line 9927, "Forms.pas" + 26) + $3
TagsNo tags attached.
Fixed in GIT commit
Fixed in SVN revision
IDE versionDelphi/C++Builder XE

Relationships

duplicate of 0005740 resolvedAHUser Access violation at address 5800C1B6 in module 'JclBaseExpert150.bpl' 

Activities

wpostma

2012-03-12 19:40

developer   ~0019663

What version of JCL?

Thilac

2012-03-12 21:43

reporter   ~0019665

This is the version: JclBaseExpert150: 2.2.1.3845

Thilac

2012-03-20 16:35

reporter   ~0019678

Last edited: 2012-03-20 16:35

In the stack trace, I saw that the problem occurred with the GetProjectProperties method

So I tried to find out what caused the null pointer exception to occur and I found that the GetModuleFileEditor method didn't always return a valid object.

So, I tested for a null object and this solved my problem, although I don't know if my solution is correct.

    AEditor := AProject.GetModuleFileEditor(FileIndex);
    if AEditor = nil then exit;

outchy

2012-04-08 18:55

administrator   ~0019694

It is already fixed in the development version since it was previously reported in the issue 5740.
Please follow-up in the original issue 5740.

Issue History

Date Modified Username Field Change
2012-03-11 22:13 Thilac New Issue
2012-03-11 22:13 Thilac IDE version => Delphi/C++Builder XE
2012-03-12 19:40 wpostma Note Added: 0019663
2012-03-12 21:43 Thilac Note Added: 0019665
2012-03-20 16:35 Thilac Note Added: 0019678
2012-03-20 16:35 Thilac Note Edited: 0019678
2012-04-08 18:50 outchy Category JclBase => IDE Experts
2012-04-08 18:54 outchy Relationship added duplicate of 0005740
2012-04-08 18:55 outchy Note Added: 0019694
2012-04-08 18:55 outchy Status new => resolved
2012-04-08 18:55 outchy Fixed in Version => Version 2.4 (Subversion repository/Daily zips)
2012-04-08 18:55 outchy Resolution open => duplicate
2012-04-08 18:55 outchy Assigned To => outchy