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

[jira] [Created] (ARROW-17591) Arrow is NOT working with Java 17

evan created ARROW-17591:
----------------------------

             Summary: Arrow is NOT working with Java 17
                 Key: ARROW-17591
                 URL: https://issues.apache.org/jira/browse/ARROW-17591
             Project: Apache Arrow
          Issue Type: Bug
          Components: Java
    Affects Versions: 9.0.0
            Reporter: evan


## Running environment:
 * OS: mac monterey
 * Language: Java
 * Java version: 17.0.2
 * Arrow version: 9.0.0

## Issue:

 
{code:java}
java.lang.NoClassDefFoundError: Could not initialize class org.apache.arrow.memory.util.MemoryUtil
        at org.apache.arrow.memory.ArrowBuf.setZero(ArrowBuf.java:1175)
        at org.apache.arrow.vector.BaseFixedWidthVector.initValidityBuffer(BaseFixedWidthVector.java:216)
        at org.apache.arrow.vector.BaseFixedWidthVector.zeroVector(BaseFixedWidthVector.java:210)
        at org.apache.arrow.vector.BaseFixedWidthVector.allocateBytes(BaseFixedWidthVector.java:342)
        at org.apache.arrow.vector.BaseFixedWidthVector.allocateNew(BaseFixedWidthVector.java:309)
        at org.apache.arrow.vector.BaseFixedWidthVector.allocateNew(BaseFixedWidthVector.java:274)
        at com.thingworks.jarvis.persistent.memory.data.array.arrow.VarTextArrayDataStream.<init>(VarTextArrayDataStream.java:65)
        at com.thingworks.jarvis.persistent.memory.data.array.arrow.VarTextArrayDataStream.<init>(VarTextArrayDataStream.java:53) {code}
 

 

## Things have done to try to fix it:

1. adding --add-opens java.base/java.nio=ALL-UNNAMED to jvm args



--
This message was sent by Atlassian Jira
(v8.20.10#820010)