puniverse / quasar

Fibers, Channels and Actors for the JVM
http://docs.paralleluniverse.co/quasar/
Other
4.56k stars 575 forks source link

Synch Call is not working called within fiberHandler #310

Open HR2132 opened 6 years ago

HR2132 commented 6 years ago

WARNING: Uninstrumented methods (marked '') or call-sites (marked '!!') detected on the call stack: at co.paralleluniverse.common.util.ExtendedStackTrace.here (ExtendedStackTrace.java:44 bci: 8) at co.paralleluniverse.fibers.Fiber.checkInstrumentation (Fiber.java:1626 bci: 0) at co.paralleluniverse.fibers.Fiber.verifySuspend (Fiber.java:1599 bci: 6) at co.paralleluniverse.fibers.FiberAsync.run) (FiberAsync.java:118 bci: 92) at io.vertx.ext.sync.Sync.awaitResult(java.util.function.Consumer) (Sync.java:45 bci: 95) at com.mcx.dms.verticles.VertxRestServer.handleCommodityPayin(io.vertx.ext.web.RoutingContext) (VertxRestServer.java:189 bci: 93) at io.vertx.ext.sync.Sync.lambda$null$19031fba$1 (Sync.java:88 bci: 2) (optimized) at co.paralleluniverse.strands.SuspendableUtils$VoidSuspendableCallable.run (SuspendableUtils.java:44 bci: 4) at co.paralleluniverse.strands.SuspendableUtils$VoidSuspendableCallable.run (SuspendableUtils.java:32 bci: 1) at co.paralleluniverse.fibers.Fiber.run (Fiber.java:1027 bci: 11) at co.paralleluniverse.fibers.Fiber.run1 (Fiber.java:1022 bci: 1) WARNING: Uninstrumented methods (marked '') or call-sites (marked '!!') detected on the call stack: at co.paralleluniverse.common.util.ExtendedStackTrace.here (ExtendedStackTrace.java:44 bci: 8) at co.paralleluniverse.fibers.Fiber.checkInstrumentation (Fiber.java:1626 bci: 0) at co.paralleluniverse.fibers.Fiber.verifySuspend (Fiber.java:1599 bci: 6) at co.paralleluniverse.fibers.Fiber.verifySuspend (Fiber.java:1594 bci: 3) at co.paralleluniverse.fibers.Fiber.park (Fiber.java:585 bci: 0) at co.paralleluniverse.fibers.Fiber.park (Fiber.java:589 bci: 4) at co.paralleluniverse.fibers.FiberAsync.run) (FiberAsync.java:121 bci: 158) at io.vertx.ext.sync.Sync.awaitResult(java.util.function.Consumer) (Sync.java:45 bci: 95) at com.mcx.dms.verticles.VertxRestServer.handleCommodityPayin(io.vertx.ext.web.RoutingContext) (VertxRestServer.java:189 bci: 93) at io.vertx.ext.sync.Sync.lambda$null$19031fba$1 (Sync.java:88 bci: 2) (optimized) at co.paralleluniverse.strands.SuspendableUtils$VoidSuspendableCallable.run (SuspendableUtils.java:44 bci: 4) at co.paralleluniverse.strands.SuspendableUtils$VoidSuspendableCallable.run (SuspendableUtils.java:32 bci: 1) at co.paralleluniverse.fibers.Fiber.run (Fiber.java:1027 bci: 11) at co.paralleluniverse.fibers.Fiber.run1 (Fiber.java:1022 bci: 1) co.paralleluniverse.fibers.SuspendExecution: Oops. Forgot to instrument a method. Run your program with -Dco.paralleluniverse.fibers.verifyInstrumentation=true to catch the culprit!

doctorpangloss commented 6 years ago

com.mcx.dms.verticles.VertxRestServer.handleCommodityPayin...

Add @Suspendable to this method