View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002330 | JEDI VCL | 00 JVCL Components | public | 2004-11-22 17:44 | 2004-11-26 01:17 |
Reporter | Achim Metzen | Assigned To | AHUser | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.00 BETA 2 | ||||
Target Version | Fixed in Version | 3.00 RC 1 | |||
Summary | 0002330: JvDBLookupCombo crashes with empty lookup table | ||||
Description | JvDBLookupCombo: When set DisplayEmpty to any Value<>'' and DropdownCount at runtime to Dataset.RecordCount+1, I get a AV with an empty table (RecordCount=0). | ||||
Additional Information | JvDBLookupCombo: DropdownCount :=Dataset.RecordCount+1+Integer(Dataset.RecordCount=0) is OK. | ||||
Tags | No tags attached. | ||||
2004-11-22 17:44
|
JediTest.zip (10,939 bytes) |
2004-11-22 17:57
|
CallStackinfo.txt (2,430 bytes)
Call Stack Information: --------------------------------------------------------------------------------------- |Address |Module |Unit |Class |Procedure/Method |Line| --------------------------------------------------------------------------------------- |004D7D2A|Project1.exe|JvDBLookup.pas |TJvDBLookupList |UpdateScrollBar |2121| |004B883E|Project1.exe|JvDBUtils.pas |TJvLocateObject |SetDataSet |270 | |004D7CF4|Project1.exe|JvDBLookup.pas |TJvDBLookupList |UpdateScrollBar |2107| |004D6FE5|Project1.exe|JvDBLookup.pas |TJvDBLookupList |ListDataChanged |1719| |004D6F60|Project1.exe|JvDBLookup.pas |TJvDBLookupList |ListDataChanged |1704| |004D6F50|Project1.exe|JvDBLookup.pas |TJvDBLookupList |ListLinkActiveChanged |1699| |004D544B|Project1.exe|JvDBLookup.pas |TLookupSourceLink|ActiveChanged |711 | |004D647D|Project1.exe|JvDBLookup.pas |TJvLookupControl |SetLookupSource |1362| |004D6468|Project1.exe|JvDBLookup.pas |TJvLookupControl |SetLookupSource |1360| |004D83E6|Project1.exe|JvDBLookup.pas |TJvDBLookupCombo |CloseUp |2369| |004D92FB|Project1.exe|JvDBLookup.pas |TJvDBLookupCombo |MouseDown |2819| |004A20F4|Project1.exe|JvExControls.pas| |InheritMessage |821 | |004A20EC|Project1.exe|JvExControls.pas| |InheritMessage |819 | |004A2837|Project1.exe|JvExControls.pas| |DispatchMsg |1065| |5D468532|comctl32.dll| | |DefSubclassProc | | |5D4684F1|comctl32.dll| | |DefSubclassProc | | |77D1B80E|user32.dll | | |IsWindow | | |004A1137|Project1.exe|JvThemes.pas |TThemeHook |WndProc |1539| |7C9110ED|ntdll.dll | | |RtlLeaveCriticalSection| | |004A1137|Project1.exe|JvThemes.pas |TThemeHook |WndProc |1539| |77D1BCC7|user32.dll | | |DispatchMessageA | | |77D1BCBD|user32.dll | | |DispatchMessageA | | |004DADA7|Project1.exe|Project1.dpr | | |13 | --------------------------------------------------------------------------------------- |
|
Fixed in CVS. The FLookupLink.Active was net tested before accessing FLookupLink.DataSet... |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-11-22 17:44 | Achim Metzen | New Issue | |
2004-11-22 17:44 | Achim Metzen | File Added: JediTest.zip | |
2004-11-22 17:57 | Achim Metzen | File Added: CallStackinfo.txt | |
2004-11-26 01:17 | AHUser | Status | new => resolved |
2004-11-26 01:17 | AHUser | Resolution | open => fixed |
2004-11-26 01:17 | AHUser | Assigned To | => AHUser |
2004-11-26 01:17 | AHUser | Note Added: 0005719 |