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.
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.