Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic exception: java.util.NoSuchElementException: backend-response-forwarder #4

Open
andrewhall-premier opened this issue Apr 29, 2022 · 0 comments

Comments

@andrewhall-premier
Copy link

andrewhall-premier commented Apr 29, 2022

Periodically receiving the following Exception when the mavenproxy is attempting cleanup. I can't narrow down the scenario; consequently, I can't provide a test case. However, I suggest first checking for the presence of the channel handler. FYI - the exception does not appear to actually break anything and the task completes successfully

[-----:~/code/kotlin-prototype] master(+24/-104)+ ± ./gradlew buildApplicationDockerImage
Failed to mark a promise as failure because it has succeeded already: DefaultChannelPromise@75b671cf(success)
java.util.NoSuchElementException: backend-response-forwarder
        at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:1073)
        at io.netty.channel.DefaultChannelPipeline.remove(DefaultChannelPipeline.java:423)
        at org.unbrokendome.awscodeartifact.mavenproxy.ProxyFrontendHandler.cleanupBackendChannel(ProxyFrontendHandler.kt:393)
        at org.unbrokendome.awscodeartifact.mavenproxy.ProxyFrontendHandler.cleanupAllState(ProxyFrontendHandler.kt:378)
        at org.unbrokendome.awscodeartifact.mavenproxy.ProxyFrontendHandler.afterResponseSent(ProxyFrontendHandler.kt:362)
        at org.unbrokendome.awscodeartifact.mavenproxy.ProxyFrontendHandler.write(ProxyFrontendHandler.kt:271)
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
        at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709)
        at io.netty.channel.AbstractChannelHandlerContext$WriteTask.run(AbstractChannelHandlerContext.java:1069)
        at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java.base/java.lang.Thread.run(Thread.java:834)
<======-------> 50% CONFIGURING [6s]
> :migrations > Resolve files of :migrations:classpath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant