Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Division by zero #1

Closed
mcs opened this issue Mar 12, 2019 · 1 comment
Closed

Division by zero #1

mcs opened this issue Mar 12, 2019 · 1 comment

Comments

@mcs
Copy link

mcs commented Mar 12, 2019

In line 164 of the ETAPrinter, itemDurationMillis is often 0 with the consequence of a /zero exception.

Version: Tag 1.0.0 (using Maven)
Runtime: OpenJDK 8 (openjdk-1.8.0.191-1.b12.redhat.windows.x86_64) on Windows 10 Pro

I tried to increase the wait time between two update calls to "every 100 processing units", but without success.

Edit: Tried the current master which seems to fix the issue. Maybe time for a new release? 👍

@vdurmont
Copy link
Owner

Only 4 years later (sorry for the delay? 🙄), it's fixed in 19039bd and I'm releasing v2.0.0 with the fix on maven central in 29712b2 (should be available in < 2 hours).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants