java.lang.ArithmeticException: / by zero


Solutions on the web1

Solution icon of googlegroups
via Google Groups by Adarsh J, 9 months ago
/ by zero

Stack trace

java.lang.ArithmeticException: / by zero
	at kamon.system.sigar.ProcessCpuMetrics.percentUsage$1(ProcessCpuMetrics.scala:54)
	at kamon.system.sigar.ProcessCpuMetrics.update(ProcessCpuMetrics.scala:60)
	at kamon.system.sigar.SigarMetricsUpdater.updateMetrics(SigarMetricsUpdater.scala:47)
	at kamon.system.sigar.SigarMetricsUpdater$$anonfun$receive$1.applyOrElse(SigarMetricsUpdater.scala:42)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
	at kamon.system.sigar.SigarMetricsUpdater.aroundReceive(SigarMetricsUpdater.scala:28)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
	at akka.actor.ActorCell.invoke(ActorCell.scala:487)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
	at akka.dispatch.Mailbox.run(Mailbox.scala:221)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.