Icon View Incident Report

Minor Minor
Reported By: Michael Dreher
Reported On: 7/6/2017
For: Version 2.06 Build 5
# 4569 Adding a Component that Fails to Call Inherited Constructor Causes AV in the IDE During Shutdown

I'm getting

 - Access violation at address 007F3684 in module ewbide.exe'. Read of adress 0000018C.
or
 - Instance is an invalid reference

in the IDE (version 2.06B2) for about 50% when opening existing projects (from the menu or from the welcome page) or when calling "File / Close All".

While I was preparing a project, I found the reason for this. I forgot to call the inherited constructor in a component.

The AV is shown every time a TForm containing the component will be closed in the IDE.

type
 TftUpdateCheck2 = class(TComponent)
 // ..
 end;

constructor TftUpdateCheck2.Create(aOwner : TComponent);
begin
 inherited Create(aOwner); // <<<<--- this was missing
 // ...
end;



Resolution Resolution
Fixed Problem on 7/7/2017 in version 2.06 build 6


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image