java.lang.UnsupportedOperationException: Current thread CPU time measurement is not supported.

GitHub | chikei | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.UnsupportedOperationException: Current thread CPU time measurement is not supported.

    GitHub | 3 years ago | chikei
    java.lang.UnsupportedOperationException: Current thread CPU time measurement is not supported.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Current thread CPU time measurement is not supported.

      at sun.management.ThreadImpl.verifyCurrentThreadCpuTime()
    2. Java RT
      ThreadImpl.getCurrentThreadCpuTime
      1. sun.management.ThreadImpl.verifyCurrentThreadCpuTime(ThreadImpl.java:206)
      2. sun.management.ThreadImpl.getCurrentThreadCpuTime(ThreadImpl.java:213)
      2 frames
    3. util-core
      Future.flatMap
      1. com.twitter.concurrent.LocalScheduler$Activation.submit(Scheduler.scala:93)
      2. com.twitter.concurrent.LocalScheduler.submit(Scheduler.scala:140)
      3. com.twitter.concurrent.Scheduler$.submit(Scheduler.scala:54)
      4. com.twitter.util.Promise.continue(Promise.scala:524)
      5. com.twitter.util.Promise$Responder$class.transform(Promise.scala:135)
      6. com.twitter.util.Promise.transform(Promise.scala:224)
      7. com.twitter.util.Future.flatMap(Future.scala:670)
      7 frames
    4. finagle-core
      ServerBridge.channelOpen
      1. com.twitter.finagle.ServiceFactory$$anon$5.apply(Service.scala:134)
      2. com.twitter.finagle.Filter$$anon$3.apply(Filter.scala:81)
      3. com.twitter.finagle.server.DefaultServer.serveTransport(DefaultServer.scala:138)
      4. com.twitter.finagle.server.DefaultServer$$anon$1$$anonfun$8.apply(DefaultServer.scala:160)
      5. com.twitter.finagle.server.DefaultServer$$anon$1$$anonfun$8.apply(DefaultServer.scala:159)
      6. com.twitter.finagle.netty3.ServerBridge.channelOpen(server.scala:289)
      6 frames
    5. Netty
      OneToOneDecoder.handleUpstream
      1. org.jboss.netty.handler.codec.oneone.OneToOneDecoder.handleUpstream(OneToOneDecoder.java:60)
      1 frame
    6. finagle-thrift
      ThriftFrameCodec.handleUpstream
      1. com.twitter.finagle.thrift.ThriftFrameCodec.handleUpstream(ThriftFrameCodec.scala:17)
      1 frame
    7. Netty
      NioServerBoss.run
      1. org.jboss.netty.channel.Channels.fireChannelOpen(Channels.java:170)
      2. org.jboss.netty.channel.socket.nio.NioAcceptedSocketChannel.<init>(NioAcceptedSocketChannel.java:42)
      3. org.jboss.netty.channel.socket.nio.NioServerBoss.registerAcceptedChannel(NioServerBoss.java:137)
      4. org.jboss.netty.channel.socket.nio.NioServerBoss.process(NioServerBoss.java:104)
      5. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:312)
      6. org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
      6 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:724)
      3 frames