Getting internal server error when trying to post repayment for some loans

Description

When trying to post repayment for our loans (plain vanilla installment loans),
we get the following error. This happens in about 10% of cases:

"timestamp": 1449545515301
"status": 500
"error": "Internal Server Error"
"exception": "java.lang.ArithmeticException"
"message": "Non-terminating decimal expansion; no exact representable decimal result."

Environment

None

Attachments

Assignee

Unassigned

Reporter

Georg Steiger

Labels

None

URL

None

Story Points

None

Team

Core

Notify

Sangamesh Nadagoudar

productboard URL

None

Man Day Estimate

None

Affects versions

Priority

Critical
Configure