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

Bug 362650

Summary: avoid nullPointerException when ProjectEditPanel cound not find any persistedIssues
Product: z_Archived Reporter: Britta Varwig <britta.varwig>
Component: SkalliAssignee: Britta Varwig <britta.varwig>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: michael.ochmann
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch
none
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch michael.ochmann: iplog+

Description Britta Varwig CLA 2011-11-02 06:24:15 EDT

    
Comment 1 Britta Varwig CLA 2011-11-02 06:25:12 EDT
Created attachment 206318 [details]
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch
Comment 2 Britta Varwig CLA 2011-11-02 06:33:54 EDT
*** Bug 361910 has been marked as a duplicate of this bug. ***
Comment 3 Michael Ochmann CLA 2011-11-04 09:04:49 EDT
run():

Why is there nothing to do? I would have expected something like:

averageDuration = UNKNOWN_AVERAGE_DURATION;
if (persistedIssues != null && persistedIssues.getAverageDuration() > 0)
     averageDuration = persistedIssues.getAverageDuration()
}
Comment 4 Britta Varwig CLA 2011-11-07 04:26:40 EST
Created attachment 206511 [details]
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch