org.apache.commons.vfs2.FileSystemException: Could not find files in "file:///c:/temp".

Pentaho BI Platform Tracking | Chris Deptula | 7 months ago
  1. 0

    If you try to use the delete files job entry to delete files in a folder, but your user does not have permission to any sub-folder at any level deep, the job will fail with the error below. This happens even if you do not have Include Sub-Folders checked. If I am not trying to delete files out of sub-folders it should not matter that I do not have permission to the sub-folders. {noformat} 2016/04/26 10:33:50 - Delete files - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Could not process [c:\temp], exception: Could not find files in "file:///c:/temp". 2016/04/26 10:33:50 - Delete files - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.apache.commons.vfs2.FileSystemException: Could not find files in "file:///c:/temp". 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1092) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:477) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:271) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:236) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.execute(Job.java:723) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.execute(Job.java:864) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.execute(Job.java:545) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.run(Job.java:435) 2016/04/26 10:33:50 - Delete files - Caused by: org.apache.commons.vfs2.FileNotFolderException: Could not list the contents of "file:///c:/temp/Download/test" because it is not a folder. 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1201) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:130) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:134) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:134) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1087) 2016/04/26 10:33:50 - Delete files - ... 7 more {noformat}

    Pentaho BI Platform Tracking | 7 months ago | Chris Deptula
    org.apache.commons.vfs2.FileSystemException: Could not find files in "file:///c:/temp".
  2. 0

    If you try to use the delete files job entry to delete files in a folder, but your user does not have permission to any sub-folder at any level deep, the job will fail with the error below. This happens even if you do not have Include Sub-Folders checked. If I am not trying to delete files out of sub-folders it should not matter that I do not have permission to the sub-folders. {noformat} 2016/04/26 10:33:50 - Delete files - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Could not process [c:\temp], exception: Could not find files in "file:///c:/temp". 2016/04/26 10:33:50 - Delete files - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.apache.commons.vfs2.FileSystemException: Could not find files in "file:///c:/temp". 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1092) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:477) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:271) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:236) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.execute(Job.java:723) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.execute(Job.java:864) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.execute(Job.java:545) 2016/04/26 10:33:50 - Delete files - at org.pentaho.di.job.Job.run(Job.java:435) 2016/04/26 10:33:50 - Delete files - Caused by: org.apache.commons.vfs2.FileNotFolderException: Could not list the contents of "file:///c:/temp/Download/test" because it is not a folder. 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1201) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:130) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:134) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:134) 2016/04/26 10:33:50 - Delete files - at org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1087) 2016/04/26 10:33:50 - Delete files - ... 7 more {noformat}

    Pentaho BI Platform Tracking | 7 months ago | Chris Deptula
    org.apache.commons.vfs2.FileSystemException: Could not find files in "file:///c:/temp".
  3. 0

    Random error 'Error copying gems' while add remote SDK

    YouTrack | 2 years ago
    org.apache.commons.vfs2.FileSystemException: Could not delete "file:///Users/jetbrains/Library/Caches/RubyMine70/ruby_stubs/1771169509/-1096086087/gems/thor-0.19.1/spec/fixtures/doc/excluding/%25file_name%25.rb.tt".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Files can be left over in a node scratch dir after a kill

    GitHub | 9 months ago | fviale
    org.objectweb.proactive.extensions.dataspaces.exceptions.FileSystemException:
  6. 0

    org.apache.commons.vfs2.FileNotFolderException errot navigating through folder using commons vfs 2.0

    Stack Overflow | 2 years ago | user3315036
    org.apache.commons.vfs2.FileNotFolderException: Could not list the contents of "file:///c:/Documents and Settings" because it is not a folder.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.vfs2.FileNotFolderException

      Could not list the contents of "file:///c:/temp/Download/test" because it is not a folder.

      at org.apache.commons.vfs2.provider.AbstractFileObject.getChildren()
    2. Commons VFS Core
      AbstractFileObject.delete
      1. org.apache.commons.vfs2.provider.AbstractFileObject.getChildren(AbstractFileObject.java:1201)
      2. org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:130)
      3. org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:134)
      4. org.apache.commons.vfs2.provider.AbstractFileObject.traverse(AbstractFileObject.java:134)
      5. org.apache.commons.vfs2.provider.AbstractFileObject.findFiles(AbstractFileObject.java:1087)
      6. org.apache.commons.vfs2.provider.AbstractFileObject.delete(AbstractFileObject.java:477)
      6 frames
    3. org.pentaho.di
      Job.run
      1. org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.ProcessFile(JobEntryDeleteFiles.java:271)
      2. org.pentaho.di.job.entries.deletefiles.JobEntryDeleteFiles.execute(JobEntryDeleteFiles.java:236)
      3. org.pentaho.di.job.Job.execute(Job.java:723)
      4. org.pentaho.di.job.Job.execute(Job.java:864)
      5. org.pentaho.di.job.Job.execute(Job.java:545)
      6. org.pentaho.di.job.Job.run(Job.java:435)
      6 frames