Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mvmn
, 1 year ago
This method is obsolete, use getFieldOrder() instead
java.lang.Error: This method is obsolete, use getFieldOrder() instead	at com.sun.jna.Structure.setFieldOrder(Structure.java:886)	at org.gphoto2.jna.GPhoto2Native$CameraFilePath.(GPhoto2Native.java:307)	at org.gphoto2.jna.GPhoto2Native$CameraFilePath$ByReference.(GPhoto2Native.java:321)	at org.gphoto2.Camera.captureImage(Camera.java:133)	at org.gphoto2.Camera.main(Camera.java:195)