Page 1 of 1

Delphi XE8 : "Connection is not defined" error

Posted: Mon 27 Apr 2015 14:59
by swierzbicki
Hello,

I'm getting this error with Firemonkey project.
Looks like this is only happening after lauching the IDE (XE8) and opening a project having TUniquery.Active set to true.

The same exception is then poping every 10 secs (see 5073d11f +00f vcl220.bpl Vcl.ExtCtrls 3093 +1 TTimer.Timer)

Code: Select all

date/time          : 2015-04-27, 16:54:00, 823ms
computer name      : DEV-PC
user name          : Developpeur <admin>
registered owner   : Stéphane
operating system   : Windows 7 Service Pack 1 build 7601
system language    : French
system up time     : 8 hours 53 minutes
program up time    : 1 minute 12 seconds
processors         : 4x Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
physical memory    : 1397/3071 MB (free/total)
free disk space    : (C:) 45,59 GB
display mode       : 1920x1080, 32 bit
process id         : $1068
allocated memory   : 505,35 MB
largest free block : 193,87 MB
command line       : "C:\Program Files\Embarcadero\Studio\16.0\bin\bds.exe" -pDelphi /nocastalia /np
executable         : bds.exe
current module     : madExcept_.bpl
exec. date/time    : 2015-03-19 00:55
version            : 22.0.19027.8951
compiled with      : Delphi XE8
madExcept version  : 4.0.11
callstack crc      : $d6dbc36c, $34c5d01e, $e5a94570
exception number   : 1
exception class    : EDatabaseError
exception message  : Connection is not defined.

main thread ($16c8):
50d19022 +0de dbrtl220.bpl              Data.DB              3269 +10 DatabaseError
1192c9c1 +041 dac220.bpl                Dbaccess                      TCustomDADataSet.BeginConnection
10c70f46 +006 unidac220.bpl             Uni                           TCustomUniDataSet.BeginConnection
1192d971 +07d dac220.bpl                Dbaccess                      TCustomDADataSet.OpenCursor
10c71147 +027 unidac220.bpl             Uni                           TCustomUniDataSet.OpenCursor
50d2da15 +055 dbrtl220.bpl              Data.DB             12424 +12 TDataSet.SetActive
1192d8e1 +03d dac220.bpl                Dbaccess                      TCustomDADataSet.SetActive
50d2d58b +033 dbrtl220.bpl              Data.DB             12267  +3 TDataSet.Loaded
1192c8f6 +022 dac220.bpl                Dbaccess                      TCustomDADataSet.Loaded
501636eb +23b rtl220.bpl                System.Classes      10421 +40 TReader.ReadRootComponent
09081b65 +15d fmxdesigner220.bpl        FmxFormDesigner      1287 +30 TFmxRootDesigner.GetPreviewFromMaster
210da102 +06a designide220.bpl          ComponentDesigner    5792 +10 TComponentRoot.GetViewPreview
0e4b5b16 +076 MultidevicePreview220.bpl DesignPreviewCommon   614  +8 TPrevViewDevice.GenerateViewPreview
0e4b54c8 +098 MultidevicePreview220.bpl DesignPreviewCommon   429  +8 TPrevViewDevice.Thumbnail
0e4be82a +176 MultidevicePreview220.bpl DesignPreviewFrm      721 +27 TfrmDesignPreview.UpdateThumb
0e4be597 +0f3 MultidevicePreview220.bpl DesignPreviewFrm      653 +27 TfrmDesignPreview.TickTackTimer
5073d11f +00f vcl220.bpl                Vcl.ExtCtrls         3093  +1 TTimer.Timer
5073d003 +02b vcl220.bpl                Vcl.ExtCtrls         3051  +4 TTimer.WndProc
50172d80 +014 rtl220.bpl                System.Classes      16882  +8 StdWndProc
7682cc6b +00a USER32.dll                                              DispatchMessageW
507cb41f +0f3 vcl220.bpl                Vcl.Forms           10352 +23 TApplication.ProcessMessage
507cb462 +00a vcl220.bpl                Vcl.Forms           10382  +1 TApplication.HandleMessage
507cb795 +0c9 vcl220.bpl                Vcl.Forms           10520 +26 TApplication.Run
7677ee1a +010 kernel32.dll                                            BaseThreadInitThunk

Re: Delphi XE8 : "Connection is not defined" error

Posted: Tue 28 Apr 2015 06:01
by AlexP
Hello,

We cannot reproduce the problem. Please send a sample reproducing the problem to alexp*devart*com.

Re: Delphi XE8 : "Connection is not defined" error

Posted: Tue 05 May 2015 18:34
by swierzbicki
Hello Alex,

Did you reproduce the error ?

Re: Delphi XE8 : "Connection is not defined" error

Posted: Wed 06 May 2015 05:17
by AlexP
We have received your sample and reproduced the problem. We will continue investigation of the problem.

Re: Delphi XE8 : "Connection is not defined" error

Posted: Wed 13 May 2015 12:45
by swierzbicki
Hello Alex,

Did your team fixed this problem ?

Re: Delphi XE8 : "Connection is not defined" error

Posted: Fri 19 Jun 2015 05:30
by AlexP
We haven't yet found a reason for such behavior. We are still investigating the problem.

Re: Delphi XE8 : "Connection is not defined" error

Posted: Mon 13 Jul 2015 12:17
by AlexP
This problem is due to the bug in Delphi: https://quality.embarcadero.com/browse/RSP-11440 .