java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;

1,214 views
Skip to first unread message

Volker Berlin

unread,
Nov 14, 2012, 6:14:00 AM11/14/12
to waffle...@googlegroups.com
The download file at https://github.com/downloads/dblock/waffle/Waffle.1.5.zip does not contain a platform.jar.

I download it from https://github.com/twall/jna/blob/3.5.0/dist/platform.jar?raw=true

Now I receive the follow exception:

java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
	at com.sun.jna.Structure.fieldOrder(Structure.java:831)
	at com.sun.jna.Structure.getFields(Structure.java:857)
	at com.sun.jna.Structure.deriveLayout(Structure.java:983)
	at com.sun.jna.Structure.calculateSize(Structure.java:908)
	at com.sun.jna.Structure.calculateSize(Structure.java:896)
	at com.sun.jna.Structure.allocateMemory(Structure.java:357)
	at com.sun.jna.Structure.<init>(Structure.java:191)
	at com.sun.jna.Structure.<init>(Structure.java:180)
	at com.sun.jna.Structure.<init>(Structure.java:167)
	at com.sun.jna.Structure.<init>(Structure.java:159)
	at com.sun.jna.platform.win32.Sspi$SecHandle.<init>(Sspi.java:147)
	at com.sun.jna.platform.win32.Sspi$CredHandle.<init>(Sspi.java:189)
	at waffle.windows.auth.impl.WindowsCredentialsHandleImpl.initialize(Unknown Source)
	at waffle.windows.auth.impl.WindowsAuthProviderImpl.acceptSecurityToken(Unknown Source)
	at waffle.servlet.spi.NegotiateSecurityFilterProvider.doFilter(Unknown Source)
	at waffle.servlet.spi.SecurityFilterProviderCollection.doFilter(Unknown Source)
	at waffle.servlet.NegotiateSecurityFilter.doFilter(Unknown Source)

Volker Berlin

unread,
Nov 14, 2012, 6:28:02 AM11/14/12
to waffle...@googlegroups.com
I must have a problem with my eyes. Now I have see the platform.jar and it work. But the jar files in the waffle download are not identical to the jna downloads.

Daniel Doubrovkine

unread,
Nov 14, 2012, 7:04:21 AM11/14/12
to waffle...@googlegroups.com
The Waffle ones came from the Maven repo and they are slightly different in their meta descriptions. That's annoying since there're 2 versions of the JARs for 3.5.0 in the wild and both are good ones. JNA has fixed that or plans to fix it.


On Wed, Nov 14, 2012 at 6:28 AM, Volker Berlin <volker...@googlemail.com> wrote:
I must have a problem with my eyes. Now I have see the platform.jar and it work. But the jar files in the waffle download are not identical to the jna downloads.



--

dB. | Moscow - Geneva - Seattle - New York
dblock.org - @dblockdotorg


Reply all
Reply to author
Forward
0 new messages