Upgrade IKVM 8.1.5 to 8.14.0 Getting NegativeArraySizeException
We’re using IKVM 8.14.0 with .NET Framework 4.7.2. We converted the ngdbc.jar to a DLL using IKVM. When attempting to connect, we’re getting the following exception. Any help in diagnosing or resolving this issue would be greatly appreciated.
Note: The connection worked the very first time, but has not worked since.
Exception: NegativeArraySizeException: This exception was originally thrown at this call stack: IKVM.Runtime.JVM.ThrowPendingException() in JVM.cs java.net.Inet6AddressImpl.lookupAllHostAddr(string) java.net.InetAddress.2.lookupAllHostAddr(string) in InetAddress.java java.net.InetAddress.getAddressesFromNameService(string, java.net.InetAddress) in InetAddress.java java.net.InetAddress.NameServiceAddresses.get() in InetAddress.java java.net.InetAddress.getAllByName0(string, java.net.InetAddress, bool, bool) in InetAddress.java java.net.InetAddress.getLocalHost() in InetAddress.java com.sap.db.jdbc.DriverSapDB.DriverSapDB()
I can't manage to reproduce this. You're going to need to provide some sort of reproduction of some kind.