2012-08-14 8 views
0

아무도 모릅니다. 왜 이런 일이 일어날 수 있습니까? TFile.umount()를 호출 할 때 오류가 발생했습니다 :Truezip umout()이 실패했습니다. "임시 파일을 삭제할 수 없습니다."

 
de.schlichtherle.truezip.fs.FsSyncException: part:file:/C:/Data/Backup/New%20Backups/F20120805T070000Z.part!/ 
    at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.close(FsTargetArchiveController.java:623) 
    at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.sync0(FsTargetArchiveController.java:472) 
    at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.sync(FsTargetArchiveController.java:460) 
    at de.schlichtherle.truezip.fs.archive.FsContextController.sync(FsContextController.java:236) 
    at de.schlichtherle.truezip.fs.FsResourceController.sync(FsResourceController.java:84) 
    at de.schlichtherle.truezip.fs.FsCacheController.sync(FsCacheController.java:220) 
    at de.schlichtherle.truezip.fs.FsDecoratingController.sync(FsDecoratingController.java:148) 
    at de.schlichtherle.truezip.fs.FsLockController$1Sync.call(FsLockController.java:381) 
    at de.schlichtherle.truezip.fs.FsLockController$1Sync.call(FsLockController.java:370) 
    at de.schlichtherle.truezip.fs.FsLockController.locked(FsLockController.java:166) 
    at de.schlichtherle.truezip.fs.FsLockController.writeLocked(FsLockController.java:108) 
    at de.schlichtherle.truezip.fs.FsLockController.sync(FsLockController.java:394) 
    at de.schlichtherle.truezip.fs.FsDecoratingController.sync(FsDecoratingController.java:148) 
    at de.schlichtherle.truezip.fs.archive.zip.KeyManagerController.sync(KeyManagerController.java:125) 
    at de.schlichtherle.truezip.fs.FsDecoratingController.sync(FsDecoratingController.java:148) 
    at de.schlichtherle.truezip.fs.FsFalsePositiveController.sync(FsFalsePositiveController.java:516) 
    at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:139) 
    at de.schlichtherle.truezip.fs.FsManager.sync(FsManager.java:100) 
    at de.schlichtherle.truezip.file.TVFS.sync(TVFS.java:284) 
    at de.schlichtherle.truezip.file.TVFS.sync(TVFS.java:231) 
    at de.schlichtherle.truezip.file.TFile.sync(TFile.java:949) 
    at de.schlichtherle.truezip.file.TFile.umount(TFile.java:997) 
. 
. 
. 
Caused by: java.io.IOException: C:\Data\Backup\New Backups\F20120805T070000Z.part.8228029877339677208.tmp (cannot delete temporary file) 
    at de.schlichtherle.truezip.fs.file.TempFilePool$Buffer.pool(TempFilePool.java:80) 
    at de.schlichtherle.truezip.fs.file.TempFilePool$Buffer.release(TempFilePool.java:70) 
    at de.schlichtherle.truezip.fs.file.FileOutputSocket.release(FileOutputSocket.java:126) 
    at de.schlichtherle.truezip.fs.file.FileOutputSocket.close(FileOutputSocket.java:97) 
    at de.schlichtherle.truezip.fs.file.FileOutputSocket.access$100(FileOutputSocket.java:28) 
    at de.schlichtherle.truezip.fs.file.FileOutputSocket$1OutputStream.close(FileOutputSocket.java:153) 
    at de.schlichtherle.truezip.io.DecoratingOutputStream.close(DecoratingOutputStream.java:65) 
    at de.schlichtherle.truezip.zip.RawZipOutputStream.close(RawZipOutputStream.java:696) 
    at de.schlichtherle.truezip.fs.archive.zip.ZipOutputShop.close(ZipOutputShop.java:250) 
    at de.schlichtherle.truezip.fs.archive.FsMultiplexedOutputShop.close(FsMultiplexedOutputShop.java:169) 
    at de.schlichtherle.truezip.socket.DisconnectingOutputShop.close(DisconnectingOutputShop.java:107) 
    at de.schlichtherle.truezip.socket.LockOutputShop.close(LockOutputShop.java:68) 
    at de.schlichtherle.truezip.fs.archive.FsTargetArchiveController.close(FsTargetArchiveController.java:618) 
    ... 26 more 

나는 tmp 파일을 삭제할 수 없다는 것을 알고 있습니다. 그러나 이것이 왜 일어날 수 있 었는가?

+0

중복 확인 : 최신 버전 TrueZIP 7.6을 사용하십시오. –

답변

0

디렉토리를 동시에 보았습니까? 예 : Windows 탐색기에서? 일부 탐색기 확장은 검사를 위해 파일에 액세스합니다. 이것이 동시에 발생하면 JVM은 임시 파일을 삭제할 수 없으므로 임시 파일을 삭제할 수 없습니다.

Java 6에서 실행 중임을 알 수 있습니다. Java 7로 전환하면 내 가정을 확인하는 데 도움이되는보다 자세한 예외가 발생합니다.

관련 문제