Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362650 - avoid nullPointerException when ProjectEditPanel cound not find any persistedIssues
Summary: avoid nullPointerException when ProjectEditPanel cound not find any persisted...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Skalli (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Britta Varwig CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 361910 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-02 06:24 EDT by Britta Varwig CLA
Modified: 2022-10-03 10:28 EDT (History)
1 user (show)

See Also:


Attachments
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch (1.86 KB, patch)
2011-11-02 06:25 EDT, Britta Varwig CLA
no flags Details | Diff
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch (1.86 KB, patch)
2011-11-07 04:26 EST, Britta Varwig CLA
michael.ochmann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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