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
java.lang.Error: Structure.getFieldOrder() on class org.rococoa.cocoa.foundation.NSPoint does not provide enough names [0] ([]) to match declared fields [2] ([x, y])
#27
Open
yuexingliang opened this issue
Nov 11, 2024
· 0 comments
java.lang.Error: Structure.getFieldOrder() on class org.rococoa.cocoa.foundation.NSPoint does not provide enough names [0] ([]) to match declared fields [2] ([x, y])
at com.sun.jna.Structure.getFields(Structure.java:1077)
at com.sun.jna.Structure.deriveLayout(Structure.java:1232)
at com.sun.jna.Structure.calculateSize(Structure.java:1159)
at com.sun.jna.Structure.allocateMemory(Structure.java:401)
at com.sun.jna.Structure.allocateMemory(Structure.java:397)
at com.sun.jna.Structure.newInstance(Structure.java:1873)
at com.sun.jna.Structure.newInstance(Structure.java:1857)
at com.sun.jna.Structure.size(Structure.java:1135)
at com.sun.jna.Native.getNativeSize(Native.java:1354)
at com.sun.jna.Structure.getNativeSize(Structure.java:2253)
at com.sun.jna.Structure.getNativeSize(Structure.java:2243)
at com.sun.jna.Structure.validateField(Structure.java:1209)
at com.sun.jna.Structure.validateFields(Structure.java:1222)
at com.sun.jna.Structure.<init>(Structure.java:200)
at com.sun.jna.Structure.<init>(Structure.java:193)
at com.sun.jna.Structure.<init>(Structure.java:180)
at com.sun.jna.Structure.<init>(Structure.java:172)
at org.rococoa.cocoa.foundation.NSRect.<init>(NSRect.java:39)
at org.rpa.engine.instruction.desktop.MacUtil$MacWindow.setFrame(MacUtil.java:157)
at org.rpa.engine.instruction.desktop.DesktopApp.setFrame(DesktopApp.java:232)
at instruction.desktop.RobotDesktopTest.testsetFrame(RobotDesktopTest.java:64)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1540)
The text was updated successfully, but these errors were encountered:
java.lang.Error: Structure.getFieldOrder() on class org.rococoa.cocoa.foundation.NSPoint does not provide enough names [0] ([]) to match declared fields [2] ([x, y])
The text was updated successfully, but these errors were encountered: