java.lang.NoClassDefFoundError: Could not initialize class com.twitter.ambrose.util.JSONUtil

GitHub | shashank-expedia | 8 months 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

    GitHub comment 156#233168949

    GitHub | 8 months ago | shashank-expedia
    java.lang.NoClassDefFoundError: Could not initialize class com.twitter.ambrose.util.JSONUtil
  2. 0

    NoClassDefFoundError on JSONUtil

    GitHub | 3 years ago | ojilles
    java.lang.NoClassDefFoundError: Could not initialize class com.twitter.ambrose.util.JSONUtil

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class com.twitter.ambrose.util.JSONUtil

      at com.twitter.ambrose.server.APIHandler.sendJson()
    2. com.twitter.ambrose
      APIHandler.handle
      1. com.twitter.ambrose.server.APIHandler.sendJson(APIHandler.java:39)
      2. com.twitter.ambrose.server.APIHandler.handle(APIHandler.java:150)
      2 frames
    3. Jetty Server
      SocketConnector$Connection.run
      1. org.mortbay.jetty.handler.HandlerList.handle(HandlerList.java:49)
      2. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      3. org.mortbay.jetty.Server.handle(Server.java:326)
      4. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
      5. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
      6. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
      7. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
      8. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
      9. org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
      9 frames
    4. Jetty Util
      QueuedThreadPool$PoolThread.run
      1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
      1 frame