| Summary: | [Progress] ArithmeticException when running search job | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Tom Hofmann <eclipse> |
| Component: | UI | Assignee: | Tod Creasey <Tod_Creasey> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | john.arthorne, michaelvanmeekeren |
| Version: | 3.1 | ||
| Target Milestone: | 3.2 M2 | ||
| Hardware: | PC | ||
| OS: | Linux-GTK | ||
| Whiteboard: | |||
|
Description
Tom Hofmann
This is actually a bug in JobInfo.getPercentDone. If the task's total work is zero, line 318 of JobInfo causes a divide by zero exception. Since a total work of zero is valid according to the API, this should be handled in JobInfo. *** Bug 108432 has been marked as a duplicate of this bug. *** I haven't been able to replicate this but the section of code is pretty obvious. Fixed in build >20050907 verified in 20050920 |