-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
NPE platform.win32.Netapi32Util.getDomainTrusts(Netapi32Util.java:609) #78
Comments
Looks like a bug. Appreciate a pull request with a fix, please. |
dblock
added a commit
to dblock/jna
that referenced
this issue
Jun 9, 2012
Took care of it, 501dc90. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems that I am working with some Domain Trusts that do not DNS entries and this is causing some issues because the code assumes that a String will always be returned.
Looking at the lines 609 and 610
@ https://github.com/twall/jna/blob/master/contrib/platform/src/com/sun/jna/platform/win32/Netapi32Util.java
a NPE could be thrown.
The text was updated successfully, but these errors were encountered: