You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Received a NPE when attempting to download/get a file from S3 using the SDK. When this occurs my future.get() never completes as though the completion or error signal is not bubbled up to the application.
2022-09-21T11:37:19.889-0600 WARN aws-java-sdk-NettyEventLoop-0-5 i.n.u.c.DefaultPromise An exception was thrown by software.amazon.awssdk.http.nio.netty.internal.NettyRequestExecutor$$Lambda$2847/0x0000000801ae7098.operationComplete() java.lang.NullPointerException: Cannot invoke "io.netty.channel.Channel.attr(io.netty.util.AttributeKey)" because "channel" is null
at software.amazon.awssdk.http.nio.netty.internal.utils.NettyUtils.closedChannelMessage(NettyUtils.java:135)
at software.amazon.awssdk.http.nio.netty.internal.utils.NettyUtils.decorateException(NettyUtils.java:71)
at software.amazon.awssdk.http.nio.netty.internal.NettyRequestExecutor.handleFailure(NettyRequestExecutor.java:310)
at software.amazon.awssdk.http.nio.netty.internal.NettyRequestExecutor.makeRequestListener(NettyRequestExecutor.java:189)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:552)
at io.netty.util.concurrent.DefaultPromise.access$200(DefaultPromise.java:35)
at io.netty.util.concurrent.DefaultPromise$1.run(DefaultPromise.java:502)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at java.base/java.lang.Thread.run(Unknown Source)
Expected Behavior
No exception
Current Behavior
NPE
Reproduction Steps
I'm not sure the exact scenario for which it occurs as it occurs sporadically.
Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Received a NPE when attempting to download/get a file from S3 using the SDK. When this occurs my
future.get()
never completes as though the completion or error signal is not bubbled up to the application.Expected Behavior
No exception
Current Behavior
NPE
Reproduction Steps
I'm not sure the exact scenario for which it occurs as it occurs sporadically.
Possible Solution
No response
Additional Information/Context
No response
AWS Java SDK version used
2.17.261
JDK version used
eclipse-temurin:17.0.3_7-jre
Operating System and version
Linux AMD64 Docker
The text was updated successfully, but these errors were encountered: