You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "aitozi (JIRA)" <ji...@apache.org> on 2018/03/08 07:53:00 UTC
[jira] [Created] (FLINK-8893) NPE when netty try to allocate
directBuffer
aitozi created FLINK-8893:
-----------------------------
Summary: NPE when netty try to allocate directBuffer
Key: FLINK-8893
URL: https://issues.apache.org/jira/browse/FLINK-8893
Project: Flink
Issue Type: Bug
Components: Network
Affects Versions: 1.3.2
Reporter: aitozi
Job failed with this exception
{code:java}
Caused by: java.lang.NullPointerException
at io.netty.buffer.PoolChunk.initBufWithSubpage(PoolChunk.java:381)
at io.netty.buffer.PoolChunk.initBufWithSubpage(PoolChunk.java:369)
at io.netty.buffer.PoolArena.allocate(PoolArena.java:194)
at io.netty.buffer.PoolArena.allocate(PoolArena.java:132)
at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:271)
at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:155)
at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:146)
at org.apache.flink.runtime.io.network.netty.NettyBufferPool.directBuffer(NettyBufferPool.java:278)
at org.apache.flink.runtime.io.network.netty.NettyMessage.allocateBuffer(NettyMessage.java:72)
at org.apache.flink.runtime.io.network.netty.NettyMessage.access$000(NettyMessage.java:50)
at org.apache.flink.runtime.io.network.netty.NettyMessage$BufferResponse.write(NettyMessage.java:227)
... 26 more
{code}
After research, this may be caused by allocate from muti-thread.
https://github.com/netty/netty/issues/4198
https://github.com/netty/netty/pull/4388
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)