java.lang.NoClassDefFoundError: Could not initialize class com.twitter.server.util.JsonConverter$

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mikebridge
, 1 year ago
Could not initialize class com.twitter.server.util.JsonConverter$
java.lang.NoClassDefFoundError: Could not initialize class com.twitter.server.util.JsonConverter$
at com.twitter.server.handler.MetricQueryHandler.apply(MetricQueryHandler.scala:54)
at com.twitter.server.handler.MetricQueryHandler.apply(MetricQueryHandler.scala:34)
at com.twitter.server.view.IndexView.apply(IndexView.scala:123)
at com.twitter.server.view.IndexView.apply(IndexView.scala:114)
at com.twitter.finagle.http.HttpMuxer.apply(HttpMuxer.scala:62)
at com.twitter.server.util.HttpUtils$$anonfun$combine$1.com$twitter$server$util$HttpUtils$$anonfun$$loop$1(HttpUtils.scala:25)
at com.twitter.server.util.HttpUtils$$anonfun$combine$1.apply(HttpUtils.scala:35)
at com.twitter.server.util.HttpUtils$$anonfun$combine$1.apply(HttpUtils.scala:20)
at com.twitter.server.AdminHttpServer$$anon$1.apply(AdminHttpServer.scala:74)
at com.twitter.server.AdminHttpServer$$anon$1.apply(AdminHttpServer.scala:73)
at com.twitter.server.view.NotFoundView.apply(NotFoundView.scala:41)
at com.twitter.server.view.NotFoundView.apply(NotFoundView.scala:37)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.ServiceProxy.apply(Service.scala:120)
at com.twitter.finagle.Service$$anon$1.apply(Service.scala:16)
at com.twitter.finagle.tracing.ServerDestTracingProxy$$anon$1.apply(DestinationTracing.scala:32)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.Service$$anon$1.apply(Service.scala:16)
at com.twitter.finagle.service.DeadlineStatsFilter.apply(DeadlineStatsFilter.scala:59)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.Service$$anon$1.apply(Service.scala:16)
at com.twitter.finagle.filter.ExceptionSourceFilter.apply(ExceptionSourceFilter.scala:42)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.http.filter.HttpNackFilter.apply(HttpNackFilter.scala:55)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.Service$$anon$1.apply(Service.scala:16)
at com.twitter.finagle.http.HttpServerTraceInitializer$$anonfun$8$$anonfun$apply$2$$anonfun$apply$3.apply(Codec.scala:476)
at com.twitter.finagle.http.HttpServerTraceInitializer$$anonfun$8$$anonfun$apply$2$$anonfun$apply$3.apply(Codec.scala:476)
at com.twitter.util.Local.let(Local.scala:141)
at com.twitter.finagle.context.Context$class.let(Context.scala:176)
at com.twitter.finagle.http.TraceInfo$.letTraceIdFromRequestHeaders(Codec.scala:420)
at com.twitter.finagle.http.HttpServerTraceInitializer$$anonfun$8$$anonfun$apply$2.apply(Codec.scala:476)
at com.twitter.util.Local.let(Local.scala:141)
at com.twitter.finagle.context.Context$class.let(Context.scala:176)
at com.twitter.finagle.http.HttpServerTraceInitializer$$anonfun$8.apply(Codec.scala:475)
at com.twitter.finagle.Filter$$anon$6.apply(Filter.scala:254)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.Service$$anon$1.apply(Service.scala:16)
at com.twitter.finagle.filter.MonitorFilter.apply(MonitorFilter.scala:39)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.Service$$anon$1.apply(Service.scala:16)
at com.twitter.finagle.filter.PayloadSizeFilter.apply(PayloadSizeFilter.scala:29)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.http.filter.ServerContextFilter$$anonfun$apply$1.apply(ContextFilter.scala:16)
at com.twitter.finagle.http.filter.ServerContextFilter$$anonfun$apply$1.apply(ContextFilter.scala:16)
at com.twitter.finagle.http.codec.HttpContext$.read(HttpContext.scala:52)
at com.twitter.finagle.http.filter.ServerContextFilter.apply(ContextFilter.scala:16)
at com.twitter.finagle.Filter$$anon$1.apply(Filter.scala:79)
at com.twitter.finagle.http.filter.DtabFilter.apply(DtabFilter.scala:26)
at com.twitter.finagle.http.codec.HttpServerDispatcher.dispatch(HttpServerDispatcher.scala:61)
at com.twitter.finagle.http.exp.GenSerialServerDispatcher$$anonfun$com$twitter$finagle$http$exp$GenSerialServerDispatcher$$loop$1$$anonfun$apply$1.apply$mcV$sp(ServerDispatcher.scala:55)
at com.twitter.finagle.http.exp.GenSerialServerDispatcher$$anonfun$com$twitter$finagle$http$exp$GenSerialServerDispatcher$$loop$1$$anonfun$apply$1.apply(ServerDispatcher.scala:54)
at com.twitter.finagle.http.exp.GenSerialServerDispatcher$$anonfun$com$twitter$finagle$http$exp$GenSerialServerDispatcher$$loop$1$$anonfun$apply$1.apply(ServerDispatcher.scala:54)
at com.twitter.util.Local.let(Local.scala:141)
at com.twitter.finagle.context.Context$class.let(Context.scala:176)
at com.twitter.finagle.http.exp.GenSerialServerDispatcher$$anonfun$com$twitter$finagle$http$exp$GenSerialServerDispatcher$$loop$1.apply(ServerDispatcher.scala:53)
at com.twitter.finagle.http.exp.GenSerialServerDispatcher$$anonfun$com$twitter$finagle$http$exp$GenSerialServerDispatcher$$loop$1.apply(ServerDispatcher.scala:48)
at com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:1092)
at com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:1091)
at com.twitter.util.Promise$Transformer.liftedTree1$1(Promise.scala:107)
at com.twitter.util.Promise$Transformer.k(Promise.scala:107)
at com.twitter.util.Promise$Transformer.apply(Promise.scala:117)
at com.twitter.util.Promise$Transformer.apply(Promise.scala:98)
at com.twitter.util.Promise$$anon$1.run(Promise.scala:436)
at com.twitter.concurrent.LocalScheduler$Activation.run(Scheduler.scala:201)
at com.twitter.concurrent.LocalScheduler$Activation.submit(Scheduler.scala:159)
at com.twitter.concurrent.LocalScheduler.submit(Scheduler.scala:239)
at com.twitter.concurrent.Scheduler$.submit(Scheduler.scala:107)
at com.twitter.util.Promise.runq(Promise.scala:405)
at com.twitter.util.Promise.updateIfEmpty(Promise.scala:796)
at com.twitter.util.Promise.update(Promise.scala:770)
at com.twitter.util.Promise.setValue(Promise.scala:746)
at com.twitter.concurrent.AsyncQueue.offer(AsyncQueue.scala:120)
at com.twitter.finagle.netty3.transport.ChannelTransport.handleUpstream(ChannelTransport.scala:55)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.SimpleChannelHandler.messageReceived(SimpleChannelHandler.java:142)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:108)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.handler.codec.http.HttpContentEncoder.messageReceived(HttpContentEncoder.java:82)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

32 times, 5 months ago

Know the solutions? Share your knowledge to help other developers to debug faster.