You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.
sbt clean playUpdateSecret universal:packageZipTarball
cd target/universal
tar xzf play-zipkin-2.8.tgz
cd play-zipkin-2.8
bin/play-zipkin-2.8
Run some load
$>foriin {1..100};do curl localhost:9000/ ;done
At some point you will see the following stack trace appear in the terminal
[error] k.m.ModuleRegistry - Reporter [Zipkin Reporter] failed to process a spans tick.
java.lang.NoSuchMethodError: java.lang.Math.floorDiv(JI)J
at kamon.zipkin.ZipkinReporter.convertSpan(ZipkinReporter.scala:60)
at kamon.zipkin.ZipkinReporter.$anonfun$reportSpans$1(ZipkinReporter.scala:57)
at scala.collection.immutable.List.map(List.scala:219)
at scala.collection.immutable.List.map(List.scala:79)
at kamon.zipkin.ZipkinReporter.reportSpans(ZipkinReporter.scala:57)
at kamon.module.ModuleRegistry$$anon$2.$anonfun$run$4(ModuleRegistry.scala:214)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:661)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
Probing a little in sbt console, there is no such problem with doing pretty much exactly what ZipkinReporter.convertSpan appears to be doing.
The text was updated successfully, but these errors were encountered:
Setup
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
sbt new playframework/play-scala-seed.g8 --name=play-zipkin-2.8 cd play-zipkin-2.8
Append the following to
project/plugins.sbt
:build.sbt:
Optional: Run a basic Zipkin service
Build & run
Run some load
At some point you will see the following stack trace appear in the terminal
Probing a little in sbt console, there is no such problem with doing pretty much exactly what
ZipkinReporter.convertSpan
appears to be doing.The text was updated successfully, but these errors were encountered: