<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,<br>
<br>
Using Undertow 1.3.23.Final, I <i>sometimes</i> get this error,
when running my WebSocket tests :<br>
<br>
------------------------------------------</p>
<p>2016-08-02 21:56:15 [ERROR] XNIO001007: A channel event listener
threw an exception ~ Caller+0 at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:94)<br>
java.lang.StackOverflowError: null<br>
at
ch.qos.logback.classic.pattern.ThrowableProxyConverter.subjoinSTEPArray(ThrowableProxyConverter.java:197)<br>
at
ch.qos.logback.classic.pattern.ThrowableProxyConverter.recursiveAppend(ThrowableProxyConverter.java:161)<br>
at
ch.qos.logback.classic.pattern.ThrowableProxyConverter.throwableProxyToString(ThrowableProxyConverter.java:151)<br>
at
ch.qos.logback.classic.pattern.ThrowableProxyConverter.convert(ThrowableProxyConverter.java:145)<br>
at
ch.qos.logback.classic.pattern.ThrowableProxyConverter.convert(ThrowableProxyConverter.java:1)<br>
at
ch.qos.logback.core.pattern.FormattingConverter.write(FormattingConverter.java:36)<br>
at
ch.qos.logback.core.pattern.PatternLayoutBase.writeLoopOnConverters(PatternLayoutBase.java:114)<br>
at
ch.qos.logback.classic.PatternLayout.doLayout(PatternLayout.java:141)<br>
at
ch.qos.logback.classic.PatternLayout.doLayout(PatternLayout.java:1)<br>
at
ch.qos.logback.core.encoder.LayoutWrappingEncoder.doEncode(LayoutWrappingEncoder.java:130)<br>
at
ch.qos.logback.core.OutputStreamAppender.writeOut(OutputStreamAppender.java:187)<br>
at
ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:212)<br>
at
ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:100)<br>
at
ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:84)<br>
at
ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48)<br>
at
ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270)<br>
at
ch.qos.logback.classic.Logger.callAppenders(Logger.java:257)<br>
at
ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421)<br>
at
ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)<br>
at ch.qos.logback.classic.Logger.log(Logger.java:765)<br>
at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown
Source)<br>
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
at java.lang.reflect.Method.invoke(Method.java:497)<br>
at
org.jboss.logging.Slf4jLocationAwareLogger.doLog(Slf4jLocationAwareLogger.java:89)<br>
at
org.jboss.logging.Slf4jLocationAwareLogger.doLogf(Slf4jLocationAwareLogger.java:82)<br>
at org.jboss.logging.Logger.logf(Logger.java:2445)<br>
at
org.xnio._private.Messages_$logger.listenerException(Messages_$logger.java:923)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:94)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener$2.run(AbstractFramedChannel.java:981)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel.runInIoThread(AbstractFramedChannel.java:235)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:978)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:937)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener$2.run(AbstractFramedChannel.java:981)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel.runInIoThread(AbstractFramedChannel.java:235)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:978)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:937)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener$2.run(AbstractFramedChannel.java:981)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel.runInIoThread(AbstractFramedChannel.java:235)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:978)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:937)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener$2.run(AbstractFramedChannel.java:981)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel.runInIoThread(AbstractFramedChannel.java:235)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:978)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:937)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener$2.run(AbstractFramedChannel.java:981)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel.runInIoThread(AbstractFramedChannel.java:235)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:978)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:937)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
...<br>
------------------------------------------<br>
<br>
The <br>
------------------------------------------<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener$2.run(AbstractFramedChannel.java:981)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel.runInIoThread(AbstractFramedChannel.java:235)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:978)<br>
at
io.undertow.server.protocol.framed.AbstractFramedChannel$FrameCloseListener.handleEvent(AbstractFramedChannel.java:937)<br>
at
org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)<br>
------------------------------------------<br>
<br>
part is repeated a lot of times before a stack overflow is
reached.<br>
<br>
I'm currently not able to reproduce the error on demand, most of
the time it works just fine. I'm still investigating. <br>
<br>
I'd like to know if someone has already seen this? Any potential
causes you may think of?<br>
<br>
Thanks,<br>
<br>
Julien<br>
<br>
<br>
</p>
</body>
</html>