View Issue Details

IDProjectCategoryView StatusLast Update
0005357JEDI VCL00 JVCL Componentspublic2011-01-07 09:02
ReporterswierzbickiAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0005357: IDE EAssertionFailed raised with TJvDesktopAlert component
DescriptionHello,

I'm getting assertion error when closing my project or when trying to delete an TJvDesktopAlert component ! : EAssertionFailed exception message : Component already destroyed: ClassName: TJvFormDesktopAlert (C:\Builds\TP\rtl\common\Classes.pas, ligne 12219).

I've found that setting TJvDesktopAlert.StyleOptions.DisplayDuration to 0 will raise this issue.

Steps :

First install the official JCL and JVCL package for Delphi XE
Create a new form
Copy the code bellow and past it on the IDE

object JvDesktopAlert1: TJvDesktopAlert
  Location.Top = 0
  Location.Left = 0
  Location.Width = 0
  Location.Height = 0
  StyleOptions.DisplayDuration = 0
  HeaderFont.Charset = DEFAULT_CHARSET
  HeaderFont.Color = clWindowText
  HeaderFont.Height = -12
  HeaderFont.Name = 'Segoe UI'
  HeaderFont.Style = [fsBold]
  ShowHint = False
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Segoe UI'
  Font.Style = []
  ParentFont = False
  Buttons = <>
  Left = 184
  Top = 40
end


Try to close your project or try to delete the newly added component

Actually : an assertion is raised
Expected : component should be deleted
Workarround : set TJvDesktopAlert.StyleOptions.DisplayDuration to something greater than 0
TagsNo tags attached.

Activities

obones

2010-10-08 13:52

administrator   ~0017763

I just tried in Delphi 2010, no problems whatsoever.
What version are you using?

swierzbicki

2010-10-08 15:15

reporter   ~0017783

sorry, I forgot to tell it : Delphi XE

obones

2010-11-09 14:37

administrator   ~0018046

Someone with Delphi XE will have to try this

obones

2011-01-05 11:44

administrator   ~0018279

I just tried with XE, no problems whatsoever either.
Have you applied all updates to Delphi ?

swierzbicki

2011-01-07 09:00

reporter   ~0018285

It was an issue with the IDE. Embarcadero solved it with Delphi XE Update 1.
You can close this issue.

obones

2011-01-07 09:02

administrator   ~0018286

Thanks for letting us know.

Issue History

Date Modified Username Field Change
2010-10-08 12:04 swierzbicki New Issue
2010-10-08 13:52 obones Note Added: 0017763
2010-10-08 13:52 obones Status new => feedback
2010-10-08 15:15 swierzbicki Note Added: 0017783
2010-11-09 14:37 obones Note Added: 0018046
2010-11-09 14:37 obones Status feedback => acknowledged
2011-01-05 11:44 obones Note Added: 0018279
2011-01-05 11:44 obones Status acknowledged => feedback
2011-01-07 09:00 swierzbicki Note Added: 0018285
2011-01-07 09:02 obones Note Added: 0018286
2011-01-07 09:02 obones Status feedback => resolved
2011-01-07 09:02 obones Resolution open => no change required
2011-01-07 09:02 obones Assigned To => obones