proxy-vole icon indicating copy to clipboard operation
proxy-vole copied to clipboard

Support for JNA 5 (java.lang.NoSuchFieldError: SIZE)

Open dbdr opened this issue 6 years ago • 2 comments

I'm getting this exception:

java.lang.NoSuchFieldError: SIZE
       at com.github.markusbernhardt.proxy.jna.win.WTypes2$LPWSTRByReference.<init>(WTypes2.java:42)

A web search on "java.lang.NoSuchFieldError: SIZE" points to cases where code built for JNA 4.5 being used with JNA 5. Proxyvole 1.0.5 depends on JNA 4.5.1. The problem is that when using other dependencies that require JNA 5, that version will be picked, probably causing the failure in proxyvole.

Would it be possible for proxyvole to upgrade to JNA 5?

dbdr avatar Oct 15 '19 09:10 dbdr

Markus doesn't answer any issues or pull requests here for nearly a year now. This project is dead, I think. Unfortunately. :-(

gschnepp avatar Mar 10 '20 15:03 gschnepp

@dbdr Fixed with https://github.com/akuhtz/proxy-vole/releases/tag/1.0.7

akuhtz avatar Jun 13 '20 09:06 akuhtz