You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately purejavahidapi seems to be no longer compatible with JNA 5:
I observed the following stacktrace when I was trying to upgrade my project to JNA 5.0.0 in combination with 322fdb0 of purejavahidapi from jitpack.io
Exception in thread "DeviceRemovalHandler" java.lang.NoSuchFieldError: SIZE
at purejavahidapi.windows.WinDef.invalidPointerValue(WinDef.java:54)
at purejavahidapi.windows.WinDef.<clinit>(WinDef.java:50)
at purejavahidapi.windows.WinDef$HANDLE.fromNative(WinDef.java:307)
at com.sun.jna.NativeMappedConverter.fromNative(NativeMappedConverter.java:78)
at com.sun.jna.Function.invoke(Function.java:369)
at com.sun.jna.Library$Handler.invoke(Library.java:244)
at com.sun.proxy.$Proxy0.GetModuleHandle(Unknown Source)
at purejavahidapi.windows.Kernel32Library.GetModuleHandle(Kernel32Library.java:159)
at purejavahidapi.windows.DeviceRemovalHandler$1.run(DeviceRemovalHandler.java:54)
at java.base/java.lang.Thread.run(Thread.java:834)
Unfortunately purejavahidapi seems to be no longer compatible with JNA 5:
I observed the following stacktrace when I was trying to upgrade my project to JNA 5.0.0 in combination with 322fdb0 of purejavahidapi from jitpack.io
Please see java-native-access/jna@869bb33 for more information on why Pointer.SIZE was replaced in JNA 5.
The text was updated successfully, but these errors were encountered: