| Summary: | avoid nullPointerException when ProjectEditPanel cound not find any persistedIssues | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Britta Varwig <britta.varwig> | ||||||
| Component: | Skalli | Assignee: | 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
Britta Varwig
Created attachment 206318 [details]
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch
*** Bug 361910 has been marked as a duplicate of this bug. *** 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()
}
Created attachment 206511 [details]
0001-avoid-nullPointerException-when-ProjectEditPanel-cou.patch
|