You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Liya Fan (Jira)" <ji...@apache.org> on 2020/05/03 02:45:00 UTC

[jira] [Assigned] (ARROW-8665) [Java] DenseUnionWriter#setPosition fails with NullPointerException

     [ https://issues.apache.org/jira/browse/ARROW-8665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liya Fan reassigned ARROW-8665:
-------------------------------

    Assignee: Liya Fan

> [Java] DenseUnionWriter#setPosition fails with NullPointerException
> -------------------------------------------------------------------
>
>                 Key: ARROW-8665
>                 URL: https://issues.apache.org/jira/browse/ARROW-8665
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 0.17.0
>            Reporter: David Li
>            Assignee: Liya Fan
>            Priority: Major
>
> The writer always iterates through all BaseWriters, and an array of 128 BaseWriters is allocated. So if you do not have 128 typeIds and do not touch all of them, setPosition will give you an exception.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)