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
When running reader.getFile(Formats.png, ...) on Windows 11, I get this exception: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(super_native_extensions_error, virtual file receive error: item not found, virtualFileReceiveError, null)
This doesn't occur if I set allowVirtualFiles to false in the reader.getFile call.
Code snippet
final reader =awaitClipboardReader.readClipboard();
final futures =<Future>[];
for (SimpleFileFormat format in formats) {
if (!reader.canProvide(format)) continue;
reader.getFile(format, (file) {
futures.add(processFile(file, format));
});
}
awaitFuture.wait(futures);
the processFile function never gets run since reader.getFile throws without running the onFile callback.
formats is a list of image formats (Formats.jpeg, Formats.png, etc) but when I tested with just Formats.png the error still occured.
The text was updated successfully, but these errors were encountered:
When running
reader.getFile(Formats.png, ...)
on Windows 11, I get this exception:[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(super_native_extensions_error, virtual file receive error: item not found, virtualFileReceiveError, null)
This doesn't occur if I set
allowVirtualFiles
to false in thereader.getFile
call.Code snippet
processFile
function never gets run sincereader.getFile
throws without running theonFile
callback.formats
is a list of image formats (Formats.jpeg
,Formats.png
, etc) but when I tested with justFormats.png
the error still occured.The text was updated successfully, but these errors were encountered: