Icon View Incident Report

Serious Serious
Reported By: Claudio Piffer
Reported On: 10/7/2010
For: Version 2.04 Build 4
# 3337 VCL Components Can Raise "Session Already Destroyed" in Delphi XE During Form/Data Module Destructor

I have installed last version 2.04 B4 in Delphi XE.

When I close an sample application this raise always the attached exception.

1. new vcl forms application

2. drop EDBDatabase
2.1 - DatabaseName : myDB

3. drop EDBTable1
3.1  - Databasename : select myDB from drop-down

4. right click on tab "Close page" it closes and you can reopen
from project manager

25. drop EDBSession1

5.1 - set AutoSessionName : true

6. right click on tab "Close page" - you get IDE error
"Component already destroyed ..." (of if you close all or exit
from IDE you get the same)



Comments Comments
The workaround is to make sure that the TEDBSession component is first in the creation order, not last. To do this, right-click on the form/data module, select Creation Order, and then rearrange as appropriate.


Resolution Resolution
Fixed Problem on 10/14/2010 in version 2.05 build 1


Products Affected Products Affected
ElevateDB VCL Client-Server
ElevateDB VCL Client-Server with Source
ElevateDB VCL Standard
ElevateDB VCL Standard with Source
ElevateDB VCL Trial

Image