View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001384 | JEDI VCL | 00 JVCL Components | public | 2004-02-27 11:44 | 2004-03-09 02:44 |
| Reporter | anonymous | Assigned To | user72 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0001384: Invalid Pointer Operation in JvHTTPGrabber when URL is empty | ||||
| Description | Hi, I am trying to make a little example for the JvHTTPGrabber component and discoverd a cosmetic bug. If the property URL is empty an the method execute is called, then an Invalid Pointer Operation error shows up. | ||||
| Additional Information | procedure TFrmMain.JvBitBtn1Click(Sender: TObject); begin JvHTTPGrabber1.Execute; //<-- error if url property is emtpy. end; procedure TFrmMain.JvHTTPGrabber1Error(Sender: TObject; ErrorMsg: String); begin showmessage(ErrorMsg); //<-- error message is empty end; Fix in File JvHTTPGrabber procedure TJvHTTPGrabber.Execute; begin if Url='' then begin Error(self,'No URL defined. Please setup the URL property.'); Exit; end; //Download it if FThread = nil then begin FThread := TJvHttpThread.Create(Url, Referer, Username, FileName, Password, OutPutMode, Error, DoneFile, DoneStream, Progress, Agent, Status); FThread.OnTerminate := ThreadFinished; FThread.Resume; FThread.WaitFor; end; end; | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-02-27 11:44 | anonymous | New Issue | |
| 2004-02-27 11:52 |
|
Note Added: 0003108 | |
| 2004-02-27 14:49 |
|
Status | new => resolved |
| 2004-02-27 14:49 |
|
Resolution | open => fixed |
| 2004-02-27 14:49 |
|
Assigned To | => user72 |
| 2004-02-27 14:49 |
|
Note Added: 0003109 | |
| 2004-02-27 14:51 |
|
Status | resolved => feedback |
| 2004-02-27 14:51 |
|
Resolution | fixed => reopened |
| 2004-02-27 14:54 |
|
Status | feedback => resolved |
| 2004-02-27 14:54 |
|
Resolution | reopened => fixed |
| 2004-03-09 02:44 |
|
Status | resolved => closed |