Thomas Mueller created OAK-9092:
-----------------------------------

             Summary: Exception root cause is swallowed
                 Key: OAK-9092
                 URL: https://issues.apache.org/jira/browse/OAK-9092
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: blob
            Reporter: Thomas Mueller


The root cause of the problem (the IOException stack trace / message) is 
swallowed here: org.apache.jackrabbit.oak.plugins.blob.FileCache

{noformat}
    private void put(String key, File file, boolean copy) {
        try {
            File cached = DataStoreCacheUtils.getFile(key, cacheRoot);
            if (!cached.exists()) {
                if (copy) {
                    FileUtils.copyFile(file, cached);
                } else {
                    FileUtils.moveFile(file, cached);
                }
            }
            cache.put(key, cached);
        } catch (IOException e) {
            LOG.error("Exception adding id [{}] with file [{}] to cache", key, 
file);
        }
    }
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to