org.apache.commons.vfs.FileSystemException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This is so strange i tested it in the current trunk build ( 31st Jan ) and still fails! Here is the log entry. I'll attach a pic of the job too. You'll notice the logging says "Set variables" for the error which is coming from the delete files step! The Set variables actually is in one of the subtransformations, so the logging is wrong. In fact its not even in the previous job entry, because the previous job entry is a job not a transformation. Let me know if you need the actual job. 2014/02/05 09:32:01 - AIF - Starting entry [Delete tmp files] 2014/02/05 09:32:01 - Set variables - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-01-31 11.58.48 by tomcat) : Could not process [C:\Users\DKEELE~1.AEL\AppData\Local\Temp\], exception: Could not delete "file:///C:/Users/DKEELE~1.AEL/AppData/Local/Temp/out1652333169194817710.tmp". 2014/02/05 09:32:01 - Set variables - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-01-31 11.58.48 by tomcat) : org.apache.commons.vfs.FileSystemException: Could not delete "file:///C:/Users/DKEELE~1.AEL/AppData/Local/Temp/out1652333169194817710.tmp". 2014/02/05 09:32:01 - Set variables - at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) 2014/02/05 09:32:01 - Set variables - at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:267) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:232) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:714) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:530) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.run(Job.java:422) 2014/02/05 09:32:01 - Set variables - Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "C:\Users\DKEELE~1.AEL\AppData\Local\Temp\out1652333169194817710.tmp". 2014/02/05 09:32:01 - Set variables - at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) 2014/02/05 09:32:01 - Set variables - ... 12 more
    via by Dan Keeley (codek),
  • This is so strange i tested it in the current trunk build ( 31st Jan ) and still fails! Here is the log entry. I'll attach a pic of the job too. You'll notice the logging says "Set variables" for the error which is coming from the delete files step! The Set variables actually is in one of the subtransformations, so the logging is wrong. In fact its not even in the previous job entry, because the previous job entry is a job not a transformation. Let me know if you need the actual job. 2014/02/05 09:32:01 - AIF - Starting entry [Delete tmp files] 2014/02/05 09:32:01 - Set variables - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-01-31 11.58.48 by tomcat) : Could not process [C:\Users\DKEELE~1.AEL\AppData\Local\Temp\], exception: Could not delete "file:///C:/Users/DKEELE~1.AEL/AppData/Local/Temp/out1652333169194817710.tmp". 2014/02/05 09:32:01 - Set variables - ERROR (version TRUNK-SNAPSHOT, build 1 from 2014-01-31 11.58.48 by tomcat) : org.apache.commons.vfs.FileSystemException: Could not delete "file:///C:/Users/DKEELE~1.AEL/AppData/Local/Temp/out1652333169194817710.tmp". 2014/02/05 09:32:01 - Set variables - at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) 2014/02/05 09:32:01 - Set variables - at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:267) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:232) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:714) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:856) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.execute(Job.java:530) 2014/02/05 09:32:01 - Set variables - at org.pentaho.di.job.Job.run(Job.java:422) 2014/02/05 09:32:01 - Set variables - Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "C:\Users\DKEELE~1.AEL\AppData\Local\Temp\out1652333169194817710.tmp". 2014/02/05 09:32:01 - Set variables - at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) 2014/02/05 09:32:01 - Set variables - ... 12 more
    via by Dan Keeley (codek),
  • Occurs that a plugin created through sparkl couldn't be deleted because the cpf.core lib of the plugin is locked, hence the application couldn't delete cpf.core lib and the plugin stills visible in Sparkl dashboard, and we have to delete the plugin manually. The error in log fails: {code} 2015/03/05 16:55:05 - deletePlugin - Start of job execution 2015/03/05 16:55:05 - deletePlugin - Starting entry [Plugin ID not null?] 2015/03/05 16:55:05 - deletePlugin - Starting entry [Checks if ${pluginDir} exist] 2015/03/05 16:55:05 - deletePlugin - Starting entry [Delete ${pluginDir}] 2015/03/05 16:55:05 - Delete ${pluginDir} - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Could not delete folder [/C:/Pentaho/biserver-ce/pentaho-solutions/system//atest], exception: Could not delete "file:///C:/Pentaho/biserver-ce/pentaho-solutions/system/atest/lib/cpf-core-5.3.0.0-213.jar". 2015/03/05 16:55:05 - Delete ${pluginDir} - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : org.apache.commons.vfs.FileSystemException: Could not delete "file:///C:/Pentaho/biserver-ce/pentaho-solutions/system/atest/lib/cpf-core-5.3.0.0-213.jar". 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.deleteFolder(JobEntryDeleteFolders.java:320) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.execute(JobEntryDeleteFolders.java:244) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:716) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:859) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:859) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:859) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:532) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.run(Job.java:424) 2015/03/05 16:55:05 - Delete ${pluginDir} - Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "C:\Pentaho\biserver-ce\pentaho-solutions\system\atest\lib\cpf-core-5.3.0.0-213.jar". 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) 2015/03/05 16:55:05 - Delete ${pluginDir} - ... 10 more 2015/03/05 16:55:05 - _getPluginMetadata - Dispatching started for transformation [_getPluginMetadata] {code}
    via by Emanuel Teixeira,
  • 2014/02/14 12:15:13 - download_and_install_plugin - Starting entry [Delete Original] 2014/02/14 12:15:13 - download_and_install_plugin - exec(8, 0, Delete Original.0) 2014/02/14 12:15:13 - Download Plugin - Starting job entry 2014/02/14 12:15:13 - Download Plugin - Processando pasta [D:\BI_5_0\biserver-ce\pentaho-solutions\system/pentaho-cdf] 2014/02/14 12:15:13 - Download Plugin - ERROR (version 5.0.1-stable.148b6fef6a996547f0a83bc49a869d75ef55b8ca, build 1 from 2013-11-15_14-00-42 by buildguy) : NÒo foi possÝvel apagar a pasta [D:\BI_5_0\biserver-ce\pentaho-solutions\system/pentaho-cdf], exceþÒo: Could not delete "file:///D:/BI_5_0/biserver-ce/pentaho-solutions/system/pentaho-cdf/lib/ant-contrib-1.0b3.jar". 2014/02/14 12:15:13 - Download Plugin - ERROR (version 5.0.1-stable.148b6fef6a996547f0a83bc49a869d75ef55b8ca, build 1 from 2013-11-15_14-00-42 by buildguy) : org.apache.commons.vfs.FileSystemException: Could not delete "file:///D:/BI_5_0/biserver-ce/pentaho-solutions/system/pentaho-cdf/lib/ant-contrib-1.0b3.jar". 2014/02/14 12:15:13 - Download Plugin - at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) 2014/02/14 12:15:13 - Download Plugin - at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.deleteFolder(JobEntryDeleteFolders.java:316) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.execute(JobEntryDeleteFolders.java:244) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:678) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:500) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.run(Job.java:407) 2014/02/14 12:15:13 - Download Plugin - Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "D:\BI_5_0\biserver-ce\pentaho-solutions\system\pentaho-cdf\lib\ant-contrib-1.0b3.jar". 2014/02/14 12:15:13 - Download Plugin - at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) 2014/02/14 12:15:13 - Download Plugin - ... 15 more 2014/02/14 12:15:13 - Download Plugin - ======================================= 2014/02/14 12:15:13 - Download Plugin - N·mero de erros: 1 2014/02/14 12:15:13 - Download Plugin - N·mero de pastas apagadas = 0 2014/02/14 12:15:13 - Download Plugin - ======================================= 2014/02/14 12:15:13 - download_and_install_plugin - Finished job entry [Delete Original] (result=[false]) 2014/02/14 12:15:13 - download_and_install_plugin - Finished job entry [Create Backup] (result=[false]) 2014/02/14 12:15:13 - download_and_install_plugin - Finished job entry [Does Plugin Already Exist?] (result=[false]) If I try to delete file from the folder I get a message error saying that the file is opended by Java.
    via by Kleyson Rios,
  • 2014/02/14 12:15:13 - download_and_install_plugin - Starting entry [Delete Original] 2014/02/14 12:15:13 - download_and_install_plugin - exec(8, 0, Delete Original.0) 2014/02/14 12:15:13 - Download Plugin - Starting job entry 2014/02/14 12:15:13 - Download Plugin - Processando pasta [D:\BI_5_0\biserver-ce\pentaho-solutions\system/pentaho-cdf] 2014/02/14 12:15:13 - Download Plugin - ERROR (version 5.0.1-stable.148b6fef6a996547f0a83bc49a869d75ef55b8ca, build 1 from 2013-11-15_14-00-42 by buildguy) : NÒo foi possÝvel apagar a pasta [D:\BI_5_0\biserver-ce\pentaho-solutions\system/pentaho-cdf], exceþÒo: Could not delete "file:///D:/BI_5_0/biserver-ce/pentaho-solutions/system/pentaho-cdf/lib/ant-contrib-1.0b3.jar". 2014/02/14 12:15:13 - Download Plugin - ERROR (version 5.0.1-stable.148b6fef6a996547f0a83bc49a869d75ef55b8ca, build 1 from 2013-11-15_14-00-42 by buildguy) : org.apache.commons.vfs.FileSystemException: Could not delete "file:///D:/BI_5_0/biserver-ce/pentaho-solutions/system/pentaho-cdf/lib/ant-contrib-1.0b3.jar". 2014/02/14 12:15:13 - Download Plugin - at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) 2014/02/14 12:15:13 - Download Plugin - at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.deleteFolder(JobEntryDeleteFolders.java:316) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.execute(JobEntryDeleteFolders.java:244) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:678) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:815) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.execute(Job.java:500) 2014/02/14 12:15:13 - Download Plugin - at org.pentaho.di.job.Job.run(Job.java:407) 2014/02/14 12:15:13 - Download Plugin - Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "D:\BI_5_0\biserver-ce\pentaho-solutions\system\pentaho-cdf\lib\ant-contrib-1.0b3.jar". 2014/02/14 12:15:13 - Download Plugin - at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) 2014/02/14 12:15:13 - Download Plugin - ... 15 more 2014/02/14 12:15:13 - Download Plugin - ======================================= 2014/02/14 12:15:13 - Download Plugin - N·mero de erros: 1 2014/02/14 12:15:13 - Download Plugin - N·mero de pastas apagadas = 0 2014/02/14 12:15:13 - Download Plugin - ======================================= 2014/02/14 12:15:13 - download_and_install_plugin - Finished job entry [Delete Original] (result=[false]) 2014/02/14 12:15:13 - download_and_install_plugin - Finished job entry [Create Backup] (result=[false]) 2014/02/14 12:15:13 - download_and_install_plugin - Finished job entry [Does Plugin Already Exist?] (result=[false]) If I try to delete file from the folder I get a message error saying that the file is opended by Java.
    via by Kleyson Rios,
  • Occurs that a plugin created through sparkl couldn't be deleted because the cpf.core lib of the plugin is locked, hence the application couldn't delete cpf.core lib and the plugin stills visible in Sparkl dashboard, and we have to delete the plugin manually. The error in log fails: {code} 2015/03/05 16:55:05 - deletePlugin - Start of job execution 2015/03/05 16:55:05 - deletePlugin - Starting entry [Plugin ID not null?] 2015/03/05 16:55:05 - deletePlugin - Starting entry [Checks if ${pluginDir} exist] 2015/03/05 16:55:05 - deletePlugin - Starting entry [Delete ${pluginDir}] 2015/03/05 16:55:05 - Delete ${pluginDir} - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Could not delete folder [/C:/Pentaho/biserver-ce/pentaho-solutions/system//atest], exception: Could not delete "file:///C:/Pentaho/biserver-ce/pentaho-solutions/system/atest/lib/cpf-core-5.3.0.0-213.jar". 2015/03/05 16:55:05 - Delete ${pluginDir} - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : org.apache.commons.vfs.FileSystemException: Could not delete "file:///C:/Pentaho/biserver-ce/pentaho-solutions/system/atest/lib/cpf-core-5.3.0.0-213.jar". 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.deleteFolder(JobEntryDeleteFolders.java:320) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.entries.deletefolders.JobEntryDeleteFolders.execute(JobEntryDeleteFolders.java:244) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:716) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:859) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:859) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:859) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.execute(Job.java:532) 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.pentaho.di.job.Job.run(Job.java:424) 2015/03/05 16:55:05 - Delete ${pluginDir} - Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "C:\Pentaho\biserver-ce\pentaho-solutions\system\atest\lib\cpf-core-5.3.0.0-213.jar". 2015/03/05 16:55:05 - Delete ${pluginDir} - at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) 2015/03/05 16:55:05 - Delete ${pluginDir} - ... 10 more 2015/03/05 16:55:05 - _getPluginMetadata - Dispatching started for transformation [_getPluginMetadata] {code}
    via by Emanuel Teixeira,
    • org.apache.commons.vfs.FileSystemException: Could not delete "file:///C:/Users/DKEELE~1.AEL/AppData/Local/Temp/out1652333169194817710.tmp". at org.apache.commons.vfs.provider.AbstractFileObject.deleteSelf(Unknown Source) at org.apache.commons.vfs.provider.AbstractFileObject.delete(Unknown Source) at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:267) at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:232) at org.pentaho.di.job.Job.execute(Job.java:714) at org.pentaho.di.job.Job.execute(Job.java:856) at org.pentaho.di.job.Job.execute(Job.java:856) at org.pentaho.di.job.Job.execute(Job.java:856) at org.pentaho.di.job.Job.execute(Job.java:856) at org.pentaho.di.job.Job.execute(Job.java:856) at org.pentaho.di.job.Job.execute(Job.java:530) at org.pentaho.di.job.Job.run(Job.java:422) Caused by: org.apache.commons.vfs.FileSystemException: Could not delete "C:\Users\DKEELE~1.AEL\AppData\Local\Temp\out1652333169194817710.tmp". at org.apache.commons.vfs.provider.local.LocalFile.doDelete(Unknown Source) ... 12 more
    No Bugmate found.