Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 288241

Summary: [Upload] NPE if Upload widget is disposed
Product: [RT] RAP Reporter: Stefan Röck <stefan.roeck>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
JUnit Testcase
none
Patch none

Description Stefan Röck CLA 2009-09-01 08:42:57 EDT
Upload#getUploadItem() throws a NPE if the upload widget has been disposed before.
Comment 1 Stefan Röck CLA 2009-09-01 08:56:49 EDT
Created attachment 146179 [details]
JUnit Testcase
Comment 2 Stefan Röck CLA 2009-09-01 09:00:58 EDT
Created attachment 146181 [details]
Patch

Adds a check if widget is disposed.
Additionally, performUpload returns a boolean that indicates if the upload succeeded or not.
Comment 3 Stefan Röck CLA 2009-10-07 03:58:02 EDT
Applied patch to CVS Head.