java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by MatsMRL
, 1 year ago
Non-terminating decimal expansion; no exact representable decimal result.
via Stack Overflow by Yavuz Erzurumlu
, 1 year ago
Non-terminating decimal expansion; no exact representable decimal result.
via GitHub by cjm27
, 1 year ago
Non-terminating decimal expansion; no exact representable decimal result.
via Stack Overflow by ChadNC
, 2 years ago
Non-terminating decimal expansion; no exact representable decimal result.
via Stack Overflow by Gozzah
, 1 year ago
Non-terminating decimal expansion; no exact representable decimal result.
via Stack Overflow by Talen Kylon
, 1 year ago
Non-terminating decimal expansion; no exact representable decimal result.
java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result.
at java.math.BigDecimal.divide(BigDecimal.java:1690)
at com.pi4j.component.servo.impl.PCA9685GpioServoDriver.updateResolution(PCA9685GpioServoDriver.java:87)
at com.pi4j.component.servo.impl.PCA9685GpioServoDriver.(PCA9685GpioServoDriver.java:52)
at com.pi4j.component.servo.impl.PCA9685GpioServoProvider.getServoDriver(PCA9685GpioServoProvider.java:69)
at undefined.PCA9685GpioServoExample.(PCA9685GpioServoExample.java:147)
at undefined.PCA9685GpioServoExample.main(PCA9685GpioServoExample.java:59)

Users with the same issue

2 times, 1 month ago
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
1 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.