Skip to content

Instantly share code, notes, and snippets.

@rbjorklin
Last active January 29, 2018 10:09
Show Gist options
  • Save rbjorklin/28cf847c1bb673620c62cf3781b92737 to your computer and use it in GitHub Desktop.
Save rbjorklin/28cf847c1bb673620c62cf3781b92737 to your computer and use it in GitHub Desktop.
Java stacktrace from GELF-appender in infinite loop.
"qtp1958402562-67368037" #67368037 prio=5 os_prio=0 tid=0x00007f0188ae0800 nid=0x4d5b runnable [0x00007f01c2ff1000]
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
- locked <0x000000009bc167f0> (a java.lang.Object)
at biz.paluch.logging.gelf.intern.sender.GelfTCPSSLSender.doHandshake(GelfTCPSSLSender.java:167)
at biz.paluch.logging.gelf.intern.sender.GelfTCPSSLSender.connect(GelfTCPSSLSender.java:61)
at biz.paluch.logging.gelf.intern.sender.GelfTCPSender.sendMessage(GelfTCPSender.java:103)
- locked <0x00000000900390f8> (a java.lang.Object)
at biz.paluch.logging.gelf.logback.GelfLogbackAppender.append(GelfLogbackAppender.java:102)
at biz.paluch.logging.gelf.logback.GelfLogbackAppender.append(GelfLogbackAppender.java:76)
at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:82)
- locked <0x0000000090038d18> (a biz.paluch.logging.gelf.logback.GelfLogbackAppender)
at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:51)
at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270)
at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)
at ch.qos.logback.classic.Logger.warn(Logger.java:692)
at com.company.product.api.exchange.ApiExceptionMapper.toResponse(ApiExceptionMapper.java:44)
at org.glassfish.jersey.server.ServerRuntime$Responder.mapException(ServerRuntime.java:572)
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:453)
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:313)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:288)
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1110)
at org.glassfish.jersey.jetty.JettyHttpContainer.handle(JettyHttpContainer.java:202)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:748)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment