FileSystemException:/path/to/file: Unable to get size of extended attribute 'net.filebot.metadata': No data available

This commit is contained in:
Reinhard Pointner 2017-04-02 02:29:15 +08:00
parent 761a700db0
commit 972c698380
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ import static net.filebot.Logging.*;
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.file.FileSystemException;
import java.nio.file.Files;
import java.nio.file.NoSuchFileException;
import java.nio.file.Path;
import java.nio.file.attribute.UserDefinedFileAttributeView;
import java.util.AbstractMap;
@ -55,7 +55,7 @@ public class MetaAttributeView extends AbstractMap<String, String> {
buffer.flip();
return UTF_8.decode(buffer).toString();
} catch (NoSuchFileException e) {
} catch (FileSystemException e) {
// attribute does not exist
return null;
}