java-native-access/jna
Documented errors, page 3 of 4. Back to java-native-access/jna
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Unable to cast to CFString. Type ID | exception | error | macos, corefoundation, classcastexception, native |
| Window masking is not available | exception | warning | java, windowutils, masking, unsupported |
| Can't create an instance of | validation | error | jna, reflection, instantiation, constructor |
| Wrong array size ! | validation | error | com, typedesc, arraydesc, invalid-argument |
| Attempting to retrieve VisualID from a null Visual | exception | error | x11, unix, null-pointer, visual |
| Unexpectedly unable to write to field '" + field.getName()… | exception | error | reflection, jna, illegal-access, security |
| Got a WMI timeout when infinite wait was specified. This… | exception | error | windows, wmi, jna, timeout |
| Win32Exception (error code from GetLastError after… | error_code | error | windows, printing, win32, native |
| Reading array of " + cls + " from memory not supported | exception | error | java, jna, native-memory, arrays |
| JNA: Unhandled arg conversion type | console | warning | jna, native, callback, argument-conversion |
| Unexpected registry type | exception | error | windows-registry, type-mismatch, reg-dword, jna |
| Win32Exception from native GetLastError after LoadResource… | error_code | error | win32, jni, native, resources |
| Move to trash aborted | exception | warning | win32, recycle-bin, user-abort |
| Structure.getFieldOrder() on " + getClass() + " returns… | exception | error | jna, structure, field-order, metadata |
| Cannot send event. | exception | error | x11, xsendevent, client-message, ewmh |
| Function declared Structure[] at parameter but array of was… | validation | error | jna, structure, by-reference, illegal-argument |
| ComObject must define a value for either clsId or progId | exception | error | java, com, annotation, clsid, progid |
| Failed to get printer change notification | exception | error | windows, printing, handle, runtime-exception |
| Byte boundary must be positive | validation | error | jna, memory, alignment, invalid-argument |
| This X11 display does not provide a 32-bit visual | exception | error | |
| FileMonitor not implemented for " + os | exception | error | java, platform, file-monitor |
| No method method.getName() with signature sig in cls | exception | error | jna, unsatisfied-link, native-symbol, signature-mismatch |
| Win32Exception from native GetLastError when SizeofResource… | error_code | error | win32, jni, native, resources |
| Structure size must be greater than zero: " + size | exception | error | jna, structure, size-validation, invalid-argument |
| Bounds exceeds available space : size= | validation | error | jna, native-memory, buffer-overflow, bounds-check |
ret Move to trash failed | exception | error | win32, recycle-bin, shfileoperation |
| Win32Exception from native GetLastError when… | error_code | error | win32, jna, windows, thread-priority, native-call |
| Ras32Exception(err) | error_code | error | windows, ras, vpn, jni |
| StringFromGUID2 | error_code | error | windows, com, guid, jni |
| Unable to continue the service | exception | error | windows, service, state |
| Unrecognized calling convention | validation | error | jna, calling-convention, illegal-argument |
| Attempt to write to read-only field '" + field.getName() +… | exception | error | reflection, jna, final-field, read-only |
| Window width and/or height were 0 even though GetWindowRect… | exception | error | java, win32, gdi, screenshot, window |
| No native windows when headless | exception | error | jna, headless, awt, environment |
| This VM does not support Structures with final fields… | exception | error | reflection, jna, final-field, vm-compatibility |
| Function name may not be null | exception | error | jna, null-argument, function-lookup |
| Invalid library name | validation | error | jna, native-library, library-loading, invalid-name |
| No support (yet) for " + System.getProperty("os.name") | exception | error | java, platform, keyboard, unsupported |
| Can't query subwindows | exception | error | x11, xquerytree, window-destroyed, stale-handle |
| Byte boundary must be a power of two | validation | error | jna, native-memory, alignment, power-of-two |
| must be set from int/int[] | validation | error | windows-eventlog, jna, type-mismatch |
| X Display is null | exception | error | x11, linux, null-check, display |
| Array fields must be initialized | exception | error | jna, structure, array, null, initialization |
| Nested Structure arrays must use a derived Structure type… | exception | error | jna, structure, array, native-size |
| No mapping for %02x | validation | error | windows, keyboard, enum |
| Interface ( ) of library= does not extend Library | validation | error | jna, library-mapping, illegal-argument, interface |
klib.GetLastError() Unable to open ( ) | exception | error | win32, file-monitoring, createfile |
| No field named in | exception | error | jna, union, illegal-argument, field-name |
| The query's property enum has no values. | validation | error | windows, wmi, jna, enum |
| No trash location found (define fileutils.trash to be the… | exception | error | java, filesystem, trash, io |
| SECURITY_DESCRIPTOR_RELATIVE does not contain DACL | validation | error | windows, security-descriptor, acl, null-check, jna |
| Failed to load library 'libraryName' | exception | critical | jna, native-library, unsatisfiedlinkerror, library-loading |
| No such field: " + name | exception | error | jna, structure, field-lookup, invalid-argument |
| Return type does not match result | validation | error | jna, class-cast, type-mismatch, return-type |
| Structure Callback field '" + field.getName() + "' must be… | exception | error | jna, structure, callback, interface |
| Exception reading field '" + f.getName() + "' in " +… | exception | error | jna, structure, reflection, field-access |
| queryInterface: Interface must define a value for iid via… | exception | error | com, annotation, iid, queryinterface |
| does not implement an interface | validation | error | jna, native-library, interface, library-loading |
| Cannot get property. | exception | error | x11, xgetwindowproperty, property, badatom |
| Need an initialized array | exception | error | jna, pointer, array, structure, uninitialized |
| Unsupported return type | validation | error | jna, unsupported-return-type, illegal-argument |
| must be set from BOOL/BOOL[] | validation | error | windows-eventlog, jna, type-mismatch |
| Structures require bidirectional type conversion for " +… | exception | error | jna, structure, type-mapper, conversion |
| No results after ms. | exception | error | windows, wmi, jna, timeout |
| Library has been unloaded | exception | error | jna, use-after-dispose, library-unload, lifecycle |
| Function declared Structure[] at parameter but element is… | validation | error | jna, structure, by-value, illegal-argument |
| Component must be heavyweight | exception | error | jna, awt, lightweight-component, window-handle |
| Object is not a properly initialized Library interface… | exception | error | jna, proxy, invocation-handler, initialization |
| Type not supported | exception | error | com, safearray, vartype, unsupported-type |
| DACL is invalid | validation | error | windows, security-descriptor, acl-validation, jna |
| Function address may not be null | validation | error | jna, null-pointer, native |
| The following files could not be trashed | exception | error | macos, file-io, trash, ioexception |
| library object passed to getNativeLibrary in not a proxy | exception | error | jna, illegal-argument, proxy, type-mismatch |
| Allocation size must be greater than zero | validation | error | jna, memory, allocation, invalid-size |
| RuntimeException(e) | exception | error | |
| Unsupported array argument type | validation | error | jna, array, unsupported-argument-type, illegal-argument |
| Writing array of " + cls + " to memory not supported | exception | error | java, jna, native-memory, arrays |
| Type must derive from NativeMapped.class | exception | error | jna, type-mapping, invalid-argument, nativemapped |
| Error looking up 'symbolName': e.getMessage() | exception | error | jna, symbol-lookup, unsatisfiedlinkerror, native-library |
| Unsupported size | validation | error | jna, integertype, unsupported-size, native-types |
| Invalid guid length: | validation | error | java, win32, guid, string-parsing, validation |
| Structure array must have non-zero length | validation | error | jna, empty-array, structure, illegal-argument |
| Component must be visible | exception | error | jna, awt, x11, visibility, legacy-jvm |
| Can't parse array content - type not supported | exception | error | com, safearray, vartype, unsupported-type |
| Group PSID is invalid | validation | error | windows, security-descriptor, sid-validation, jna |
| null passed to getNativeLibrary | exception | error | jna, null-argument, illegal-argument |
| Unable to cast to CFBoolean. Type ID | exception | error | macos, corefoundation, classcastexception, native |
| Failed to enumerate results. | exception | error | windows, wmi, jna, hresult |
| This platform is not supported, yet. | exception | warning | java, windowutils, icon, unsupported |
| KeyboardUtils requires a keyboard | exception | error | java, headless, keyboard, awt |
| must be set from short/short[] | validation | error | windows-eventlog, jna, type-mismatch |
| Cannot allocate bytes | exception | critical | jna, memory, out-of-memory, malloc |
| Unable to pause the service | exception | error | windows, service, state |
| Device context did not release properly. | exception | warning | java, win32, gdi, resource-leak, device-context |
| Failed to create WbemLocator object. | exception | critical | windows, wmi, com, jna, initialization |
| Component must be heavyweight: " + w | exception | error | java, swing, windowutils, illegal-argument |
| SACL is invalid | validation | error | windows, security-descriptor, acl-validation, jna |
| String initializer must be non-null | exception | error | jna, wstring, null-pointer, native-string |
| Unable to cast to CFArray. Type ID | exception | error | macos, corefoundation, classcastexception, native |
| SECURITY_DESCRIPTOR_RELATIVE does not contain group | validation | error | windows, security-descriptor, null-check, jna |