Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Dummy NPEs in DefaultAllocationManagerOption #258

Open
asfimport opened this issue Aug 23, 2021 · 0 comments
Open

[Java] Dummy NPEs in DefaultAllocationManagerOption #258

asfimport opened this issue Aug 23, 2021 · 0 comments
Labels
Type: enhancement New feature or request

Comments

@asfimport
Copy link

Looking at DefaultAllocationManagerOption [1], I see that we could prevent dummy NPEs when trying to convert an often not-set environment option into enums.
In my case, it was a bit painful to have this error, even if properly caught, because it was polluting debug when looking for unexpected NPEs. This was raising false positives.
 
I was wondering if you were open to a pull request to change this little inconvenience?
 
[1] https://github.com/apache/arrow/blob/master/java/memory/memory-core/src/main/java/org/apache/arrow/memory/DefaultAllocationManagerOption.java#L64-L82

Reporter: Olivier Peyrusse

Note: This issue was originally created as ARROW-13697. Please see the migration documentation for further details.

@assignUser assignUser transferred this issue from apache/arrow Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant