You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/08/13 07:38:00 UTC
[jira] [Closed] (FLINK-8893) NPE when netty try to allocate
directBuffer
[ https://issues.apache.org/jira/browse/FLINK-8893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler closed FLINK-8893.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Fixed by upgrading netty to 4.1.
> 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
> Priority: Blocker
> Fix For: 1.6.0
>
>
> 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)