maksimyego-db opened a new issue, #44344: URL: https://github.com/apache/arrow/issues/44344
### Describe the bug, including details regarding any error messages, version, and platform. When [slicing a VectorSchemaRoot](https://github.com/apache/arrow/blob/release-17.0.0-rc2/java/vector/src/main/java/org/apache/arrow/vector/VectorSchemaRoot.java#L341) wrapping a NullVector, [NullVector.getAllocator()](https://github.com/apache/arrow/blob/release-17.0.0-rc2/java/vector/src/main/java/org/apache/arrow/vector/NullVector.java#L160) will throw `UnsupportedOperationException("Tried to get allocator from NullVector")` Tangentially related to https://github.com/apache/arrow/issues/30866 that was fixed in https://github.com/apache/arrow/pull/41066 for some vector types. ### Component(s) Java -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org