I’m getting a NPE when trying to connect to Dremio from the JDBC driver v17.0.0
It works ok locally on my Mac, but when deployed in a Linux container it fails.
Any ideas?
$ cat /etc/debian_version
buster/sid
$ java -version
openjdk version “1.8.0_302”
OpenJDK Runtime Environment (build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)
java.lang.NullPointerException: null
at cdjd.io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.<init>(PooledByteBufAllocatorL.java:153) ~[dremio-jdbc-driver-17.0.0-202107060524010627-31b5222b.jar:17.0.0-202107060524010627-31b5222b]
at cdjd.io.netty.buffer.PooledByteBufAllocatorL.<init>(PooledByteBufAllocatorL.java:49) ~[dremio-jdbc-driver-17.0.0-202107060524010627-31b5222b.jar:17.0.0-202107060524010627-31b5222b]
at cdjd.org.apache.arrow.memory.NettyAllocationManager.<clinit>(NettyAllocationManager.java:51) ~[dremio-jdbc-driver-17.0.0-202107060524010627-31b5222b.jar:17.0.0-202107060524010627-31b5222b]
at cdjd.org.apache.arrow.memory.DefaultAllocationManagerFactory.<clinit>(DefaultAllocationManagerFactory.java:26) ~[dremio-jdbc-driver-17.0.0-202107060524010627-31b5222b.jar:17.0.0-202107060524010627-31b5222b]
at java.base/java.lang.Class.forName0(Native Method) ~[na:na]
at java.base/java.lang.Class.forName(Unknown Source) ~[na:na]
For fun I tried v15 and got the same -
java.lang.NullPointerException: null
at cdjd.io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.<init>(PooledByteBufAllocatorL.java:153) ~[dremio-jdbc-driver-15.7.0-202106112202490252-2fb62d31.jar:15.7.0-202106112202490252-2fb62d31]
at cdjd.io.netty.buffer.PooledByteBufAllocatorL.<init>(PooledByteBufAllocatorL.java:49) ~[dremio-jdbc-driver-15.7.0-202106112202490252-2fb62d31.jar:15.7.0-202106112202490252-2fb62d31]
at cdjd.org.apache.arrow.memory.NettyAllocationManager.<clinit>(NettyAllocationManager.java:51) ~[dremio-jdbc-driver-15.7.0-202106112202490252-2fb62d31.jar:15.7.0-202106112202490252-2fb62d31]
at cdjd.org.apache.arrow.memory.DefaultAllocationManagerFactory.<clinit>(DefaultAllocationManagerFactory.java:26) ~[dremio-jdbc-driver-15.7.0-202106112202490252-2fb62d31.jar:15.7.0-202106112202490252-2fb62d31]
at java.lang.Class.forName0(Native Method) ~[na:1.8.0_302]
at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_302]